OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: Virtual user not found - integrating with mailman

From: Robert Michel (newsrobertmichel.de)
Date: Tue Jun 06 2006 - 05:40:22 CDT


Salve Oliver!

On Tue, 06 Jun 2006, Oliver Hookins wrote:

> Hi there,
>
> I've just installed mailman on my server and have configured everything
> to integrate with Postfix and virtual domain aliasing, but I'm having
> some problems getting it to work. Previously I had virtual domain
> aliasing working perfectly with some email addresses in the
> /etc/postfix/virtual file redirecting to local mailboxes or external
> mail addresses.
>
> I have the virtual and alias map settings in postfix set up as follows:
> alias_maps = hash:/etc/aliases, hash:/var/lib/mailman/data/aliases
> virtual_maps = hash:/etc/postfix/virtual,
> hash:/var/lib/mailman/data/virtual-mailman

Have you used the commands _postalias_ and _postmap_ after changing these
files? I do not known postfix well but I do not know, too why my aliases
don't work, even postfix stop/start doesn't help, till I run _postalias_.
postalias /etc/aliases
postmap /etc/postfix/virtual

AFAIunderstood does postfix do not use /etc/aliases /etc/postfix/virtual
directly. postaliases /etc/aliases creates its own db /etc/aliases.db
which is be used by postfix.

man postalias
man postmap

I'm not shure if this is the key, but hopes it helps.

Greetings,
rob