Arthur System Admin wrote:
On Wednesday 22 March 2006 21:30, Sandy Drobic wrote: <snip>
Postfix has nothing to do with mails once they are delivered to amavis. What Amavis does with the mails is up to your config. I think by default amavis will also log to /var/log/mail.
2. Postfix itself has a number of deferred / defer entries in its own /var/spool/postfix/deferred/ & /var/spool/postfix/defer/
What does the command "mailq" say? It should list the deferred Mails. Also, have you tried to restart amavis? "rcamavisd restart". Check the log for errors after restarting.
A wise man once said "a mailqueue is like a toilet. First you get rid of the blocking problem, THEN you flush. Otherwise you will only make the mess worse..."
So I suggest you look for the problem that postfix has and is causing the deferred mails. Then fix it and only then tell postfix to requeue the mails for delivery again.
What does "egrep -i '(fatal|panic|warn)' /var/log/mail" say? The most important errors will probably show up first.
egrep lists 2 types of warnings, (hundreds of times over) but all dated 22nd March - none since, which puzzles me given that the offending directory has all dates upto yesterday (and probably today now also)
Mar 22 09:56:07 GSLOCAL amavis[14780]: (14780-01) WARN: all primary virus scanners failed, considering backups
This is informational. Amavis is configured to scan for virii but doesn't find a primary virus scanner.
Mar 22 09:56:35 GSLOCAL postfix/qmgr[14887]: C956377B01: from=
, size=55815, nrcpt=1 (queue active)
Check your /etc/amavisd.conf to find out what facility amavis is logging to. If it is logging to "mail" the log should be in /var/log/mail. Send a testmail. Is this testmail delivered successfully? If that is the case and mailq reports a lot of deferred mails then you can issue "postsuper -r ALL" to requeue all mails. Sandy -- List replies only please! Please address PMs to: news-reply2 (@) japantest (.) homelinux (.) com