skavoovie wrote:
Post your relevant portions of your main.cf (e.g. smtpd_receipient_restrictions, and other client restriction parameters configured), sample from your sender_access file, and log snippet from delivery not blocked.
main.cf
Code:
smtpd_delay_reject = yes
smtpd_helo_required = no
smtpd_helo_restrictions =
permit_mynetworks,
permit_sasl_authenticated,
#reject_non_fqdn_helo_hostname,
#reject_invalid_helo_hostname,
permit
# Sender restrictions:
smtpd_sender_restrictions =
permit_mynetworks,
permit_sasl_authenticated,
#reject_non_fqdn_sender,
#reject_unknown_sender_domain,
permit
# Recipient restrictions:
smtpd_recipient_restrictions =
permit_mynetworks,
permit_sasl_authenticated,
#reject_unauth_pipelining,
#reject_non_fqdn_recipient,
#reject_unknown_recipient_domain,
reject_unauth_destination,
check_sender_access hash:/etc/postfix/sender_access,
reject_rbl_client zen.spamhaus.org,
# reject_rbl_client bl.spamcop.net,
# check_policy_service unix:postgrey/socket,
permit
smtpd_sasl_auth_enable = yes
broken_sasl_auth_clients = yes
smtpd_sasl_type = dovecot
smtpd_sasl_path = private/auth
smtpd_sasl_security_options = noanonymous
sender_access:
Code:
google.com OK
aesha9years@gmail.com REJECT
lolylol88@gmail.com REJECT
Log does not log anything regarding the problem since the email is not blocked at all.
I added one of my email address to the sender_access REJECT and than tryed to send me the email from my external mail address to the one managed from my vps, the email is correctly delivered.