Postfix + Mailman - unknown user
AlexanDER Franca
alexander at nautae.eti.br
Thu Mar 27 04:01:32 UTC 2008
Hi.
Sorry for my horrible english. I'll try write not too much.
I'm installing Mailman with Postfix (ok, I'm using Ubuntu Server - kernel 2.6.20).
All running fine. I can create new lists, remove, confirm by email, etc.
But, if I create a subdomain, I can't use email commands (like 'list-subscribe', etc) and any messages to list don't work.
For example, if I send an email to test8-subscribe at lists.onesubdomain.itsmydomain.com, I receive from Postfix log:
... to=<test8-subscribe at host1.onesubdomain.itsmydomain.com>, relay=local, delay=0.08, delays=0.06/0/0/0.02, dsn=5.1.1, status=bounced (unknown user: "test8-subscribe") ...
Of course I can see "relay=local" what mean Postfix is not using Mailman to deliver that message.
And I can see too "host1.onesubdomain.itsmydomain.com" and not "lists.onesubdomain.itsmydomain.com",
If I go back in my configurations and remove all configurations about 'lists', all work fine (in fact I don't test email commands, but the maillist work fine - with subdomain lists... don't).
Ok, ok, it's all about virtual domains, blah, blah.
But... is quite cool the way of integration between Mailman and Postfix without aliases and virtual_domains when we just use 'postfix-to-mailman.py'.
But, isn't work for me.
Can someone look at my files and tell me what i'm doing wrong?
Is it work with someone?
So... I wrote step by step the instructions in postfix-to-mailman.py.
Here's my configurations:
/etc/postfix/main.cf
---------------------------------------------------------------------------------------------------------
local_recipient_maps =
myhostname = host1.onesubdomain.itsmydomain.com
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = host1.onesubdomain.itsmydomain.com, localhost.onesubdomain.itsmydomain.com, , localhost
relayhost =
mynetworks = 127.0.0.0/8
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
relay_domains = lists.onesubdomain.itsmydomain.com
transport_maps = hash:/etc/postfix/transport
mailman_destination_recipient_limit = 1
/etc/postfix/master.cf
---------------------------------------------------------------------------------------------------------
mailman unix - n n - - pipe
flags=FR user=list argv=/var/lib/mailman/bin/postfix-to-mailman.py
${nexthop} ${mailbox}
/etc/postfix/transport
-------------------------------------------------------------------------------------------------------
lists.onesubdomain.itsmydomain.com mailman:
# Of course, run: postmap /etc/postfix/transport (the file transport.db was generated).
/etc/mailman/mm_config.py
-------------------------------------------------------------------------------------------------------
DEFAULT_EMAIL_HOST = 'host1.onesubdomain.itsmydomain.com'
DEFAULT_URL_HOST = 'host1.onesubdomain.itsmydomain.com'
MTA=None # Misnomer, suppresses alias output on newlist
DEB_LISTMASTER = 'postmaster at lists.onesubdomain.itsmydomain.com'
$ restart postfix
$ restart mailman
$ send email (by my home machine, not inside mail server) to "test8-subscribe at lists.onesubdomain.itsmydomain.com", Postfix croac:
... to=<test8-subscribe at host1.onesubdomain.itsmydomain.com>, relay=local, delay=0.08, delays=0.06/0/0/0.02, dsn=5.1.1, status=bounced (unknown user: "test8-subscribe") ...
[]'s
Alexander
More information about the ubuntu-users
mailing list