On Mon, Aug 05, 2013 at 02:49:49PM +0200, Franz Schwartau wrote:
> I configured postfix to use amavisd as a SMTP proxy 
> (smtpd_proxy_filter). Now I'd like to skip amavisd if a policy 
> daemon called in smtpd_recipient_restrictions returns OK.
> 
> Has anyone any idea how to accomplish this?

If the filter comes before the smtpd, how could you possibly skip 
filtering with an action in the smtpd?

Perhaps your answer would be in amavisd itself.

> As far as I unterstood postfix' restrictions there is no "final"
> OK skipping any further checks.
> 
> I don't want to use amavisd as a content_filter.
> 
> Is there any way to flag anything so amavisd skips it's checks?

With an after-queue filter, you can invoke it via a blanket FILTER 
action at the end of your restrictions. Thus your policy's "OK" 
causes the filter to be bypassed.
-- 
  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