senthil vel wrote:
message posted from /var/log/qmail/smtp/current doesnot having any
information regarding this issue
Step 1. #qmailctl queue
it will show the mails in queue. Say for example, i am pasting the
output you have posted in first mail.
21 Jun 2010 22:45:02 GMT #3087267 1435 <[email protected]
<mailto:[email protected]>>
remote [email protected] <mailto:[email protected]>
21 Jun 2010 22:34:44 GMT #3069258 1430 <[email protected]
<mailto:[email protected]>>
remote [email protected] <mailto:[email protected]>
21 Jun 2010 22:44:39 GMT #3079585 1439 <[email protected]
<mailto:[email protected]>>
remote [email protected]
<mailto:[email protected]>
22 Jun 2010 00:02:57 GMT #2443198 1438 <[email protected]
<mailto:[email protected]>>
remote [email protected] <mailto:[email protected]>
select a mail id which is in 'remote' field. for example let us take,
[email protected]. <mailto:[email protected]>
Step 2. Use the grep command to search the mailid we collected in the
first field.
grep -i '[email protected] <mailto:[email protected]>'
/var/log/qmail/smtp/current
if no results found, check time of the mail in queue (21 Jun 2010
22:45:02) for this mail. if so check the log file which is having this
time stamp. To do this, go to /var/log/qmail/smtp/
#cd /var/log/qmail/smtp/
#ll or # ls -l
check the log file for appropriate date and time.
If anything does not work,
use,
grep -i '[email protected] <mailto:[email protected]>'
/var/log/qmail/smtp/*
grep -i '[email protected] <mailto:[email protected]>'
/var/log/qmail/submission/*
This may take long time and server resource. It will show the log for
origin of the mail.
--Senthilvel.
Alternatively, you could simply:
# qmlog -lc prittyg...@yahoo smtp
# qmlog -lc prittyg...@yahoo submission
Let qmlog do the work. ;)
--
-Eric 'shubes'
---------------------------------------------------------------------------------
Qmailtoaster is sponsored by Vickers Consulting Group
(www.vickersconsulting.com)
Vickers Consulting Group offers Qmailtoaster support and installations.
If you need professional help with your setup, contact them today!
---------------------------------------------------------------------------------
Please visit qmailtoaster.com for the latest news, updates, and packages.
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]