OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Subject: Re: Alias "loop" problem, on migrating from sendmail
From: Wietse Venema (wietseporcupine.org)
Date: Fri Mar 17 2000 - 08:12:38 CST


Clive Jones:
> I've finally found the time this week to move the mail system here
> from sendmail to postfix, having already run postfix on my home
> system for over a year.
>
> Things went pretty smoothly, but I still have one difficulty -
> some enties in the aliases file that worked perfectly under
> sendmail, give problems under postfix.

With sendmail, an address without domain is equivalent to usermy.host.name.

With Postfix, an address without domain is equivalent to user$myorigin.

IF $myorigin is not listed in mydestination, THEN you must update
local aliases and add localhost to right-hand side addresses.

        Wietse

> I have a local user, flump. In /etc/aliases, I have lines:
> flump2: \flump
> flump3: some-other-user
> flump: flump2,flump3
>
> I would expect the address flump to be alias-mapped to flump2 and
> flump3, where flump2 is in turn is alias-mapped to the *local*user*
> flump. This shouldn't be an aliasing loop, and indeed isn't one
> for sendmail.
>
> Under postfix, however, e-mail to flump bounces with:
> <flump2dgw.co.uk>: possible alias database loop for flump2
>
> I can see a workaround - change the flump: line to:
> flump: \flump,flump3
> ...but for the number of cases like this which occur, this is
> slightly cumbersome and error-prone. Is there a way to fix
> postfix's behaviour?
>
> Thanks,
>
> --Clive.
>
>
>
>
>