Re: [Mailman-Users] Preventing address from being unsubscribed

2003-07-04 Thread Richard Barrett
At 15:30 03/07/2003, Ed Leafe wrote:
I have a list that is pretty high-traffic. I have a separate list 
that is a sub-set of the big list. To do this, I have an email address 
that subscribes to the big list, and this address is aliased to a series 
of python scripts that determine if the message should be passed on to 
the small list. So far, everything is working great.

The problem is that some bounces from the small list are being 
seen as a bounce from this proxy email address, and Mailman disabled the 
proxy address, cutting off the whole sub-list processing. Is there any 
way to tell Mailman to *never* remove certain addresses? I.e., to exclude 
them from bounce processing actions?
If I can paraphrase what I think you have said; some messages sent to 
subscribers of the subordinate list bounce and these bounce messages are 
being returned to the superior list with information indicating they were 
bounced by the subordinate list's email address.

I think you are asking for a means for the superior list to selectively 
ignore those bounce messages.

A more pertinent question would be be why is the superior list should/would 
be seeing those bounce messages.

If the messages your script chooses to pass down to the subordinate list 
are simply posted by it to the subordinate list then any bounce from the 
subordinate list's subscribers should be received by and handled by the 
subordinate list's bounce processing; and MM doesn't normally tell posters 
about bounces resulting from distribution of their posts by the list.

Are you certain that the bounce messages do not actually stem from 
occasional failure of your script to take successful delivery of a message 
from the superior list?

Your MTA logs should show the whether these bounce messages originate 
outside your system and are being passed back to the superior list by some 
means or whether they result from delivery failure to the subordinate list.

 ___/
/
   __/
  /
 /
 Ed Leafe
 http://leafe.com/
 http://opentech.leafe.com
--
Richard Barrett  http://www.openinfo.co.uk
--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
This message was sent to: [EMAIL PROTECTED]
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Preventing address from being unsubscribed

2003-07-04 Thread Ed Leafe
On Friday, July 4, 2003, at 03:08  AM, Richard Barrett wrote:

If I can paraphrase what I think you have said; some messages sent to 
subscribers of the subordinate list bounce and these bounce messages 
are being returned to the superior list with information indicating 
they were bounced by the subordinate list's email address.
	Yes.

I think you are asking for a means for the superior list to 
selectively ignore those bounce messages.
	Either that, or to intercept the subscription disabling process so 
that the address is not disabled.

A more pertinent question would be be why is the superior list 
should/would be seeing those bounce messages.
	My thoughts exactly. Occasionally I have had bounce messages sent by 
other servers back to some address other than the address in the 
Return-Path: header - some have gone back to the list, some to the 
list-owner, etc. IOW, something screwy in one of the thousands of 
servers I send mail to.

If the messages your script chooses to pass down to the subordinate 
list are simply posted by it to the subordinate list then any bounce 
from the subordinate list's subscribers should be received by and 
handled by the subordinate list's bounce processing; and MM doesn't 
normally tell posters about bounces resulting from distribution of 
their posts by the list.

Are you certain that the bounce messages do not actually stem from 
occasional failure of your script to take successful delivery of a 
message from the superior list?
	I grep'd the logs on my server, and couldn't find any entries for the 
proxy address that didn't have status=sent on the line.

 ___/
/
   __/
  /
 /
 Ed Leafe
 http://leafe.com/
 http://opentech.leafe.com
--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
This message was sent to: [EMAIL PROTECTED]
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Preventing address from being unsubscribed

2003-07-04 Thread Richard Barrett
At 14:49 04/07/2003, Ed Leafe wrote:
On Friday, July 4, 2003, at 03:08  AM, Richard Barrett wrote:

If I can paraphrase what I think you have said; some messages sent to 
subscribers of the subordinate list bounce and these bounce messages are 
being returned to the superior list with information indicating they were 
bounced by the subordinate list's email address.
Yes.

I think you are asking for a means for the superior list to selectively 
ignore those bounce messages.
Either that, or to intercept the subscription disabling process 
so that the address is not disabled.

A more pertinent question would be be why is the superior list 
should/would be seeing those bounce messages.
My thoughts exactly. Occasionally I have had bounce messages sent 
by other servers back to some address other than the address in the 
Return-Path: header - some have gone back to the list, some to the 
list-owner, etc. IOW, something screwy in one of the thousands of servers 
I send mail to.
I have heard that, in contravention of RFC 2821, some MTA may do this but 
see my comments below.

If the messages your script chooses to pass down to the subordinate list 
are simply posted by it to the subordinate list then any bounce from the 
subordinate list's subscribers should be received by and handled by the 
subordinate list's bounce processing; and MM doesn't normally tell 
posters about bounces resulting from distribution of their posts by the list.

Are you certain that the bounce messages do not actually stem from 
occasional failure of your script to take successful delivery of a 
message from the superior list?
So how is your script, having had the message from the superior lists 
delivered to it by your MTA, sending the message to the subordinate list. 
Are you using SMTP from your script or are you using the $prefix/bin/inject 
script or something else?

