[Mailman-Users] Recipient address rejected: User unknown inlocal recipient table;

Mark Sapiro mark at msapiro.net
Wed Aug 29 03:29:38 CEST 2012


Thufir <hawat.thufir at gmail.com>
   Date: Tue, 28 Aug 2012 09:17:49 -0700
     To: mailman-users at python.org

>I'm just not sure whether the problem rests with the transport or 
>alias_maps and alias_database -- alias_maps points to an empty file.


If you are using aliases, there should be no transport for Mailman. You
want the default Postfix local transport, not postfix_to_mailman.py
and no dovecot LDA.


>Pardon the repost of similar data.  Here's a slightly edited version, 
>minor correction in naming conventions:
>
>
>     root at dur:~#
>     root at dur:~# grep alias /etc/postfix/main.cf
>     alias_maps = hash:/etc/aliases, hash:/var/lib/mailman/data/aliases
>     alias_database = hash:/var/lib/mailman/data/aliases
>     #alias_database = hash:/etc/aliases
>     root at dur:~#
>     root at dur:~# postmap -v /etc/postfix/transport
>     postmap: name_mask: all
>     postmap: inet_addr_local: configured 2 IPv4 addresses
>     postmap: inet_addr_local: configured 2 IPv6 addresses
>     postmap: open hash /etc/postfix/transport
>     postmap: Compiled against Berkeley DB: 5.1.25?
>     postmap: Run-time linked against Berkeley DB: 5.1.25?
>     root at dur:~#
>     root at dur:~# cat /etc/postfix/transport
>     lists.dur.bounceme.net      mailman:
>     root at dur:~#
>     root at dur:~# cat /var/lib/mailman/data/aliases
>     root at dur:~#
>     root at dur:~# ll /var/lib/mailman/data/
>     total 44
>     drwxrwsr-x 2 root list  4096 Aug 28 08:48 ./
>     drwxrwsr-x 8 root list  4096 Aug 27 19:58 ../
>     -rw-r--r-- 1 root list     0 Aug 28 04:36 aliases
>     -rw-r--r-- 1 root list 12288 Aug 28 04:36 aliases.db


See my reply to your OP in this thread.


>     -rw-r----- 1 root list    41 Aug 27 21:04 creator.pw
>     -rw-rw-r-- 1 root list    10 Aug 27 19:58 last_mailman_version
>     -rw-r--r-- 1 root list 14100 Oct 19  2011 sitelist.cfg
>     root at dur:~#
>     root at dur:~# ll /etc/aliases
>     -rw-r--r-- 1 root list 1852 Aug 27 21:18 /etc/aliases
>     root at dur:~#
>     root at dur:~# cat /etc/aliases
>     usenet: root
>
>     ## mailman mailing list
>     mailman:              "|/var/lib/mailman/mail/mailman post mailman"
>     mailman-admin:        "|/var/lib/mailman/mail/mailman admin mailman"
>     mailman-bounces:      "|/var/lib/mailman/mail/mailman bounces mailman"
>     mailman-confirm:      "|/var/lib/mailman/mail/mailman confirm mailman"
>     mailman-join:         "|/var/lib/mailman/mail/mailman join mailman"
>     mailman-leave:        "|/var/lib/mailman/mail/mailman leave mailman"
>     mailman-owner:        "|/var/lib/mailman/mail/mailman owner mailman"
>     mailman-request:      "|/var/lib/mailman/mail/mailman request mailman"
>     mailman-subscribe:    "|/var/lib/mailman/mail/mailman subscribe 
>mailman"
>     mailman-unsubscribe:  "|/var/lib/mailman/mail/mailman unsubscribe 
>mailman"
>
>
>     ## gmane.mail.mailman.user.1 mailing list
>     gmane.mail.mailman.user.1: 
>"|/var/lib/mailman/mail/mailman post gmane.mail.mailman.user.1"
>     gmane.mail.mailman.user.1-admin: 
>"|/var/lib/mailman/mail/mailman admin gmane.mail.mailman.user.1"
>     gmane.mail.mailman.user.1-bounces: 
>"|/var/lib/mailman/mail/mailman bounces gmane.mail.mailman.user.1"
>     gmane.mail.mailman.user.1-confirm: 
>"|/var/lib/mailman/mail/mailman confirm gmane.mail.mailman.user.1"
>     gmane.mail.mailman.user.1-join: 
>"|/var/lib/mailman/mail/mailman join gmane.mail.mailman.user.1"
>     gmane.mail.mailman.user.1-leave: 
>"|/var/lib/mailman/mail/mailman leave gmane.mail.mailman.user.1"
>     gmane.mail.mailman.user.1-owner: 
>"|/var/lib/mailman/mail/mailman owner gmane.mail.mailman.user.1"
>     gmane.mail.mailman.user.1-request: 
>"|/var/lib/mailman/mail/mailman request gmane.mail.mailman.user.1"
>     gmane.mail.mailman.user.1-subscribe: 
>"|/var/lib/mailman/mail/mailman subscribe gmane.mail.mailman.user.1"
>     gmane.mail.mailman.user.1-unsubscribe: 
>"|/var/lib/mailman/mail/mailman unsubscribe gmane.mail.mailman.user.1"



These aliases should not be in /etc/aliases. If you configure things as
I've said, they will be in /var/lib/mailman/data/aliases.

>
>     root at dur:~#
>     root at dur:~# grep mailman /etc/postfix/master.cf
>     mailman   unix  -       n       n       -       -       pipe
>       flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py


Get rid of this. It is incompatible with alias delivery.

-- 
Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan



More information about the Mailman-Users mailing list