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:51:41 CDT


Juan Miscaro wrote:
> --- mouss <mlist.onlyfree.fr> wrote:
>
>> 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).
>
>
> A simple test made that painfully aware.
>
>
>> if you can use vacation, then it's a good choice.
>
>
> Why wouldn't I be able to use vacation? BTW, I forgot to mention that
> I am using a virtual mailbox domain.
>

vacation wants a $HOME/...
you may be able to cheat with -a and -d (not sure this is the flag for
the database) and maybe set the HOME variable, but I didn't test this.

>
>> 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....).
>
>
> Gotcha.
>
> // juan
>