Quote:
Originally posted by jonr
Try this, too:
Go look in /var/log/mail. There should (may?) be three files: errors, info, and warnings. Take a look especially at the info file. It will show all the messages sent recently and their status. The status is shown at the very end of the long line about the message. It will show if it's "queued" or "sent" and you will also see lines showing "Message accepted for delivery".
The file also shows all the activity that took place regarding mail delivery, such as starting and restarting the daemon, etc.
If you see that messages were "accepted for delivery" but not "Stat=sent" then you know that those messages are sitting in a queue still waiting to be delivered.
Mine got freed up and delivered instantly once I changed the queue wait time from one hour (default) to three minutes as described earlier in the thread. All that activity is shown in the info log. So you might get a clue from looking at the log.
The "errors" and "warnings" logs seem less useful, but it wouldn't hurt to have a look at them, too.
|
There was no /var/log/mail file.
There are 3 files in var/log but none of them had anything of inmportance.
It seems that exim4 is the 'real' mail program. But ther is a /var/log/exim4 directory.
root@1[exim4]# ls
mainlog mainlog.1 mainlog.2.gz mainlog.3.gz mainlog.4.gz mainlog.5.gz mainlog.6.gz
root@1[exim4]# ls -l
total 100
-rw-r----- 1 Debian-exim adm 32463 2005-03-08 17:17 mainlog
-rw-r----- 1 Debian-exim adm 48735 2005-03-08 06:09 mainlog.1
-rw-r----- 1 Debian-exim adm 1671 2005-03-08 06:25 mainlog.2.gz
-rw-r----- 1 Debian-exim adm 3402 2005-03-07 06:25 mainlog.3.gz
-rw-r----- 1 Debian-exim adm 3317 2005-03-06 06:25 mainlog.4.gz
-rw-r----- 1 Debian-exim adm 2153 2005-03-05 06:25 mainlog.5.gz
-rw-r----- 1 Debian-exim adm 2250 2005-03-04 06:25 mainlog.6.gz
root@1[exim4]# less mainlog
Does any of this make any sense. Thsi is from 'mainlog' above.
2005-03-08 15:51:02 1D8oTe-0002V5-KT <= clamav@mepis1 U=clamav P=local S=595
2005-03-08 15:51:02 1D8oTe-0002V5-KT == /var/mail/mail (root@mepis1) <clamav@mepis1> R=mail4root T=address_file defer (13):
Permission denied: creating lock file hitching post /var/mail/mail.lock.mepis1.422e3a66.00002591 (euid=8 egid=8)
2005-03-08 15:51:02 1D8oTe-0002V5-KT ** /var/mail/mail <root@mepis1>: retry timeout exceeded
2005-03-08 15:51:02 1D8oTe-0002V8-O3 <= <> R=1D8oTe-0002V5-KT U=Debian-exim P=local S=1559
2005-03-08 15:51:02 1D8oTe-0002V5-KT Completed
2005-03-08 15:51:02 1D8oTe-0002V8-O3 == /var/mail/mail (root@mepis1) <clamav@mepis1> R=mail4root T=address_file defer (13):
Permission denied: creating lock file hitching post /var/mail/mail.lock.mepis1.422e3a66.00002594 (euid=8 egid=8)
2005-03-08 15:51:02 1D8oTe-0002V8-O3 ** /var/mail/mail <root@mepis1>: retry timeout exceeded
2005-03-08 15:51:02 1D8oTe-0002V8-O3 /var/mail/mail <root@mepis1>: error ignored
2005-03-08 15:51:02 1D8oTe-0002V8-O3 Completed
2005-03-08 16:09:50 Start queue run: pid=9921
2005-03-08 16:09:50 1D8Kcu-00018V-0O == al@mepis1 R=local_user T=mail_spool defer (-52): Retry time not yet reached
2005-03-08 16:09:50 1D7jhy-0002kl-Du == al@mepis1 R=local_user T=mail_spool defer (-52): Retry time not yet reached
2005-03-08 16:09:50 1D8KWY-00017Z-Dk == al@mepis1 R=local_user T=mail_spool defer (-52): Retry time not yet reached
2005-03-08 16:09:50 1D8c7t-000217-IB == al@mepis1 R=local_user T=mail_spool defer (-52): Retry time not yet reached
2005-03-08 16:09:50 1D8WVV-0001qY-Fr == al@mepis1 R=local_user T=mail_spool defer (-52): Retry time not yet reached
2005-03-08 16:09:51 1D8KwY-0001Aa-HD == al@mepis1 R=local_user T=mail_spool defer (-52): Retry time not yet reached
2005-03-08 16:09:51 1D8ALM-0003e0-6K == al@mepis1 R=local_user T=mail_spool defer (-52): Retry time not yet reached
2005-03-08 16:09:51 1D8iNY-0002Ms-LH == al@mepis1 R=local_user T=mail_spool defer (-52): Retry time not yet reached
2005-03-08 16:09:51 1D8iKs-0002LT-U9 == al@mepis1 R=local_user T=mail_spool defer (-52): Retry time not yet reached
2005-03-08 16:09:51 1D7jib-0002kq-Po == al@mepis1 R=local_user T=mail_spool defer (-52): Retry time not yet reached
2005-03-08 16:09:51 End queue run: pid=9921
2005-03-08 16:39:51 Start queue run: pid=9990