Hello maschoff,
Thnak you very much for your answer.
If it helps, this is the full content of a bounced email that arrives to the mailbox of the root user of my server:
Code: Select all
From MAILER-DAEMON@myServer Mon Apr 11 11:44:29 2011
Delivered-To: 5-noreply@myClientA.com
Date: Mon, 11 Apr 2011 10:44:39 +0100 (BST)
From: Mail Delivery Subsystem <MAILER-DAEMON@punt12.authsmtp.com>
To: <noreply@myClientA.com>
MIME-Version: 1.0
Content-Type: multipart/report; report-type=delivery-status;
boundary="p3B9idZ8070304.1302515079/punt12.authsmtp.com"
Subject: Returned mail: see transcript for details
Auto-Submitted: auto-generated (failure)
X-AGNMailloop: from=<>,rid=3,cid=1,fwd=bounced@localhost,to=<ext_3@bounced.livecrm.es>
X-AGNLoop: set
This is a MIME-encapsulated message
--p3B9idZ8070304.1302515079/punt12.authsmtp.com
The original message was received at Mon, 11 Apr 2011 10:44:37 +0100 (BST)
from mail-c193.authsmtp.com [62.13.128.118]
----- The following addresses had permanent fatal errors -----
<prueba44445@hotmail.com>
(reason: 550 Requested action not taken: mailbox unavailable)
----- Transcript of session follows -----
... while talking to mx1.hotmail.com.:
>>> DATA
<<< 550 Requested action not taken: mailbox unavailable
550 5.1.1 <prueba44445@hotmail.com>... User unknown
<<< 503 Need Rcpt command.
--p3B9idZ8070304.1302515079/punt12.authsmtp.com
Content-Type: message/delivery-status
Reporting-MTA: dns; punt12.authsmtp.com
Received-From-MTA: DNS; mail-c193.authsmtp.com
Arrival-Date: Mon, 11 Apr 2011 10:44:37 +0100 (BST)
Final-Recipient: RFC822; prueba44445@hotmail.com
Action: failed
Status: 5.1.1
Remote-MTA: DNS; mx1.hotmail.com
Diagnostic-Code: SMTP; 550 Requested action not taken: mailbox unavailable
Last-Attempt-Date: Mon, 11 Apr 2011 10:44:38 +0100 (BST)
--p3B9idZ8070304.1302515079/punt12.authsmtp.com
Content-Type: text/rfc822-headers
Return-Path: <noreply@myClientA.com>
Received: from mail-c193.authsmtp.com (mail-c193.authsmtp.com [62.13.128.118])
by punt12.authsmtp.com (8.14.2/8.14.2/Kp) with ESMTP id p3B9ibZ8070302
for <prueba44445@hotmail.com>; Mon, 11 Apr 2011 10:44:37 +0100 (BST)
Received: from myServer (myServer [myServerIP])
(authenticated bits=0)
by mail.authsmtp.com (8.14.2/8.14.2) with ESMTP id p3B9iXVb035543
for <prueba44445@hotmail.com>; Mon, 11 Apr 2011 10:44:34 +0100 (BST)
Received: by myServer for <prueba44445@hotmail.com>; Mon, 11 Apr 2011 09:44:06 GMT
Message-ID: <20110411114401-1.1.t.2vyk.0.zec7tpkd7n@openemm.invalid>
Date: Mon, 11 Apr 2011 09:44:06 GMT
From: XXXXX <noreply@myClientA.com>
To: <prueba44445@hotmail.com>
Subject: frede
X-Mailer: OpenEMM V6.2
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary="-==AGNITASOUTER164240059B2900001D=="
X-Server-Quench: 4ead1601-6420-11e0-97bb-002264978518
X-AuthReport-Spam: If SPAM / abuse - report it at: http://www.authsmtp.com/abuse
X-AuthRoute: OCd2YQgdAVZTSx4X EicVJDRJQA8hJwNB DA8bIBFbLVwCWEJc KVBXKFNXPFAYGQ0F B2N7AwsQDQwoBX0m NFcfbARCEwoMQAdq UUlZQ1JYEAFiAhhP DhwAUx93aQRFf2B5 ZVlgW3JeQ0Q0NUUP Sxc8cz8GZmJlbGNR WUBcOQcBIVdLeB9E d1Z7VnM
QYGRSZmdp QAU5emhpZ28BdHUK ElxUfUQcW0sHE1YA
X-Authentic-SMTP: 61633531303832.1014:706
X-AuthFastPath: 0 (Was 255)
X-AuthVirus-Status: No virus detected - but ensure you scan with your own anti-virus system.
--p3B9idZ8070304.1302515079/punt12.authsmtp.com--
So, you're right, my forwarding configuration changes the sender address but, fortunately, the "Return-Path" field still has the
noreply@xxxxx.com address. So, I've changed my bav.rule file (I've commented the subject rule and the old return-path rule):
Code: Select all
[systemmail]
#^Subject: .*(DELIVER|RETURNED MAIL).*
^Return-Path:.*noreply@.*
#^Return-Path:.*<noreply@.*>
(...)
This is what I see on my maillog file now (the from field is empty --> from=<>, in my first post I've copied it badly, sorry, it was already empty):
Code: Select all
Apr 11 12:07:50 s15405272 sendmail[9693]: p3BA7omx009693: Milter add: header: X-AGNMailloop: from=<>,rid=3,cid=1,fwd=root@localhost,to=<ext_3@bounced.mydomain.es>
Apr 11 12:07:50 s15405272 sendmail[9693]: p3BA7omx009693: Milter add: header: X-AGNLoop: set
And this is what I see on my update log file (my mailing sends 6 emails):
Code: Select all
==> /home/openemm/var/log/20110411-s15405272-update.log <==
[11.04.2011 12:08:01] 9489 INFO/udpBounce: Found 0 hardbounces, 0 softbounces, 6 successes, 0 ignored in 6 lines
My bounced emails are still NOT marked as bounced. How can I know if my bounced mails are beeing processed by the bav daemon?
Thank you very much again.
Kind regards
Enric