It seems that I can turn on Delivery Status notifications for all users, or just users on the local network. Is there a way to turn DSN on for our employees only, regardless of where they are? ie. If an employee sends mail out (with SASL authentication) they get a bounce/defer/success notice, but other people sending mail to our system don't?
The man page says:
smtpd_discard_ehlo_keyword_address_mapsfeature if you wish to allow DSN requests from trusted clients but not from random strangers
And gives the example:
/etc/postfix/main.cf: smtpd_discard_ehlo_keyword_address_maps = cidr:/etc/postfix/esmtp_access /etc/postfix/esmtp_access: # Allow DSN requests from local subnet only 192.168.0.0/28 silent-discard 0.0.0.0/0 silent-discard, dsn ::/0 silent-discard, dsn
But I don't want to base it on subnet, I want to enable DSN for either A. users who authenticate with SASL -OR- B. users who have a @ourdomain.com mailbox on the system (our employees)
Is there a way to do this?
Ubuntu 10.04/Postfix 2.7.0