Clayton,

> >>>> I'm running amavisd-new 2.3.3 and it now refuses connections. It is up
> >>>> and running according to ps but postfix cannot talk to it. The
> >>>> postgres-db it uses is also up and running. Any ideas where to start
> >>>> looking?
> >>>
> >>> Start with the basics... what's in the log, can you connect to the
> >>> amavisd port with telnet, etc.
> >>
> >> It's reachable by telnet. The only things that get logged by amavis is
> >> when it is restarted. Postfix says connection is refused.

Postfix keeps a memory of next-hops which appear to be down, failing
several attempts to connect. This information is cleared after a while,
but until it does clear, postfix can claim in the log the mailer is
unreachable, even though it came up by now.

This usually happens when amavisd is restarted while Postfix is busily
feeding mail to it. It seems the longer amavisd restart takes and the more
sessions are open, the higher the chances of Postfix treating the amavis
feeds as being down.

Eventually postfix would notice the service is up again, but to rush
the recovery,  a quick and ugly solution is to restart postfix,
so that it forgets the condition. A 'postfix flush' may help too.

When activity is low and a restart doesn't take long, the above drastic
action is unnecessary. So it is best to avoid restarting amavisd during
busy hours. So far I haven't come across a better solution - the question
perhaps better belongs to the postfix-user mailing list.

  Mark

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/amavis-user 
 AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 
 AMaViS-HowTos:http://www.amavis.org/howto/ 

Reply via email to