Hi all

I have searched the list archives but i can't send email to the any mail
list which handled by mailman. User backend is ldap and there is no local
user on the server and there are 4 virtual domains. Postfix
main.cfconfiguration is below and also hostname ise
mail.example.com.

# vi /etc/postfix/main.cf
...
...
mydestination = $myhostname, localhost.$mydomain, localhost
mydomain = example.com
myhostname = mail.example.com

virtual_alias_maps = hash:/etc/mail/aliases,
hash:/usr/local/mailman/data/aliases
virtual_gid_maps = static:501
virtual_mailbox_base = /home/
virtual_mailbox_domains = example.com, example.org
virtual_mailbox_maps = ldap:/etc/postfix/ldap-users.cf
virtual_transport = dovecot
...
...

Mailman mm_cfg.py is below

# vi /usr/lib/mailman/Mailman/mm_cfg.py

MTA = 'Postfix'

DEFAULT_EMAIL_HOST = 'example.com'
DEFAULT_URL_HOST = 'mail.example.com'

VIRTUAL_HOSTS.clear()
add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)

POSTFIX_STYLE_VIRTUAL_DOMAINS = ['example.com']

DEFAULT_URL_PATTERN = 'http://%s/'
PUBLIC_ARCHIVE_URL = 'http://%(hostname)s/archives/%(listname)s'


But when i send to the t...@example.com mail list adresses , postfix
returns to me  "unknown user"  and when i look at the postfix log deeper,
it seems

# tail -f /var/log/postfix.log
...
status=bounced (unknown user: "|/usr/lib/mailman/mail/mailman post
t...@example.com")
...


Best Regards
------------------------------------------------------
Mailman-Users mailing list Mailman-Users@python.org
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