[Mailman-Users] mailman postfix ldap virtual user

Gökhan Alkan cigalkan at gmail.com
Sun Dec 9 12:14:19 CET 2012

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

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

virtual_alias_maps = hash:/etc/mail/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'



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

But when i send to the test at 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
test at example.com")

Best Regards

More information about the Mailman-Users mailing list