Mark Sapiro a écrit :
On 6/2/11 8:13 AM, Maxime Longuepee wrote:
Here is the output of postconf -n:

[...]
virtual_alias_maps =
mysql:$config_directory/mysql_virtual_alias_maps.cf,hash:/usr/local/mailman/data/aliases


This is wrong. You need to add hash:/usr/local/mailman/data/aliases to
alias_maps, not to virtual_alias_maps. Probably something like

alias_maps = hash:/etc/aliases, hash:/usr/local/mailman/data/aliases

Then you need

virtual_alias_maps =
mysql:$config_directory/mysql_virtual_alias_maps.cf,hash:/usr/local/mailman/data/virtual-mailman

and if it isn't already there, you need

POSTFIX_STYLE_VIRTUAL_DOMAINS = ['mail.mydomain.org']

in mm_cfg.py, and if that wasn't already there, you need to run
Mailman's bin/genaliases to create the virtual-mailman* files.

Hi Mark,

Thanks a lot, it's working perfectly!!!

Now, if I want to add a mailing list with another domain name i own (it's hosted on the same machine), what should i do? I tryed to add a new mailing list specifying the domain name with

/usr/local/mailman/bin/newlist name-of-the-l...@myotherdomain.org

I can access the administration page over the web interface but when i send an email to that address, i get an error (here is the postfix log):

postfix/smtpd[94206]: NOQUEUE: reject: RCPT from myhome.org[MY.IP]: 550 5.1.1 <name-of-the-list @myotherdomain.org>: Recipient address rejected: User unknown in virtual mailbox table; from=<m...@email.com> to=<name-of-the-list??@myotherdomain.org> proto=ESMTP helo=<[MY.IP]>

Thanks a lot in advance for helping me!

-- Maxime Longuepee
------------------------------------------------------
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