On Sun, 2009-03-22 at 12:30 +0100, mouss wrote: > McDonald, Dan a écrit : > > On Fri, 2009-03-20 at 14:56 -0400, Bryan Lee wrote: > >> My Spam assassin is run from /etc/mail/mimedefang-filter via the perl > >> module. > > > >> When running sa-update, do I need to run anything to make sure new rules > >> get picked up? I.e. Do I need to restart mimedefang or somehow call > >> the spam_assassin_init()->compile_now(1) ? > > > > Yes. When I update my rules for amavisd-new, I run sa-update, > > sa-compile, service amavisd reload, and postfix flush. > > > > > why postfix flush? mail may be deferred for reasons unrelated to > amavisd-new status. just let postfix do its job as usual.
Everything in the queue tempfails when amavisd-new is restarted, since it can't reach the filter. There is less impact to the customers if I do a flush immediately after reloading amavisd -- Daniel J McDonald, CCIE #2495, CISSP #78281, CNX Austin Energy http://www.austinenergy.com