Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email email@example.com
From: Hannes Erven (h.egmx.at)
Date: Mon Nov 26 2007 - 11:03:12 CST
in short: (how) can I bypass the reject_unknown_sender_domain
restriction for a set of defined smtp clients?
I have a postfix-2.3.6 up and running fine. Postfix acts as a proxy
between the internet and multple internal exchange servers. It uses
amavisd-new in a before-queue configuration and forwards mail internally
using a seconds instance via MX records set on our internal DNS servers.
It has the following sender restrictions set:
The error code in case of unknown sender domain is temporary to minimize
the risk of losing mail due to temporary dns problems (on either end).
I understand that postfix would always return 450 in case of temporary
DNS errors (cf.
http://www.postfix.org/postconf.5.html#smtpd_sender_restrictions), but I
guess it wouldn't classify as a DNS error if due to a config error the
internal DNS forgot about our domains.
There is one external mail host which regularily forwards mail to us,
most of it spam, which is often sent with faked MAIL FROM addresses. I'd
like to bypass the reject_unkown_sender_domain restriction to process
the message and perhaps permanently reject it after the spam check or to
accept it regardless of the validity of the sender domain -- only for
this one host, if that is possible.
At this time, mail is rejected temporarily and queues up at the external
mail host which happily retries a few days.
Thank you for you support,