Mail stuck in /var/spool/postfix/hold

Remco Barendse mailscanner at barendse.to
Mon Jun 14 11:41:19 UTC 2021


2 days ago I had MailScanner working but mail seems to sit in 
/var/spool/postfix/hold until MailScanner tried 6 times and then moves it 
to quarantine.

pyzor was causing a python trace back error but I removed pyzor and that 
solved the error :)  I stopped apparmor just te be sure

There are no errors in any logs, where can I look for clues?

MailScanner --lint :
Your envelope_sender_header in spamassassin.conf is correct.
MailScanner setting GID to  (119)
MailScanner setting UID to  (116)

Checking for SpamAssassin errors (if you use it)...
Using SpamAssassin results cache
Connected to SpamAssassin cache database
SpamAssassin reported no errors.
Auto: Found virus scanners: clamd
Connected to Processing Attempts Database
Created Processing Attempts Database successfully
There are 2 messages in the Processing Attempts Database
Using locktype = posix


No errors, anywhere jusst this in the log :
Jun 14 13:37:27 gw2 MailScanner[3282]: Making attempt 2 at processing 
message 26A2782CA5.A6FBE

Jun 14 13:11:43 gw2 MailScanner[3081]: Connected to Processing Attempts 
Database
Jun 14 13:11:43 gw2 MailScanner[3081]: Found 6 messages in the Processing 
Attempts Database
Jun 14 13:11:43 gw2 MailScanner[3081]: Using locktype = flock
Jun 14 13:12:25 gw2 MailScanner[2890]: Making attempt 6 at processing 
message D0D2882370.ACF37
Jun 14 13:12:25 gw2 MailScanner[2890]: Making attempt 6 at processing 
message 4C5938221D.A960D
Jun 14 13:12:25 gw2 MailScanner[2890]: New Batch: Found 6 messages waiting
Jun 14 13:12:25 gw2 MailScanner[2890]: New Batch: Scanning 2 messages, 
883327 bytes
Jun 14 13:12:25 gw2 MailScanner[3006]: Warning: skipping message 
D0D2882370.ACF37 as it has been attempted too many times
Jun 14 13:12:25 gw2 MailScanner[3006]: Quarantined message 
D0D2882370.ACF37 as it caused MailScanner to crash several times
Jun 14 13:12:25 gw2 MailScanner[3006]: Saved entire message to 
/var/spool/MailScanner/quarantine/20210614/D0D2882370.ACF37
Jun 14 13:12:25 gw2 MailScanner[3081]: Warning: skipping message 
4C5938221D.A960D as it has been attempted too many times
Jun 14 13:12:25 gw2 MailScanner[3081]: Quarantined message 
4C5938221D.A960D as it caused MailScanner to crash several times
Jun 14 13:12:25 gw2 MailScanner[3081]: Saved entire message to 
/var/spool/MailScanner/quarantine/20210614/4C5938221D.A960D
Jun 14 13:12:25 gw2 MailScanner[3081]: New Batch: Found 6 messages waiting


More information about the MailScanner mailing list