> -----Original Message-----
> Sent: Wednesday, September 14, 2005 9:53 PM
> To: [email protected]
> Subject: [AMaViS-user] Mails stuck in Amavis queue directory
>
> Hello everybody,
> our license of antivir ran out. After that all outgoing mails
> were stored in its spool directories like
> /var/spool/amavis/amavis-XXqqYCuM on SuSE 9.0. In these,
> there are now no email.txt files. Only
> parts/part-00001 ... Why?
> Then after happily getting a new license everything works
> fine, but only for the new mails since the update (as
> reported by users). The others are not again given to antivir
> to be scanned and until now I couldn't find a manual method
> to trigger this again.
> How can this be done?
>
> Here is an excerpt of the log file:
>
> Sep 14 04:23:36 mondo amavis[31172]: (XXsWFl45) Virus scanner
> failure: /usr/bin/antivir (exit status: 212) Sep 14 04:23:36
> mondo amavis[31172]: (XXsWFl45) WARN:
> all primary virus scanners failed, considering backups Sep 14
> 04:23:36 mondo amavis[31172]: (XXsWFl45) TROUBLE in
> check_mail: virus_scan FAILED: ALL VIRUS SCANNERS FAILED:
> Sep 14 04:23:36 mondo amavis[31172]: (XXsWFl45) tempdir is to
> be PRESERVED:
> /var/spool/amavis/amavis-XXsWFl45
> Sep 14 04:23:36 mondo amavis[31172]: (XXsWFl45) TIMING [total
> 193 ms] - got data: 5 (3%), body hash: 1 (0%), mkdir parts: 1
> (0%), mime_decode: 36 (18%),
> get-file-type: 15 (8%), decompose_part: 3 (1%), parts:
> 0 (0%), AV-scan-1: 131 (68%), rundown: 1 (1%)
>
> Thanks in advance for any help or hint.
Are you using postfix? Your messages are still in the postfix deferred
queue. Run the postqueue -p (aka mailq) command to see them. For example:
# mailq
-Queue ID- --Size-- ----Arrival Time---- -Sender/Recipient-------
63EDAC304C 1696 Wed Sep 14 22:50:02 [EMAIL PROTECTED]
(host 127.0.0.1[127.0.0.1] said: 451 4.5.0 Error in processing, id=05652-01,
virus_scan FAILED: virus_scan: ALL VIRUS SCANNERS FAILED: NAI McAfee
AntiVirus (uvscan) av-scanner FAILED: /usr/local/bin/uvscan unexpected exit
1, output="" at (eval 38) line 435. (in reply to end of DATA command))
[EMAIL PROTECTED]
The files you looking at are the unpacked temporary files used by
amavisd-new. They are preserved so that you can determine the failure
cause, but are not used for re-injection.
Files in the deferred queue are re-examined every queue_run_delay seconds
(default 1000s). You can cause an immediate flush of the queue with
postqueue -f
-mike
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server.
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
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/