Hi everyone. I just set up a mailman installation and almost everything is working as expected.
However everytime i create a new mailing list mailman prints the following warning: postmap: warning: /var/lib/mailman/data/virtual-mailman.db: duplicate entry: "mail...@lists.example.org" Indeed the virtual-mailman file generated by mailman contains multiple mail...@lists.example.org entries: ------------ file: virtual-mailman ------------ # This file is generated by Mailman, and is kept in sync with the binary hash # file virtual-mailman.db. YOU SHOULD NOT MANUALLY EDIT THIS FILE unless you # know what you're doing, and can keep the two files properly in sync. If you # screw it up, you're on your own. # # Note that you should already have this virtual domain set up properly in # your Postfix installation. See README.POSTFIX for details. # LOOP ADDRESSES START mailman-l...@lists.example.org mailman-loop@localhost # LOOP ADDRESSES END # We also add the site list address in each virtual domain as that address # is exposed on admin and listinfo overviews. # SITE ADDRESSES START mail...@lists.example.org mailman # SITE ADDRESSES END # STANZA START: mailman # CREATED: Wed Apr 13 16:33:48 2016 mail...@lists.example.org mailman@localhost mailman-ad...@lists.example.org mailman-admin@localhost mailman-boun...@lists.example.org mailman-bounces@localhost mailman-conf...@lists.example.org mailman-confirm@localhost mailman-j...@lists.example.org mailman-join@localhost mailman-le...@lists.example.org mailman-leave@localhost mailman-ow...@lists.example.org mailman-owner@localhost mailman-requ...@lists.example.org mailman-request@localhost mailman-subscr...@lists.example.org mailman-subscribe@localhost mailman-unsubscr...@lists.example.org mailman-unsubscribe@localhost # STANZA END: mailman --------- end of file: virtual-mailman -------- Why does that happen? Additionaly mailman didn't append @localhost to the alias in the site adresses block which causes postfix to append @example.org which leads to the invalid alias mail...@example.org. I'm using Mailman version 2.1.21. This is my is my configuration: --------------- file: mm_cfg.py --------------- from Defaults import * DEFAULT_URL_HOST = 'lists.example.org' DEFAULT_EMAIL_HOST = 'lists.example.org' VIRTUAL_MAILMAN_LOCAL_DOMAIN = 'localhost' VIRTUAL_HOSTS.clear() add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST) POSTFIX_STYLE_VIRTUAL_DOMAINS = ['lists.example.org'] DEFAULT_URL_PATTERN = 'http://%s/' PUBLIC_ARCHIVE_URL = 'http://%(hostname)s/archives/%(listname)s' MTA = 'Postfix' ------------ end of file: mm_cfg.py ----------- What am I doing wrong? Manuel ------------------------------------------------------ Mailman-Users mailing list Mailman-Users@python.org https://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: https://mail.python.org/mailman/options/mailman-users/archive%40jab.org