[Mailman-Users] "-owner" works, "-admin" doesn't...

Mark Sapiro msapiro at value.net
Fri Apr 28 02:37:25 CEST 2006


Kris Wilk wrote:
>
>1) -owner has worked all along. Looking at the message, the Return-Path: 
>is "mailman-bounces at cheiron...". cheiron is the name of the shared 
>server my site is on. I suspect SMTP is configured to allow 
>"mailman-bounces at cheiron..." as a sender.
>
>2) My test yesterday showed that "mailman-bounces at reefnet.ca" (my own 
>domain) was being rejected as a sender.
>
>Is it possible that Mailman is using these two different addresses for 
>the -owner and -admin situations? Would that explain why one has been 
>working and the other not?


No. It has nothing to do with -owner vs. -admin. Mailman never sends to
-admin.

The reason is this.

When an external message is sent to the -owner address, the
scripts/owner script that queues the message to be sent to the owner
specifies the envelope sender by calling
Mailman.Utils.get_site_email(extra='bounces') function which in this
case returns <sitelist>-bounces at DEFAULT_EMAIL_HOST which in your case
is mailman-bounces at cheiron...

When a message to the owner is created within Mailman it is created as
an instance of the Mailman.Message.OwnerNotification() class which
specifies the envelope sender by calling
Mailman.Utils.get_site_email(mlist.host_name, 'bounces') which returns
<sitelist>-bounces at mlist.host_name which in your case is
mailman-bounces at reefnet.ca.

Bottom line - external messages to -owner are different from internally
crafted notices to the owner. The former have envelope sender of
<sitelist>-bounces@<the site default email domain> and the latter have
envelope sender of <sitelist>-bounces@<the list's host_name>.

Nothing has changed in the way these messages from Mailman have been
sent. What changed is the host's outgoing SMTP server started
rejecting messages with envelope sender of mailman-bounces at reefnet.ca
while continuing to accept those with envelope sender of
mailman-bounces at cheiron...

This created a symptom which was highly confusing to say the least.

-- 
Mark Sapiro <msapiro at value.net>       The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan




More information about the Mailman-Users mailing list