OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: aliases AND relay_recipients?

From: mouss (moussnetoyen.net)
Date: Fri Mar 21 2008 - 19:12:17 CDT


Jay Chandler wrote:
> I'm attempting to configure a gateway mailserver.
>
> I have a number of addresses mapped in relay recipients, and that is
> working correctly-- however, I've attempted to add a few aliases in
> /etc/aliases, run the newaliases command-- and they are summarily
> ignored with a:
>
> 550 5.1.1 <fpopereachlocal.com>: Recipient address rejected: User
> unknown in relay recipient table
>
> How do I set the box to accept users from both locations?

/etc/aliases only work for local mail (domains listed in mydestination).
you should use virtual_alias_maps. for example:

fpopereachlocal.com fooexample.org

virtual_alias_maps work for all domains (including domains that you
don't manage, such as gmail, yahoo, ...).