
Umarzuki Mochlis wrote:
i changed my mm_cfg.py setting to:
POSTFIX_STYLE_VIRTUAL_DOMAINS = ['mydomain.my']
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
You should have the following in mm_cfg.py
DEFAULT_URL_HOST = 'hosts.web.domain' DEFAULT_EMAIL_HOST = 'hosts.email.domain' VIRTUAL_HOSTS.clear() add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST) MTA = 'Postfix' POSTFIX_STYLE_VIRTUAL_DOMAINS = ['hosts.email.domain']
Then run
/path/to/bin/withlist -l -a -r fix_url /path/to/bin/genaliases
If that doesn't fix the problem, post the output from
postconf -n
this is what i got from /var/log/maillog
[...]
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)
I don't think you can use the Dovecot LDA for list mail.
See the FAQ at <http://wiki.list.org/x/ZoCj> for a way to automate generation of a transport_maps table to use the Postfix local delivery agent for list mail.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan