[pkg-fetchmail-maint] Bug#398700: Mail stuck in Exim4 spool directory

Patrick Horn phrh at yahoo.com
Fri Nov 17 00:48:17 CET 2006


I have determined that all of the messages in fact get to exim4. (So I would consider this then a bug with Exim4 more than Fetchmail, but it's not clear what triggers this)

All after the first 9 are stored in the "/var/spool/exim4/input" directory.
However, when I reload the exim4 daemon, the queue files disappear, and they all go to the correct place.

==========
patrick:/var/spool/exim4/input# ls -ltr
total 368
-rw-r----- 1 Debian-exim Debian-exim   694 Nov 16 15:12 1GkqOw-0000nC-V8-D
-rw-r----- 1 Debian-exim Debian-exim  3800 Nov 16 15:12 1GkqOw-0000nC-Mw-H
-rw-r----- 1 Debian-exim Debian-exim  2658 Nov 16 15:12 1GkqOw-0000nC-Mw-D
-rw-r----- 1 Debian-exim Debian-exim  3875 Nov 16 15:12 1GkqOw-0000nC-Ed-H
-rw-r----- 1 Debian-exim Debian-exim  1563 Nov 16 15:12 1GkqOw-0000nC-Ed-D
-rw-r----- 1 Debian-exim Debian-exim  1869 Nov 16 15:12 1GkqOw-0000nC-6B-H
-rw-r----- 1 Debian-exim Debian-exim  5326 Nov 16 15:12 1GkqOw-0000nC-6B-D
etc...
patrick:/var/spool/exim4/input# /etc/init.d/exim4 status
checking separate queue runner daemon...done (not running).
checking combined SMTP listener and queue runner daemon...done (running).
patrick:/var/spool/exim4/input# /etc/init.d/exim4 reload 
Reloading exim4 configuration files: exim4.
patrick:/var/spool/exim4/input# ls -ltr
total 0
==========

Now, this stiiI still don't understand why messages end up in the Exim4 queue
According to my mail.log, fetchmail sends the exact same commands to the SMTP daemon for mails that are kept and those that are held in the queue.
==========
Nov 16 15:12:20 patrick fetchmail[3014]: forwarding to localhost 
Nov 16 15:12:20 patrick fetchmail[3014]: SMTP> MAIL FROM:<sender at example.com> SIZE=2992 
Nov 16 15:12:20 patrick fetchmail[3014]: SMTP< 250 OK 
Nov 16 15:12:20 patrick fetchmail[3014]: SMTP> RCPT TO:<patrick at localhost> 
Nov 16 15:12:20 patrick fetchmail[3014]: SMTP< 250 Accepted 
Nov 16 15:12:20 patrick fetchmail[3014]: SMTP> DATA 
Nov 16 15:12:20 patrick fetchmail[3014]: SMTP< 354 Enter message, ending with "." on a line by itself 
Nov 16 15:12:20 patrick fetchmail[3014]: SMTP>. (EOM) 
Nov 16 15:12:20 patrick fetchmail[3014]: SMTP< 250 OK id=1GkqP6-0000nC-Hn 
==========
Exim4 also keeps corresponding msglog files, but they don't say anything useful. I have yet to find a Exim4 log that tells me what it's thinking.

patrick:/var/spool/exim4/msglog# cat 1GkqOw-0000nC-6B 
2006-11-16 15:12:10 Received from root at laptop.localdomain H=localhost (patrick) [127.0.0.1] U=fetchmail P=esmtp S=6803 id=20061116122056.C8FF8298DB67 at laptop.localdomain

-Patrick









More information about the pkg-fetchmail-maint mailing list