problem with requeue losing recipient

Harondel J. Sibble mailscanner at pdscc.com
Tue Nov 3 03:11:20 GMT 2009


Not sure if this is a postfix, mailscanner or mailwatch problem or a 
combination.  I'm guessing this is a consequence of the single postfix queue 
method I am using with MailScanner.

Basically emails comes in addressed to one person in the to: field 
(recipient1)and cc'd to a second person (recipient2).

After the requeue and change of message id, it only gets delivered to to 
recipient2 and recipient1 seems to get lost. Any ideas on why this issue is 
occuring and how I stop this happening in the future.  In mailwatch it shows 
both recipients and shows the action as deliver, so one would expect that 
both recipients received the email, but as below the logs show a different 
picture and that is confirmed by recipient1

# cat /root/maillog | grep 6E587B34001
Nov  1 18:29:34 mymailservername postfix/smtpd[6938]: 6E587B34001: 
client=smtp42.singnet.com.sg[165.21.103.146]
Nov  1 18:29:34 mymailservername postgrey[4778]: 6E587B34001: 
action=greylist, reason=new, client_name=smtp42.singnet.com.sg, 
client_address=165.21.103.146, sender=sender.person1 at sendingdomain.com.tld, 
recipient=recipient1 at domain.tld
Nov  1 18:29:34 mymailservername postfix/smtpd[6938]: 6E587B34001: reject: 
RCPT from smtp42.singnet.com.sg[165.21.103.146]: 450 <recipient1 at domain.tld>: 
Recipient address rejected: Greylisted, see 
http://postgrey.schweikert.ch/help/recipientdomain.tld.html; 
from=<sender.person1 at sendingdomain.com.tld> to=<recipient1 at domain.tld> 
proto=ESMTP helo=<smtp42.singnet.com.sg>
Nov  1 18:29:34 mymailservername postfix/cleanup[6948]: 6E587B34001: hold: 
header Received: from smtp42.singnet.com.sg (smtp42.singnet.com.sg 
[165.21.103.146])??by mailscan.recipientdomain.tld (Postfix) with ESMTP id 
6E587B34001??for <recipient2 at domain.tld>; Sun,  1 Nov 2009 18:29:34 -0800 
(PST from smtp42.singnet.com.sg[165.21.103.146]; 
from=<sender.person1 at sendingdomain.com.tld> to=<recipient2 at domain.tld> 
proto=ESMTP helo=<smtp42.singnet.com.sg>
Nov  1 18:29:34 mymailservername postfix/cleanup[6948]: 6E587B34001: hold: 
header Received: from sendingdomain.com.tld (bb116-14-192-65.singnet.com.sg 
[116.14.192.65])??by smtp42.singnet.com.sg (8.14.3/8.14.1) with ESMTP id 
nA22TTHD024555;??Mon, 2 Nov 2009 10:29:29 +0800 from 
smtp42.singnet.com.sg[165.21.103.146]; 
from=<sender.person1 at sendingdomain.com.tld> to=<recipient2 at domain.tld> 
proto=ESMTP helo=<smtp42.singnet.com.sg>
Nov  1 18:29:34 mymailservername postfix/cleanup[6948]: 6E587B34001: message-
id=<11A235F44D36EF4CB7F3A78ECD874B7E760596 at lanserver.Sendingco.local>
Nov  1 18:29:35 mymailservername MailScanner[4818]: Archived message 
6E587B34001.A7D63 to mbox file /var/spool/MailScanner/archive/mail-archive
Nov  1 18:29:35 mymailservername MailScanner[4818]: Saved archive copies of 
6E587B34001.A7D63
Nov  1 18:29:44 mymailservername MailScanner[4818]: Requeue: 
6E587B34001.A7D63 to 44B78B34002
Nov  1 18:29:44 mymailservername MailScanner[4818]: Logging message 
6E587B34001.A7D63 to SQL
Nov  1 18:29:44 mymailservername MailScanner[6540]: 6E587B34001.A7D63: Logged 
to MailWatch SQL

You'll note 9 lines down it says

Nov  1 18:29:44 mymailservername MailScanner[4818]: Requeue: 
6E587B34001.A7D63 to 44B78B34002

Now searching for the new id file gives us

# cat /root/maillog | grep 44B78B34002
Nov  1 18:29:44 mymailservername MailScanner[4818]: Requeue: 
6E587B34001.A7D63 to 44B78B34002
Nov  1 18:29:44 mymailservername postfix/qmgr[25214]: 44B78B34002: 
from=<sender.person1 at sendingdomain.com.tld>, size=10888, nrcpt=1 (queue 
active)
Nov  1 18:29:44 mymailservername postfix/smtp[6957]: 44B78B34002: 
to=<recipient2 at domain.tld>, relay=10.11.12.9[10.11.12.9], delay=10, 
status=sent (250 2.6.0 
<11A235F44D36EF4CB7F3A78ECD874B7E760596 at lanserver.Seaways.local> Queued mail 
for delivery)
Nov  1 18:29:44 mymailservername postfix/qmgr[25214]: 44B78B34002: removed


-- 
Harondel J. Sibble 
Sibble Computer Consulting
Creating Solutions for the small and medium business computer user.
help at pdscc.com (use pgp keyid 0x3AD5C11D) http://www.pdscc.com
(604) 739-3709 (voice)



More information about the MailScanner mailing list