mailman with postfix and virtual mailbox domains
Hello, I have a postfix server running which can handle mail for 3 domains via "virtual mailbox domains". Now I want to use mailman to offer mailinglists for those 3 domains. I read the documentation and found http://www.gnu.org/software/mailman/mailman-install/postfix-virtual.html but this seems only be relevant for "virtual alias domains" which is not what I am using.
How is mailman/posfix supposed to be configured for usage with "virtual mailbox domains" ?
Thanks a lot and greetings,
Gerd Moritz
Gerd Moritz wrote:
I have a postfix server running which can handle mail for 3 domains via "virtual mailbox domains". Now I want to use mailman to offer mailinglists for those 3 domains. I read the documentation and found http://www.gnu.org/software/mailman/mailman-install/postfix-virtual.html but this seems only be relevant for "virtual alias domains" which is not what I am using.
How is mailman/posfix supposed to be configured for usage with "virtual mailbox domains" ?
As you have discovered, Mailman/Postfix integration with Postfix virtual domains uses virtual alias domains, not virtual mailbox domains. If you want/need to use virtual mailbox domains, I'm afraid at this point you're on your own.
Mailman supports two delivery methods. The normal method is delivery to a command via a pipe using aliases or some programmatic transport in some MTAs which support it. This is not delivery to a mailbox, so virtual mailbox domains will not support this.
The other method is delivery to a MAILDIR. See the comments both before and after the line "USE_MAILDIR = No" in Defaults.py. It is possible to use MAILDIR delivery for addresses in virtual mailbox maps, so you can probably set this up, but you would have to modify Mailman/MTA/Postfix.py to generate the proper maps or maintain them manually.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
I have found kind of a solution which is not very elegant but gets the job done. I now use "transport_maps" in postfix with regular expressions like
/^(mylist|mylist-.*)@mydomain\.net$/ mailman:
In mm_cfg.py for now I set "MTA=None" but maybe I can edit /usr/lib/mailman/Mailman/MTA/Postfix.py so that it will update my "virtual-mailbox-maps". Right now I manually edit "virtual-mailbox-maps" with regexp like
/^(mylist|mylist-.*)@mydomain\.net$/ 1
so that my SMTP accepts mails to my lists.
participants (2)
-
Gerd Moritz
-
Mark Sapiro