OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: Rewrite the sender address

From: mouss (usebsdfree.fr)
Date: Wed Nov 01 2006 - 16:24:27 CST


enediel gonzalez wrote:
> Hello
> I need to rewrite an specific sender addresss accountserver1.domain
> to accountdomain (fictisious domain in this example)
>
> but after configure the rewrite rules, I still get errors that
> server1.domain doen't exist, I want to put the rewrite before any
> check in my postfix configuration.
>
you can't. you should
- move reject_unknown_sender_domain to after reject_unauth_destination
- remove reject_unknown_recipient_domain

if you really insist on using those, then exclude the domain
server1.example from the checks. too much work I believe.