On Tue, Mar 24, 2009 at 04:46:06PM +0700, ke...@auditsi.com wrote: > Hi list, > > I set 2 postfix instances, one with amavisd-new, the other with no > conten-filter at all. > I'm using fallback_relay to the 2nd instance. > > I upgrade my clamav today so there is an error in my conten-filter for a > moment, the mail then relayed to the 2nd instance. > > my question is, if some process (not because upgrading) in my > content-filter error, the mail then will be relayed to the 2nd instance > with no filter at all? > Is there option to control it for temporary?
Use a separate transport (not "smtp") for sending mail to the filter, and in master.cf set: master.cf: scan unix ... smtp -o smtp_fallback_relay=$pre_filter_fback_relay scan unix ... smtp -o smtp_fallback_relay=$post_filter_fback_relay main.cf: pre_filter_fback_relay= post_filter_fback_relay=[fallback.example.com] -- Viktor. Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the "Reply-To" header. To unsubscribe from the postfix-users list, visit http://www.postfix.org/lists.html or click the link below: <mailto:majord...@postfix.org?body=unsubscribe%20postfix-users> If my response solves your problem, the best way to thank me is to not send an "it worked, thanks" follow-up. If you must respond, please put "It worked, thanks" in the "Subject" so I can delete these quickly.