|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Magnus Bäck (magnus
dsek.lth.se)
Date: Tue Mar 06 2007 - 13:43:39 CST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Tuesday, March 06, 2007 at 12:10 CET,
jacusy <jacusy
gmx.net> wrote:
> I have a mail gateway for an active directory server. I configured
> my linux box to fetch all (?) valid email adresses in format
> blabla
example.com OK
>
> But if I configure postfix to reject every invalid user (and this is
> done by activating the relay_recipient_map), perhaps I reject some
> mail which is valid. So I would like to test the configuration by
> redirecting every rejected mail to my account.
Every message that would have been rejected, you mean.
> But how to implement this? Do I need a line like
>
example.com REDIRECT jacusy
example.com
>
> to redirect all invalid users of domain example.com to me in the map
> file (relay_recipients_map)?
No, but a virtual table like this one would do it:
validuser1
example.com validuser1
example.com
validuser2
example.com validuser2
example.com
...
validuserN
example.com validuserN
example.com
example.com you
example.com
--
Magnus Bäck
magnus
dsek.lth.se
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]