Stuart wrote: > Occasionally amavisd-new crashes or locks-up and postfix sends messages > to the deferred queue with "connect to 127.0.0.1[127.0.0.1]: Connection > refused".
> What is the best way to get postfix to try connecting to amavis again > after amavis has been restarted? > Thanks, > Stuart Johnston Postfix will eventually retry sending messages in the deferred queue. How much delay there is depends on how long a message has been in the deferred queue. Postfix doubles the amount of time on each retry, and will continue to retry for the default of 5 days (configurable of course). So if amavisd was down for a moment, then recently deferred mail should be retried shortly. If down longer, then it may take longer for some messages. You can use 'postfix flush' to force Postfix to retry sending all items in the deferred queue sooner. The only downside to this is it will retry all items, not just recent ones, so if you had a large number of items in the deferred queue prior to amavisd failing, this could slow your system down for a short period. Use mailq and 'qshape deferred' to determine progress. Gary V ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ AMaViS-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/
