You are not logged in.
I have a working configuration of Postfix, MySQL using virtual domains. I want to set up mailman. I have created a new domain called lists.wilkesley.org for the purpose, that will only handle mailman emails. I have installed mailman, but am having trouble getting postfix to deliver mail to mailman lists. The Postfix error is::
an 24 13:20:33 wilkesley postfix/smtpd[24049]: NOQUEUE: reject: RCPT from mail-ww0-f51.google.com[74.125.82.51]: 450 4.1.1 <parishcouncil@lists.wilkesley.org>: Recipient address rejected: User unknown in relay recipient table; from=<geekinthesticks@gmail.com> to=<parishcouncil@lists.wilkesley.org> proto=ESMTP helo=<mail-ww0-f51.google.com>
My mm_cfg.py is:
MTA = 'Postfix'
DEFAULT_EMAIL_HOST = 'lists.wilkesley.org'
DEFAULT_URL_HOST = 'lists.wilkesley.org'
VIRTUAL_HOSTS.clear()
add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)
POSTFIX_STYLE_VIRTUAL_DOMAINS = ['lists.wilkesley.org']
DEFAULT_URL_PATTERN = 'http://%s/mailman/'
PUBLIC_ARCHIVE_URL = 'http://%(hostname)s/archives/%(listname)s'In master.cf I have:
mailman unix - n n - - pipe flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py ${nexthop} ${user}The relevant bits of main.cf are:
# mailman
relay_domains = $mydestination, lists.wilkesley.org
relay_recipient_maps = hash:/var/lib/mailman/data/virtual-mailman
transport_maps = hash:/etc/postfix/transport
mailman_destination_recipient_limit = 1
# Virtual Mailbox Domain Settings
virtual_alias_maps = mysql:/etc/postfix/mysql_virtual_alias_maps.cf, hash:/var/lib/mailman/data/virtual-mailman
virtual_mailbox_domains = mysql:/etc/postfix/mysql_virtual_domains_maps.cf
virtual_mailbox_maps = mysql:/etc/postfix/mysql_virtual_mailbox_maps.cfI think I am missing something obvious and simple, but can't see what it is!
[Edited to insert code tags as sugested].
Last edited by geekinthesticks (2012-01-24 13:54:52)
Offline
I think I am missing something obvious and simple, but can't see what it is!
They're called code tags ![]()
I can't help with the problem directly, but those who can will probably be more inclined to do so if you include file contents of command output in [ code ] ... [ /code ] tags to keep it clean and readable.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline