Tanstaafl wrote:

>On 2010-05-10 7:20 PM, Mark Sapiro wrote:
>> It turns out there was a Bug/Patch at
>> <https://bugs.launchpad.net/mailman/+bug/328907> which is related to
>> this. I've fixed that for MM 2.1.14 with the attached patch which
>> allows you to specify VIRTUAL_MAILMAN_LOCAL_HOST in mm_cfg.py, and if
>> you do, it will be appended to the local addresses in virtual-mailman.
>
>Great! Assuming you meant VIRTUAL_MAILMAN_LOCAL_DOMAIN (that's what the
>patch refers to),


Yes, that's what I meant. Sorry.


>I have two questions (sorry ;( hopefully these will be
>the last on this topic)...
>
>In order to accomplish my goal, of lists working as
>[email protected], but the local domain in the mail headers showing
>as [email protected] instead of the postfix host name of
>[email protected],
>
>1. Would I set
>
>VIRTUAL_MAILMAN_LOCAL_DOMAIN = 'lists'
>
>or
>
>VIRTUAL_MAILMAN_LOCAL_DOMAIN = 'lists.example.com'
>
>Maybe the comments in mm_cfg.py for this option should provide an
>example for something other than just plain 'localhost'?


All of these would depend on Postfix. If you set

VIRTUAL_MAILMAN_LOCAL_DOMAIN = 'lists'

you will get virtual maps like

[email protected]  listn...@lists

and if you set

VIRTUAL_MAILMAN_LOCAL_DOMAIN = 'lists.example.com'

you will get virtual maps like

[email protected]  [email protected]

and if you set

VIRTUAL_MAILMAN_LOCAL_DOMAIN = 'i_dont_know_what_im_doing'

you will get virtual maps like

[email protected]  listn...@i_dont_know_what_im_doing

I would hope that that would be clear from the comment added to
Defaults.py(.in). I'll add a bit more to try to clarify it.



>and
>
>2. Does this require any mods to postfix/main.cf?


Probably. What I think you want is

VIRTUAL_MAILMAN_LOCAL_DOMAIN = 'lists.example.com'

plus whatever is necessary in Postfix to ensure that Postfix treats
lists.example.com as a local domain, i.e. it must directly or
indirectly be in mydestination.

If you were to put

VIRTUAL_MAILMAN_LOCAL_DOMAIN = 'lists'

in mm_cfg.py, I'm gussing that Postfix would append mydomain and try to
deliver to [email protected] in your case which would
probably fail, unless you also added lists to mydestination in which
case, Postfix might be able to deliver to listn...@lists and would
identify it as such in logs and Received: headers.

-- 
Mark Sapiro <[email protected]>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

------------------------------------------------------
Mailman-Users mailing list [email protected]
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