Hello,

I am attempting to narrow down the 'MAIL FROM' restriction to a select few of users and smptd_sender_restrictions doesn't seem to be working as expected. We also have upstream server. Below is the server list of settings:

inet_interfaces = 204.27.56.138, localhost
mail_owner = postfix
myhostname = relayhost1.bombshellz.net
mynetworks = 127.0.0.1
newaliases_path = /usr/bin/newaliases
relay_domains = $mydestination, hash:/etc/postfix/relay
relayhost = [mail.bombshellz.net]
smtp_sasl_auth_enable = yes
smtp_sasl_mechanism_filter = digest-md5
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sasl_security_options =
smtp_tls_CAfile = /etc/postfix/ssl/cacert.pem
smtp_tls_cert_file = /etc/postfix/ssl/certs/postfixcert.pem
smtp_tls_key_file = /etc/postfix/ssl/certs/postfixkey.pem
smtp_tls_session_cache_database = btree:/var/lib/postfix/smtpd_tls_session_cache
smtp_tls_session_cache_timeout = 3600s
smtp_use_tls = yes
smtpd_client_restrictions = permit_mynetworks, reject
smtpd_helo_required = no
smtpd_helo_restrictions =
smtpd_recipient_restrictions = permit_mynetworks, reject
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
smtpd_sender_restrictions = check_sender_access hash:/etc/postfix/access, reject

/etc/postfix/access
ad...@bombshellz.net OK
no-re...@bombshellz.net OK
* REJECT "$access_map_reject_code You can't send E-Mails from this server any longer. This is for Admin E-Mails only"

From http://www.postfix.org/access.5.html, there were no information on a catchall specification so am I correct to assume that syntax is invalid for '* REJECT'?

Any assistance on this matter would be greatly appreciated.

Best Regards

Reply via email to