On 09/10/2013 06:15 AM, renaud courvoisier wrote:
> just installed mailman and integrated it to postfix,
> I tried to send a test mail to the list and recieved this error message :
> 
> Undelivered Mail Returned to Sender
> <lo...@mydomain.tld> (expanded from <mail...@listes.mydomain2.tld>):
> unknown user: "local"
> 
> in my /var/lib/mailman/data/transport-mailman I've :
> # STANZA START: mailman
> # CREATED: Mon Sep  9 13:25:54 2013
> mail...@listes.mydomain2.tld              local
> mailman-ad...@listes.mydomain2.tld        local
> mailman-boun...@listes.mydomain2.tld      local
> mailman-conf...@listes.mydomain2.tld      local
> mailman-j...@listes.mydomain2.tld         local
> mailman-le...@listes.mydomain2.tld        local
> mailman-ow...@listes.mydomain2.tld        local
> mailman-requ...@listes.mydomain2.tld      local
> mailman-subscr...@listes.mydomain2.tld    local
> mailman-unsubscr...@listes.mydomain2.tld  local
> # STANZA END: mailman
>
> I also have a /var/lib/mailman/data/virtual_to_transport script :
> #!/bin/sh
> sed -r -e 's/(^[^#]\S+\s+).+$/\1local/' $1 \
>  > /var/lib/mailman/data/transport-mailman
> /usr/sbin/postmap /var/lib/mailman/data/transport-mailman


Are you following the FAQ at <http://wiki.list.org/x/ZoCj>? That is only
for very unusual situations.


> A postconf -n reply :
...
> virtual_alias_maps =
> mysql:/etc/postfix/mysql_virtual_alias_maps.cf,hash:/var/lib/mailman/data/transport-mailman


The above appears to be the problem. The transport-mailman file is a
transport map, not a virtual alias map. the file referenced in
virtual_alias_maps should be virtual-mailman, but exactly how that plays
with your transport_maps is unclear.


What's in mm_cfg.py?

See <http://www.list.org/mailman-install/node12.html> for the
recommended way to to this without transport maps for Mailman.

-- 
Mark Sapiro <m...@msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan
------------------------------------------------------
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

Reply via email to