
2010/12/30 Mark Sapiro <mark@msapiro.net>
If your list mail domain is local in Postfix, all you need is alias_maps. If it is not local in Postfix, as indicated by the "User unknown in virtual mailbox table" error, you need to add
POSTFIX_STYLE_VIRTUAL_DOMAINS = ['mydomain.com.my']
to Mailman's mm_cfg.py where mydomain.com.my is your actual list mail domain. Then run Mailman's bin/genaliases and it should create virtual-mailman and virtual-mailman.db.
i changed my mm_cfg.py setting to:
POSTFIX_STYLE_VIRTUAL_DOMAINS = ['mydomain.my']
DEFAULT_URL_HOST = fqdn DEFAULT_EMAIL_HOST = fqdn
i ran genaliases, restarted postfix & mailman but still having the same problem where my email is umarzuki@mydomain.my & the mailserver's hostname is mail-server.mydomain.my
this is what i got from /var/log/maillog
Dec 30 23:03:38 hpj-mail postfix/pipe[4468]: DA5B419C8818: to=<umarzuki@mydomain.my>, relay=dovecot, delay=0.41, delays=0.02/0.02/0/0.37, dsn=2.0.0, status=sent (delivered via dovecot service) Dec 30 23:03:38 hpj-mail postfix/qmgr[3556]: DA5B419C8818: removed Dec 30 23:10:08 hpj-mail postfix/postfix-script[5013]: stopping the Postfix mail system Dec 30 23:10:08 hpj-mail postfix/master[3551]: terminating on signal 15 Dec 30 23:10:09 hpj-mail postfix/postfix-script[5067]: warning: /var/spool/postfix/etc/resolv.conf and /etc/resolv.conf differ Dec 30 23:10:09 hpj-mail postfix/postfix-script[5070]: warning: /var/spool/postfix/etc/hosts and /etc/hosts differ Dec 30 23:10:09 hpj-mail postfix/postfix-script[5074]: starting the Postfix mail system Dec 30 23:10:09 hpj-mail postfix/master[5075]: daemon started -- version 0.6.1, configuration /etc/postfix Dec 30 23:10:38 hpj-mail postfix/pickup[5077]: 2208619C8817: uid=48 from=<umarzuki@mydomain.my> Dec 30 23:10:38 hpj-mail postfix/cleanup[5089]: 2208619C8817: message-id=< 72bd3b85fcef6d005cf3146776d74361@127.0.0.1> Dec 30 23:10:38 hpj-mail postfix/qmgr[5078]: 2208619C8817: from=<umarzuki@mydomain.my>, size=778, nrcpt=1 (queue active) Dec 30 23:10:38 hpj-mail postfix/pipe[5095]: 2208619C8817: to=<test02@mydomain.my>, relay=dovecot, delay=0.65, delays=0.56/0.04/0/0.05, dsn=5.1.1, status=bounced (user unknown) Dec 30 23:10:38 hpj-mail postfix/cleanup[5089]: A321319C8818: message-id=< 20101230151038.A321319C8818@mail-server.mydomain.my> Dec 30 23:10:38 hpj-mail postfix/qmgr[5078]: A321319C8818: from=<>, size=2554, nrcpt=1 (queue active) Dec 30 23:10:38 hpj-mail postfix/bounce[5097]: 2208619C8817: sender non-delivery notification: A321319C8818 Dec 30 23:10:38 hpj-mail postfix/qmgr[5078]: 2208619C8817: removed Dec 30 23:10:39 hpj-mail postfix/pipe[5095]: A321319C8818: to=<umarzuki@mydomain.my>, relay=dovecot, delay=0.35, delays=0.02/0.02/0/0.3, dsn=2.0.0, status=sent (delivered via dovecot service) Dec 30 23:10:39 hpj-mail postfix/qmgr[5078]: A321319C8818: removed
this email server is set to use openldap, not unix users what i want to achieve is to be able to use mailman mailing list even though i'm using openldap for user creation
-- Regards,
Umarzuki Mochlis http://debmal.my