|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
domain user' + relocated tvirtual domain + '
domain user' + relocated table
Subject: virtual domain + '
domain user' + relocated table
From: Adam Hirsch (adam
baz.org)
Date: Tue Dec 14 1999 - 18:23:59 CST
- Next message: Wietse Venema: "Re: Postfix on Linux"
- Previous message: Gael Martinez: "Re: Postfix and ip v6"
- Reply: LaMont Jones: "Re: virtual domain + '
domain user' + relocated table"
- Reply: Wietse Venema: "Re: virtual domain + '
domain user' + relocated table"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
The short version: using '
domain user' in the virtual table allows rewrite
to grab mail early that I'd like to match (and bounce) later in the
relocated table. I can make it work with a fictitious specific local user,
but that changes the bounce message to refer to $myorigin rather than the
virtual domain concerned.
The actual scenario:
I've got a virtual domain (foo.org) on my machine, and a user who currently
receives all mail sent to that virtual domain, like so:
foo.org foo
foo.org jeffrey
Now, jeffrey acquired this domain from someone else who had a working
address in foo.org for a bit. The address (quux) still receives mail from
time to time, and jeffrey would like mail to quux
foo.org to get a
relocated message, but all other mail to still file through to him.
"A-ha," say I, "I can do this using the relocated table, like so!"
quux
foo.org quux
home.com
Problem is, rewrite consults the virtual table before the relocated table,
so jeffrey still gets the mail for quux.
"Okay," sez I, "I'll set up the virtual table like so:"
foo.org foo
quux
foo.org quux
foo.org jeffrey
"and then I'll have my relocated table like so:"
quux quux
home.com
This *almost* works the way I want it -- jeffrey gets all the mail for the
domain except that for quux, which gets a relocated message... except the
system now sends mail saying that quux
baz.org (which is $myorigin) has
moved, which isn't quite true.
I figure this must be doable and that I've just missed the permutation to
do it... any thoughts?
A
-- Life and love are life and love, a bunch of violets is a bunch of violets, and to drag in the idea of a point is to ruin everything. Live and let live, love and let love, flower and fade, and follow the natural curve, which flows on, pointless. -D.H.Lawrence <adambaz.org>
- Next message: Wietse Venema: "Re: Postfix on Linux"
- Previous message: Gael Martinez: "Re: Postfix and ip v6"
- Reply: LaMont Jones: "Re: virtual domain + '
domain user' + relocated table"
- Reply: Wietse Venema: "Re: virtual domain + '
domain user' + relocated table"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
This archive was generated by hypermail 2b27 : Tue Dec 14 1999 - 18:25:37 CST