On Mon, Sep 10, 2012 at 02:52:44PM +0300, KSB wrote:
> On 2012.09.06. 20:30, Wietse Venema wrote:
> >Christian Rohmann:
> >>is there a postfix way to make use of a map (domain based) for
> >>the selection of a (before-queue) smtpd_proxy_filter? The idea
> >
> >And how would that work? One email message can have multiple
> >recipients in different domains.
> >
> >If you want different filters for different domains, use
> >different SMTP listeners for different IP addresses, each with
> >their own smtpd_proxy_filter setting.
> >
> What about per domain stmpd_proxy_filter based on SENDER domain,
> to skip filter for some domains?

No.

You're not understanding what smtpd_proxy_filter means. The handoff 
to the proxy filter happens at connection, before there could be a 
possible way to guess what the sender or the recipient domains might 
be.

http://www.postfix.org/SMTPD_PROXY_README.html
http://www.postfix.org/postconf.5.html#smtpd_proxy_filter

I lied: there is ONE possible way: use a different IP address with 
different settings as needed. Don't share that IP address with an 
instance that needs other settings.
-- 
  http://rob0.nodns4.us/ -- system administration and consulting
  Offlist GMX mail is seen only if "/dev/rob0" is in the Subject:

Reply via email to