[qmailtoaster] Re: Mail list bounce messages
On 03/20/2012 09:10 PM, Délsio Cabá wrote: Hi Eric, Thanks for the explanation. I am planning to move to that direction only after I get a new NAS storage. For now I am using the same server for all qmt services and it works wonderfully. Tapping failure messages would be quite useful for client support. What about changing the source code? Regards I've slept on this, and I think changing the source code isn't a good idea. qmail-send would need to be modified, and that's no trivial task. Let's try a slightly different tact. If we're wanting to monitor bounces, why not monitor the send logs? qmail-send puts out a fairly descriptive (depending on what the receiving server returns) failure message. How about writing a script that would find the failures and report them? Could be run daily, and email the results to some address. This touches on the whole area of monitoring in general. There's undoubtedly some enhancements that could be made in this area that would allow admins to take a more proactive role keeping things running smoothly. I'd encourage anyone interested anyone interested in this aspect to hop on over to the devel list and get something going. -- -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
[qmailtoaster] Re: Mail list bounce messages
On 03/19/2012 11:06 AM, dnk wrote: Is there a way to get messages that bounce to a particular list to go to a specific address? Thanks. D We never did really answer this. My answer would be not that I'm aware of. I presume you're talking about ezmlm (which I do not use). If you give us a specific example, perhaps we might come up with a better answer. -- -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
[qmailtoaster] Re: Mail list bounce messages
That looks ok to me, provided that my_server_hostname is your domain name (mydomain.com) as opposed to your QMT's host name (mail.mydomain.com). Can you help us examine an example that did not get tapped? I'm wondering which sender address is being tapped. There are two sender addresses in an email, one for the 'envelope' and another contained in the message. Perhaps they're different, and taps is checking the other one. (?) -- -Eric 'shubes' On 03/19/2012 09:53 PM, Délsio Cabá wrote: Hi Eric, I have in /var/qmail/control/taps: MAILER-DAEMON@my_server_hostname:postmaster@my_server_hostname Regards On 19 March 2012 22:13, Eric Shubert e...@shubes.net mailto:e...@shubes.net wrote: What was the regex you used? (You probably listed it once, but please again) On 03/19/2012 01:00 PM, Délsio Cabá wrote: Hi Eric, Regarding taps, I tried to tal mailer-daemon and it didn't work :( Any clues? - 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
Re: [qmailtoaster] Re: Mail list bounce messages
Hi Eric, my_server_hostname is not the same as my host name. Find below an example message: From - Tue Mar 20 18:51:41 2012 X-Account-Key: account3 X-UIDL: 1332262102.9077.server_name,S=2155 X-Mozilla-Status: 0001 X-Mozilla-Status2: X-Mozilla-Keys: Return-Path: Delivered-To: delsio.caba@domain_name Received: (qmail 9075 invoked for bounce); 20 Mar 2012 16:48:21 - Date: 20 Mar 2012 16:48:21 - From: MAILER-DAEMON@server_name To: delsio.caba@domain_name Subject: failure notice Hi. This is the qmail-send program at server_name. I'm afraid I wasn't able to deliver your message to the following addresses. This is a permanent error; I've given up. Sorry it didn't work out. t...@cnn.com: User and password not set, continuing without authentication. 168.161.96.115 does not like recipient. Remote host said: 550 5.1.1 User Unknown Giving up on 168.161.96.115. --- Below this line is a copy of the message. Return-Path: delsio.caba@domain_name Received: (qmail 9037 invoked by uid 89); 20 Mar 2012 16:48:14 - DomainKey-Status: no signature Received: by simscan 1.4.0 ppid: 9020, pid: 9032, t: 0.2595s scanners: attach: 1.4.0 clamav: 0.97.3/m:54/d:14604 Received: from unknown (HELO ?192.168.254.2?) (delsio.caba@domain_name@ 41.190.177.219) by server_name with ESMTPA; 20 Mar 2012 16:48:14 - Message-ID: 4F68B591.8090703@domain_name Date: Tue, 20 Mar 2012 18:51:29 +0200 From: Delsio Caba delsio.caba@domain_name Reply-To: delsio.caba@domain_name Organization: Webmasters, Limitada User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:11.0) Gecko/20120312 Thunderbird/11.0 MIME-Version: 1.0 To: t...@cnn.com Subject: test On 20 March 2012 18:13, Eric Shubert e...@shubes.net wrote: That looks ok to me, provided that my_server_hostname is your domain name ( mydomain.com) as opposed to your QMT's host name (mail.mydomain.com). Can you help us examine an example that did not get tapped? I'm wondering which sender address is being tapped. There are two sender addresses in an email, one for the 'envelope' and another contained in the message. Perhaps they're different, and taps is checking the other one. (?) -- -Eric 'shubes' On 03/19/2012 09:53 PM, Délsio Cabá wrote: Hi Eric, I have in /var/qmail/control/taps: MAILER-DAEMON@my_server_**hostname:postmaster@my_server_**hostname Regards On 19 March 2012 22:13, Eric Shubert e...@shubes.net mailto:e...@shubes.net wrote: What was the regex you used? (You probably listed it once, but please again) On 03/19/2012 01:00 PM, Délsio Cabá wrote: Hi Eric, Regarding taps, I tried to tal mailer-daemon and it didn't work :( Any clues? --**--** - 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-unsubscribe@** qmailtoaster.com qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-help@** qmailtoaster.com qmailtoaster-list-h...@qmailtoaster.com
[qmailtoaster] Re: Mail list bounce messages
I think I know what's happening. The bounces are coming from QMT itself. The bounce message is going to a local address, so qmail-send passes it on to qmail-local which delivers it. qmail-smtp never sees the bounce. The taps patch is part of qmail-smtp. Thus, the message is never seen by taps. This looks to me like another case where having a separate (virtual) submission server would be useful. If you have a separate submission server, all outbound messages (local and remote) would reside in the submission server's queue. Bounces would then need to come back to the MX server via smtp from the submission server to the MX server, where they could be tapped since they're coming in via qmail-smtp. Setting up a submission-only server should be pretty easy. Simply create a QMT host, and turn off all services except submission. Then change the vpopmail configuration to authenticate via mysql on the MX server (or where ever you have mysql running). There would be no accounts or domains defined on the submission server. It would strictly handle authenticated submissions. You would need to include simscan and clamav, but many other packages would not be needed. This is quite in line with what I have in mind for QMT in the future. A set of hosts, based on highly cohesive and loosely coupled roles, which operate together to provide the entire QMT functionality. This type of setup is especially appropriate for Service Providers, as imap/pop3 traffic can be separated from smtp/submissions. Let us know if you choose to move in this direction, and how you do with it. -- -Eric 'shubes' On 03/20/2012 09:53 AM, Délsio Cabá wrote: Hi Eric, my_server_hostname is not the same as my host name. Find below an example message: From - Tue Mar 20 18:51:41 2012 X-Account-Key: account3 X-UIDL: 1332262102.9077.server_name,S=2155 X-Mozilla-Status: 0001 X-Mozilla-Status2: X-Mozilla-Keys: Return-Path: Delivered-To: delsio.caba@domain_name Received: (qmail 9075 invoked for bounce); 20 Mar 2012 16:48:21 - Date: 20 Mar 2012 16:48:21 - From: MAILER-DAEMON@server_name To: delsio.caba@domain_name Subject: failure notice Hi. This is the qmail-send program at server_name. I'm afraid I wasn't able to deliver your message to the following addresses. This is a permanent error; I've given up. Sorry it didn't work out. t...@cnn.com mailto:t...@cnn.com: User and password not set, continuing without authentication. 168.161.96.115 does not like recipient. Remote host said: 550 5.1.1 User Unknown Giving up on 168.161.96.115. --- Below this line is a copy of the message. Return-Path: delsio.caba@domain_name Received: (qmail 9037 invoked by uid 89); 20 Mar 2012 16:48:14 - DomainKey-Status: no signature Received: by simscan 1.4.0 ppid: 9020, pid: 9032, t: 0.2595s scanners: attach: 1.4.0 clamav: 0.97.3/m:54/d:14604 Received: from unknown (HELO ?192.168.254.2?) (delsio.caba@domain_name@41.190.177.219 http://41.190.177.219) by server_name with ESMTPA; 20 Mar 2012 16:48:14 - Message-ID: 4F68B591.8090703@domain_name Date: Tue, 20 Mar 2012 18:51:29 +0200 From: Delsio Caba delsio.caba@domain_name Reply-To: delsio.caba@domain_name Organization: Webmasters, Limitada User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:11.0) Gecko/20120312 Thunderbird/11.0 MIME-Version: 1.0 To: t...@cnn.com mailto:t...@cnn.com Subject: test On 20 March 2012 18:13, Eric Shubert e...@shubes.net mailto:e...@shubes.net wrote: That looks ok to me, provided that my_server_hostname is your domain name (mydomain.com http://mydomain.com) as opposed to your QMT's host name (mail.mydomain.com http://mail.mydomain.com). Can you help us examine an example that did not get tapped? I'm wondering which sender address is being tapped. There are two sender addresses in an email, one for the 'envelope' and another contained in the message. Perhaps they're different, and taps is checking the other one. (?) -- -Eric 'shubes' On 03/19/2012 09:53 PM, Délsio Cabá wrote: Hi Eric, I have in /var/qmail/control/taps: MAILER-DAEMON@my_server___hostname:postmaster@my_server___hostname Regards On 19 March 2012 22:13, Eric Shubert e...@shubes.net mailto:e...@shubes.net mailto:e...@shubes.net mailto:e...@shubes.net wrote: What was the regex you used? (You probably listed it once, but please again) On 03/19/2012 01:00 PM, Délsio Cabá wrote: Hi Eric, Regarding taps, I tried to tal mailer-daemon and it didn't work :( Any clues? --__--__- Qmailtoaster is sponsored by Vickers Consulting Group (www.vickersconsulting.com http://www.vickersconsulting.com) Vickers Consulting Group offers Qmailtoaster support and installations. If you need
Re: [qmailtoaster] Re: Mail list bounce messages
Hi Eric, Thanks for the explanation. I am planning to move to that direction only after I get a new NAS storage. For now I am using the same server for all qmt services and it works wonderfully. Tapping failure messages would be quite useful for client support. What about changing the source code? Regards On 20 March 2012 19:52, Eric Shubert e...@shubes.net wrote: I think I know what's happening. The bounces are coming from QMT itself. The bounce message is going to a local address, so qmail-send passes it on to qmail-local which delivers it. qmail-smtp never sees the bounce. The taps patch is part of qmail-smtp. Thus, the message is never seen by taps. This looks to me like another case where having a separate (virtual) submission server would be useful. If you have a separate submission server, all outbound messages (local and remote) would reside in the submission server's queue. Bounces would then need to come back to the MX server via smtp from the submission server to the MX server, where they could be tapped since they're coming in via qmail-smtp. Setting up a submission-only server should be pretty easy. Simply create a QMT host, and turn off all services except submission. Then change the vpopmail configuration to authenticate via mysql on the MX server (or where ever you have mysql running). There would be no accounts or domains defined on the submission server. It would strictly handle authenticated submissions. You would need to include simscan and clamav, but many other packages would not be needed. This is quite in line with what I have in mind for QMT in the future. A set of hosts, based on highly cohesive and loosely coupled roles, which operate together to provide the entire QMT functionality. This type of setup is especially appropriate for Service Providers, as imap/pop3 traffic can be separated from smtp/submissions. Let us know if you choose to move in this direction, and how you do with it. -- -Eric 'shubes' On 03/20/2012 09:53 AM, Délsio Cabá wrote: Hi Eric, my_server_hostname is not the same as my host name. Find below an example message: From - Tue Mar 20 18:51:41 2012 X-Account-Key: account3 X-UIDL: 1332262102.9077.server_name,S=**2155 X-Mozilla-Status: 0001 X-Mozilla-Status2: X-Mozilla-Keys: Return-Path: Delivered-To: delsio.caba@domain_name Received: (qmail 9075 invoked for bounce); 20 Mar 2012 16:48:21 - Date: 20 Mar 2012 16:48:21 - From: MAILER-DAEMON@server_name To: delsio.caba@domain_name Subject: failure notice Hi. This is the qmail-send program at server_name. I'm afraid I wasn't able to deliver your message to the following addresses. This is a permanent error; I've given up. Sorry it didn't work out. t...@cnn.com mailto:t...@cnn.com: User and password not set, continuing without authentication. 168.161.96.115 does not like recipient. Remote host said: 550 5.1.1 User Unknown Giving up on 168.161.96.115. --- Below this line is a copy of the message. Return-Path: delsio.caba@domain_name Received: (qmail 9037 invoked by uid 89); 20 Mar 2012 16:48:14 - DomainKey-Status: no signature Received: by simscan 1.4.0 ppid: 9020, pid: 9032, t: 0.2595s scanners: attach: 1.4.0 clamav: 0.97.3/m:54/d:14604 Received: from unknown (HELO ?192.168.254.2?) (delsio.caba@domain_name@41.**190.177.219 http://41.190.177.219 http://41.190.177.219) by server_name with ESMTPA; 20 Mar 2012 16:48:14 - Message-ID: 4F68B591.8090703@domain_name Date: Tue, 20 Mar 2012 18:51:29 +0200 From: Delsio Caba delsio.caba@domain_name Reply-To: delsio.caba@domain_name Organization: Webmasters, Limitada User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:11.0) Gecko/20120312 Thunderbird/11.0 MIME-Version: 1.0 To: t...@cnn.com mailto:t...@cnn.com Subject: test On 20 March 2012 18:13, Eric Shubert e...@shubes.net mailto:e...@shubes.net wrote: That looks ok to me, provided that my_server_hostname is your domain name (mydomain.com http://mydomain.com) as opposed to your QMT's host name (mail.mydomain.com http://mail.mydomain.com). Can you help us examine an example that did not get tapped? I'm wondering which sender address is being tapped. There are two sender addresses in an email, one for the 'envelope' and another contained in the message. Perhaps they're different, and taps is checking the other one. (?) -- -Eric 'shubes' On 03/19/2012 09:53 PM, Délsio Cabá wrote: Hi Eric, I have in /var/qmail/control/taps: MAILER-DAEMON@my_server___**hostname:postmaster@my_server_** __hostname Regards On 19 March 2012 22:13, Eric Shubert e...@shubes.net mailto:e...@shubes.net mailto:e...@shubes.net mailto:e...@shubes.net wrote: What was the regex you used? (You probably listed it once, but please again) On 03/19/2012 01:00 PM, Délsio Cabá wrote:
[qmailtoaster] Re: Mail list bounce messages
On 03/19/2012 11:06 AM, dnk wrote: Is there a way to get messages that bounce to a particular list to go to a specific address? Thanks. D Taps? -- -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
Re: [qmailtoaster] Re: Mail list bounce messages
Hi Eric, Regarding taps, I tried to tal mailer-daemon and it didn't work :( Any clues? On 19 March 2012 20:58, Eric Shubert e...@shubes.net wrote: On 03/19/2012 11:06 AM, dnk wrote: Is there a way to get messages that bounce to a particular list to go to a specific address? Thanks. D Taps? -- -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-unsubscribe@** qmailtoaster.com qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-help@** qmailtoaster.com qmailtoaster-list-h...@qmailtoaster.com
[qmailtoaster] Re: Mail list bounce messages
What was the regex you used? (You probably listed it once, but please again) On 03/19/2012 01:00 PM, Délsio Cabá wrote: Hi Eric, Regarding taps, I tried to tal mailer-daemon and it didn't work :( Any clues? On 19 March 2012 20:58, Eric Shubert e...@shubes.net mailto:e...@shubes.net wrote: On 03/19/2012 11:06 AM, dnk wrote: Is there a way to get messages that bounce to a particular list to go to a specific address? Thanks. D Taps? -- -Eric 'shubes' --__--__- Qmailtoaster is sponsored by Vickers Consulting Group (www.vickersconsulting.com http://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 http://qmailtoaster.com for the latest news, updates, and packages. To unsubscribe, e-mail: qmailtoaster-list-unsubscribe@__qmailtoaster.com mailto:qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-help@__qmailtoaster.com mailto:qmailtoaster-list-h...@qmailtoaster.com -- -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
Re: [qmailtoaster] Re: Mail list bounce messages
Hi Eric, I have in /var/qmail/control/taps: MAILER-DAEMON@my_server_hostname:postmaster@my_server_hostname Regards On 19 March 2012 22:13, Eric Shubert e...@shubes.net wrote: What was the regex you used? (You probably listed it once, but please again) On 03/19/2012 01:00 PM, Délsio Cabá wrote: Hi Eric, Regarding taps, I tried to tal mailer-daemon and it didn't work :( Any clues? On 19 March 2012 20:58, Eric Shubert e...@shubes.net mailto:e...@shubes.net wrote: On 03/19/2012 11:06 AM, dnk wrote: Is there a way to get messages that bounce to a particular list to go to a specific address? Thanks. D Taps? -- -Eric 'shubes' --**__** --__- Qmailtoaster is sponsored by Vickers Consulting Group (www.vickersconsulting.com http://www.vickersconsulting.**comhttp://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 http://qmailtoaster.com for the latest news, updates, and packages. To unsubscribe, e-mail: qmailtoaster-list-unsubscribe@**__qmailtoaster.com mailto:qmailtoaster-list-**unsubscr...@qmailtoaster.comqmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-help@__qmail**toaster.com http://qmailtoaster.com mailto:qmailtoaster-list-**h...@qmailtoaster.comqmailtoaster-list-h...@qmailtoaster.com -- -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-unsubscribe@** qmailtoaster.com qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-help@** qmailtoaster.com qmailtoaster-list-h...@qmailtoaster.com