OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: nexthop picked by custom rewrite service gets overwritten with default nexthop

From: cross eyed (tiredofheadersyahoo.com)
Date: Mon Jan 03 2005 - 17:28:25 CST


--- Wietse Venema <wietseporcupine.org> wrote:

> What problem are you really trying to solve?

I'm trying to create a way to deliver mail thru one of
two different SMTP relays. The relay that is chosen
will be determined by an extension my app adds to the
address.

So, mail to userexample.com will take the "normal"
route: my internal application will send the mail to
the Postfix relay which will send it to the MX for
example.com.

Conversely, mail to user+++fooexample.com (address
will also be generated by my internal app) will get
sent to the Postfix relay which will "see" the +++foo
added onto the address and pick another transport (a
3rd party email delivery company we've contracted
with). In addition to sending the mail thru the 3rd
party relay I want to rewrite the address to remove
the +++foo, and probably remove any Received by
headers that contain the +++foo extension.

The reasoning behind this is that we want to send out
normal transactional email messages ourselves. However
for messages that could even remotely be considered
unsolicited (even though all users have opted in) we
want another provider to deliver the mail.

thanks for the help!

-samson

        
                
__________________________________
Do you Yahoo!?
Yahoo! Mail - You care about security. So do we.
http://promotions.yahoo.com/new_mail