If you are using SMTP (or inject'ing into the default incoming queue) then 
by the time MM has received the message from the MTA and then processed the 
message through the subordinate list:

1. the envelope From should be the subordinate.listname-bounces alias

2. the Sender: header should be subordinate.listname alias

3. the Error-to: header should be subordinate.listname-bounces alias

4. The envelope To and To: header should be that of the subordinate list 
subscriber

5. The From: header should be that of the poster to the superior list, 
superior.listname alias, the subordinate.listname alias or some other 
explicit address depending on the settings of the reply_goes_to_list and 
reply_to_address attributes of the superior and subordinate lists.

This being so it is difficult to see (even with an 
not-quite-RFC-conformant-MTA along the way) how a bounce message in respect 
of a message coming from the subordinate list is finding its way back to 
the superior list, with the subordinate list identified as the address to 
which the message was sent.

I grep'd the logs on my server, and couldn't find any entries for 
the proxy address that didn't have status=sent on the line.

 ___/
/
   __/
  /
 /
 Ed Leafe
 http://leafe.com/
 http://opentech.leafe.com
--
Richard Barrett  http://www.openinfo.co.uk
--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
This message was sent to: [EMAIL PROTECTED]
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Preventing address from being unsubscribed

2003-07-04 Thread Richard Barrett
At 14:49 04/07/2003, Ed Leafe wrote:
On Friday, July 4, 2003, at 03:08  AM, Richard Barrett wrote:

If I can paraphrase what I think you have said; some messages sent to 
subscribers of the subordinate list bounce and these bounce messages are 
being returned to the superior list with information indicating they were 
bounced by the subordinate list's email address.
Yes.

I think you are asking for a means for the superior list to selectively 
ignore those bounce messages.
Either that, or to intercept the subscription disabling process 
so that the address is not disabled.

A more pertinent question would be be why is the superior list 
should/would be seeing those bounce messages.
My thoughts exactly. Occasionally I have had bounce messages sent 
by other servers back to some address other than the address in the 
Return-Path: header - some have gone back to the list, some to the 
list-owner, etc. IOW, something screwy in one of the thousands of servers 
I send mail to.

If the messages your script chooses to pass down to the subordinate list 
are simply posted by it to the subordinate list then any bounce from the 
subordinate list's subscribers should be received by and handled by the 
subordinate list's bounce processing; and MM doesn't normally tell 
posters about bounces resulting from distribution of their posts by the list.

Are you certain that the bounce messages do not actually stem from 
occasional failure of your script to take successful delivery of a 
message from the superior list?
I grep'd the logs on my server, and couldn't find any entries for 
the proxy address that didn't have status=sent on the line.
Do you have the 'bounce_notify_owner_on_removal' attribute on for the 
superior list, If you can tolerate that it should give you visibility of 
any bounce that triggers the suppression of your subordinate list's address 
on the superior list. You can get at the headers etc on the messages that 
are bouncing and maybe a hint as to what is going wrong.

 ___/
/
   __/
  /
 /
 Ed Leafe
 http://leafe.com/
 http://opentech.leafe.com
--
Richard Barrett  http://www.openinfo.co.uk
--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
This message was sent to: [EMAIL PROTECTED]
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Preventing address from being unsubscribed

2003-07-04 Thread Ed Leafe
On Friday, July 4, 2003, at 12:38  PM, Richard Barrett wrote:

It is the sent to stdout via print commands, which are received by 
the subordinate list like any other message would be. When the list 
sends the message out, it supplies its own Return-Path:, etc., 
headers, as any list would do.
But what is going to happen if your script decides _not_ to forward 
the message to the mailman wrapper. Would you not be better using 
os.popen() if you decide to deliver the message to the subordinate 
list. As things stand is not the normal post script is being asked to 
read a message from an empty pipe? It may cope with that but why make 
it do so and what are the consequences.
	A little sleight-of-hand: if the message is not to be sent to the 
list, I add a particular header to the message. The subordinate list is 
then configured to automatically discard any message containing that 
header. So all messages get forwarded to the list, but only the good 
ones ever get sent out to subscribers.

 ___/
/
   __/
  /
 /
 Ed Leafe
 http://leafe.com/
 http://opentech.leafe.com
--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
This message was sent to: [EMAIL PROTECTED]
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


[Mailman-Users] Preventing address from being unsubscribed

2003-07-03 Thread Ed Leafe
	I have a list that is pretty high-traffic. I have a separate list that 
is a sub-set of the big list. To do this, I have an email address that 
subscribes to the big list, and this address is aliased to a series of 
python scripts that determine if the message should be passed on to the 
small list. So far, everything is working great.

	The problem is that some bounces from the small list are being seen as 
a bounce from this proxy email address, and Mailman disabled the proxy 
address, cutting off the whole sub-list processing. Is there any way to 
tell Mailman to *never* remove certain addresses? I.e., to exclude them 
from bounce processing actions?

 ___/
/
   __/
  /
 /
 Ed Leafe
 http://leafe.com/
 http://opentech.leafe.com
--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
This message was sent to: [EMAIL PROTECTED]
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org