OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: advice on automatic replies

From: mouss (mlist.onlyfree.fr)
Date: Tue Oct 16 2007 - 12:21:09 CDT


Benny Pedersen wrote:
> On Tue, October 16, 2007 18:21, Juan Miscaro wrote:
>
>> I'm running postfix 2.3.2 and courier-imap 3.0.5 on OpenBSD 4.0.
>
> relocated_maps = hash:/etc/postfix/relocated
>
> # relocated
> old-fooold-domain.tld new-foonew-domain.tld
>
> postmap relocated
> postfix reload
>
> as i read it it is exactly what you want
>

no, relocated will "reject" the mail. OP wants the mail to be delivered
to the user (probably forwarded).

if you can use vacation, then it's a good choice.

don't try to script this in maildrop unless you know what you are doing.
  This is harder than it looks (which is why there are a lot of broken
outscatters....).