On Tue, Aug 28, 2012 at 08:41:28AM -0700, Thufir wrote:
> Is the problem that mailmain isn't picking up the aliases?
> Specifically, alias_maps and alias_database, that there's a mismatch?
> If so, I'm not spotting it.
>
>
>
> root@dur:~#
> root@dur:~# tail /var/log/mail.log
snip
> Aug 28 08:29:29 dur postfix/smtpd[12460]: connect from localhost[127.0.0.1]
> Aug 28 08:29:30 dur postfix/smtpd[12460]: NOQUEUE: reject: RCPT from
> localhost[127.0.0.1]: 550 5.1.1 <[email protected]>: Recipient
> address rejected: User unknown in local recipient table;
> from=<[email protected]> to=<[email protected]>
> proto=ESMTP helo=<dur.bounceme.net>
> Aug 28 08:29:33 dur postfix/smtpd[12460]: disconnect from
> localhost[127.0.0.1]
> root@dur:~#
> root@dur:~# ll /var/lib/mailman/data/
> total 56
> drwxrwsr-x 2 root list 4096 Aug 28 08:28 ./
> 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
> -rw-r--r-- 1 root list 12288 Aug 28 08:28 aliases.db.db
aliases.db.db ?
> -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
snip
> root@dur:~# postconf -n
> alias_database = hash:/var/lib/mailman/data/aliases.db
This is wrong, see here:
http://list.org/mailman-install/postfix-integration.html
Find ".db" on that page.
Note: wrong information at the bottom about "postfix reload". That's
unnecessary when updating a hash: map. Postfix checks the timestamp
of the filename.db and knows immediately when it is changed.
> alias_maps = hash:/etc/aliases, hash:/var/lib/mailman/data/aliases
But this looks right. You could just set:
alias_database = $alias_maps
snip
> relay_domains = lists.example.com
If this is supposed to be the Mailman domain, it should be in
mydestination and not listed here.
Mailman questions and issues would generally be better handled in a
place for Mailman, BTW.
--
http://rob0.nodns4.us/ -- system administration and consulting
Offlist GMX mail is seen only if "/dev/rob0" is in the Subject: