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 <anonym...@client.ind.br
<mailto:anonym...@client.ind.br>>
remote prittyg...@yahoo.com.br <mailto:prittyg...@yahoo.com.br>
21 Jun 2010 22:34:44 GMT #3069258 1430 <anonym...@client.ind.br
<mailto:anonym...@client.ind.br>>
remote prisci...@terra.com.br <mailto:prisci...@terra.com.br>
21 Jun 2010 22:44:39 GMT #3079585 1439 <anonym...@client.ind.br
<mailto:anonym...@client.ind.br>>
remote priscillame...@yahoo.com.br
<mailto:priscillame...@yahoo.com.br>
22 Jun 2010 00:02:57 GMT #2443198 1438 <anonym...@client.ind.br
<mailto:anonym...@client.ind.br>>
remote qeezajtze...@stargate5.com <mailto:qeezajtze...@stargate5.com>
select a mail id which is in 'remote' field. for example let us take,
prittyg...@yahoo.com.br. <mailto:prittyg...@yahoo.com.br>
Step 2. Use the grep command to search the mailid we collected in the
first field.
grep -i 'prittyg...@yahoo.com.br <mailto:prittyg...@yahoo.com.br>'
/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 'prittyg...@yahoo.com.br <mailto:prittyg...@yahoo.com.br>'
/var/log/qmail/smtp/*
grep -i 'prittyg...@yahoo.com.br <mailto:prittyg...@yahoo.com.br>'
/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: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com