Michael schrieb:
In my master.cf I have the following-

fax       unix  -       n       n       -       1       pipe
        flags= user=uucp argv=/usr/local/bin/faxmail -d -n ${user}

In my main.cf I have the following-

smtpd_recipient_restrictions =
        reject_invalid_hostname,
        reject_non_fqdn_sender,
        reject_non_fqdn_recipient,
        reject_unknown_sender_domain,
        reject_unauth_pipelining,
        permit_mynetworks,
        permit_sasl_authenticated,
        reject_unauth_destination,
        reject_rbl_client zen.spamhaus.org,
        reject_rbl_client bl.spamcop.net,
        permit

I did also have-

       reject_unknown_recipient_domain,

however this conflicted with messages to the 'fax' handler.

How can I reinstate 'reject_unknown_recipient_domain' for all mail except the fax handler?

depending to your setup, you should have a whitelist table
before reject_unknown_recipient_domain


i.e. something like this should work

check_recipient_access hash:/etc/postfix/recipient_access
reject_unknown_recipient_domain

with

/etc/postfix/recipient_access

faxdomain OK


--
Best Regards

MfG Robert Schetterer

Germany/Munich/Bavaria

Reply via email to