Tanstaafl wrote:
>
>It went smooth as silk and everything is running fine, but I have one
>minor question.


Thanks for the report.


>My question is about line #5 above:
>
>5. May  9 16:39:35 myhost postfix/local[21525]: AE6D7621142:
>to=<listn...@smtp.example.com>, orig_to=<listn...@example.com>,
>relay=local, delay=0.24, delays=0.03/0.01/0/0.2, dsn=2.0.0, status=sent
>(delivered to command: /usr/lib64/mailman/mail/mailman post listname)
>
>Why is it listn...@smtp.example.com instead of listn...@lists.example.com?
>
>smtp.example.com is the postfix hostname, so I'm sure that's where it's
>coming from, and it isn't a big deal, but for some reason I thought that
>it would use the URL subdomain? No worries if it isn't trivial to change
>this so it uses lists.example.com, but thats what I'd prefer...


Postfix knows nothing about your Mailman configuration.

The virtual mapping in data/virtual-mailman has the entry

listn...@example.com   listname

which maps listn...@example.com to the local name listname which in
turn is aliased to "|/usr/lib64/mailman/mail/mailman post listname".

listname is a local name and Postfix appends the name of the local host
(myhostname) for the log message.

I think you could change it by doing both of the following:

Make sure lists.example.com is in Postfix mydestination so postfix
thinks it's a local domain.

Patch Mailman/MTA/Postfix.py so it appends '@lists.example.com' to all
the virtual mappings so instead of

listn...@example.com   listname
etc.

in virtual-mailman, you have

listn...@example.com   listn...@lists.example.com
etc.

Note that I have never done exactly this, so I'm not totally certain it
will do what you want, but I think it will. I also think it probably
isn't worth maintaining a non-standard patch to do it, but only you
can answer that for yourself.

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

------------------------------------------------------
Mailman-Users mailing list Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Reply via email to