Harakiri:
> 
> Hi,
> 
> i have one specific sender domain which should be allowed to sent over 
> postfix servers, however this domain is not registered as MX or DNS.
> 
> Is there a way to exclude this domain from the reject_unknown_sender_domain 
> check? Maybe a whitelist for this setting or add the domain in the /etc/hosts 
> file (doesnt work so far).
> 
> I could add the IP of the sender to mydestination, but this is not wanted.

Why do people expect that OTHER mail servers will not reject
mail with a bogus sender domain?

/etc/postfix/main.cf:
    smtpd_sender_restrictions = 
        check_sender_access pcre:/etc/postfix/pcre-access

/etc/postfix/pcre-access:
    !/@non-existent\.example\.com$/     reject_unknown_sender_domain

        Wietse

Reply via email to