[Mailman-Users] problem with mailman handling incomming mail

Maxime Longuepee shatter at shatter.ws
Sat Jun 4 15:30:14 CEST 2011


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-list at 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=<my at email.com> 
to=<name-of-the-list??@myotherdomain.org> proto=ESMTP helo=<[MY.IP]>

Thanks a lot in advance for helping me!

-- Maxime Longuepee


More information about the Mailman-Users mailing list