[Web-cyradm] Mailman & Web-Cryadm

rosander rosander at owbn.org
Mon Apr 5 16:08:57 CEST 2004


Tim Schaab wrote:

> Howdy,
>
> I have mailman setup on my server.  I have a problem with the multiple 
> domain setup with Postfix and Web-cyradm that is causing the mailing 
> lists to not obey their intended address.  For instance, lets say I 
> define the maillist example1 at madweb.org and also host email for 
> madtown.cc on the same server.  If I send an email to 
> example1 at madtown.cc, the mail gets sent to the mailing list, even 
> though it's not the entirely correct address.
>
> Has anyone out there experienced this problem and/or know a way to 
> work around it?
>
> Cheers,
>
> Tim


I had this problem also durring setup. The key lies in the mailman 
config section. Without seeing your conf file's I can't say for sure. 
Take a close look at these area's

<pathtomailman>/Mailman/mm_cfg.py

should have the following variables defined.
POSTFIX_STYLE_VIRTUAL_DOMAINS = ['domain1.com', 'domain2.com']
DEFAULT_ADMIN_MEMBER_CHUNKSIZE = '50'
VIRTUAL_HOSTS = { 'www.domain1.com': 'domain1.com', 'www.domain2.com': 
'domain2.com',}
##postfix conf
main.cf



virtual_alias_maps = mysql:/etc/postfix/mysql-virtual.cf,
    proxy:hash:/usr/local/mailman/data/virtual-mailman
proxy_read_maps = proxy:hash:/usr/local/mailman/data/virtual-mailman
local_recipient_maps = mysql:/etc/postfix/mysql-virtual.cf,
    proxy:hash:/usr/local/mailman/data/virtual-mailman,
    $alias_maps
alias_database = hash:/etc/mail/aliases
alias_maps = hash:/etc/mail/aliases,
    hash:/usr/local/mailman/data/aliases


### Proxy maps is the best way to handle read calls by postfix to the 
mailman alias lists. These settings also facilitate bounce at smtpd 
instead of local delivery. helps cut down on the bs mail traffic.

Ross Anderson
Lead Engineer
Guthrie Theater



More information about the Web-cyradm mailing list