|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Juan Miscaro (scry_mr
yahoo.ca)
Date: Wed Oct 17 2007 - 08:07:41 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
--- mouss <mlist.only
free.fr> wrote:
> Juan Miscaro wrote:
> > --- mouss <mlist.only
free.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-foo
old-domain.tld new-foo
new-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.
I got it to work using an autoreply shell script (called from a
transport map and defined in master.cf) triggered by a destination
address in a virtual_alias_maps table.
// juan
Ask a question on any topic and get answers from real people. Go to Yahoo! Answers and share what you know at http://ca.answers.yahoo.com
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]