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_alias_maps

From: LuKreme (kremelskreme.com)
Date: Mon Mar 09 2009 - 14:18:28 CDT


On 9-Mar-2009, at 06:31, Noel Jones wrote:
> LuKreme wrote:
>> On 8-Mar-2009, at 19:39, Sahil Tandon wrote:
>>> What happens if you set:
>>>
>>> virtual_alias_domains =
>>>
>>> in main.cf?
>> Then all mail to local (non virtual) users bounces with a Relay
>> access denied error.
>
> Sounds as if you have (unintentionally)? defined all your local
> domains as virtual_alias_domains.

virtual_alias_maps =
     hash:/usr/local/etc/postfix/virtual,
     pcre:/usr/local/etc/postfix/virtual.pcre,
     mysql:/usr/local/etc/postfix/mysql_virtual_alias_maps.cf

this has been working for a year until 2.5.6

Just to be clear, the only thing that is not working is .. oh wait

Never mind. Everything is working 100%, I simply forgot how I
configured everything.

The domain 'southgaylord.com' *IS* a virtual domain. I have two
legacy email addresses in that domain that were setup to deliver, via
an alias in the virtual domain, to local user accounts. All fixed now.

--
Nihil est--in vita priore ego imperator Romanus fui.