OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: Using PCRE tables in alias_maps

From: Magnus Bäck (magnusdsek.lth.se)
Date: Thu Nov 04 2004 - 03:04:41 CST


On Thursday, November 04, 2004 at 05:28 CET,
     Sergey Proskurnya <alaleygmail.com> wrote:

> but the problem is not related to matching users' emails.
> This works, because if email address does not match the pattern,
> I even can't send the email through Postfix ("local_recipient_maps =
> $alias_maps").
> The problem is that alias does not substituted by its value.

Presumably, the reason is that you've set local_transport to deliver
with LMTP and not local(8).

> Is it possible in theory to have alias maps in PCRE tables or not?
> Possibly I'm just stupid...

You can use any lookup table type for any purpose.

--
Magnus Bäck
magnusdsek.lth.se