our postfix-server is running fine and can sent mails to internal and external addresses.
so what we want to do now is to restrict the access to this server through an ACL. therefore i have added two lines within /etc/postfix/access
like the example:
Afterwards I have executed the command postmap /etc/postfix/access
and restarted postfix with the result that no mail was delivered any more :-(
Even when I load the original (working) config and start postfix with this config there is the same behaviour.
There is something confusing for me within /var/log/mail.info
postfix/qmgr : [message-id] from: sender, size=xxx, nrcpt=1 (queue active)
postfix/smtpd: disconnect client [client-ip]
psotfix/smtp: [message-id] to: recipient, relay=relayhost, delay=yy, status=sent (250 message accepted for delivery)
postfix/qmgr: [message-id] removed
This seems to me that all the mails are deleted?!
Our basic configuration is shown in the thread here
What is the right way to introduce an ACL to postfix?
Modifying the variable smtp_client_restrictions and edit the /etc/postfix/access?
It would be nice if someone out there can help me.
Thanks in advance!