Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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:

Use the smtpd_discard_ehlo_keyword_address_maps feature 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

share|improve this question
add comment

1 Answer

up vote 0 down vote accepted

Unfortunately, I don' think this is possible (yet).

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.