Dear Josh,
I'm getting some errors with mailinabox.
When using the deafult setting, I was facing this error in my mail.log:
postfix/smtpd[2657]: fatal: parameter "smtpd_recipient_restrictions": specify at least one working instance of: check_relay_domains, reject_unauth_destination, reject, defer or defer_if_permit
To try to fix that I changed to my main.conf to:
smtpd_recipient_restrictions=permit_sasl_authenticated,permit_mynetworks,reject_rbl_client,reject_unauth_destination zen.spamhaus.org,check_policy_service inet:127.0.0.1:10023
At this time, no error at mail.log:
postfix/master[2842]: daemon started -- version 2.9.6, configuration /etc/postfix
But when sending an e-mail from my GMail account to my own mail server I'm getting:
connect from mail-yh0-f50.google.com[209.85.213.50]
Dec 13 10:31:48 ip-172-31-40-169 postfix/smtpd[2875]: warning: unknown smtpd restriction: "zen.spamhaus.org"
Dec 13 10:31:48 ip-172-31-40-169 postfix/smtpd[2875]: NOQUEUE: reject: RCPT from mail-yh0-f50.google.com[209.85.213.50]: 451 4.3.5 Server configuration error; from=[email protected] to=XXX@XXX proto=ESMTP helo=<mail-yh0-f50.google.com>
Dec 13 10:31:48 ip-172-31-40-169 postfix/cleanup[2879]: 79194160D38: message-id=[email protected]
Dec 13 10:31:48 ip-172-31-40-169 postfix/qmgr[2846]: 79194160D38: from=[email protected], size=1352, nrcpt=1 (queue active)
Dec 13 10:31:48 ip-172-31-40-169 postfix/smtpd[2875]: disconnect from mail-yh0-f50.google.com[209.85.213.50]
Dec 13 10:31:48 ip-172-31-40-169 postfix/smtp[2880]: initializing the client-side TLS engine
Dec 13 10:31:48 ip-172-31-40-169 postfix/smtp[2880]: 79194160D38: to=[email protected], orig_to=, relay=none, delay=0.05, delays=0.03/0.01/0/0, dsn=5.4.6, status=bounced (mail for ip-172-31-40-169.ec2.internal loops back to myself)
Dec 13 10:31:48 ip-172-31-40-169 postfix/bounce[2881]: warning: 79194160D38: undeliverable postmaster notification discarded
Dec 13 10:31:48 ip-172-31-40-169 postfix/qmgr[2846]: 79194160D38: removed
Do you know how to fix it?
Thanks in advanced,
best regards and congrats!