OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Subject: A question on explicit forwarding without DNS query
From: bert hubert (ahuds9a.nl)
Date: Thu Jun 08 2000 - 09:29:38 CDT


Hi everybody,

I've researched this somewhat, but have not been able to find a working
solution so far, I hope that you can help me.

When I receive mail for a user, I need to do one of three things,
dependent on what I lookup in my database:

        A Forward the mail to another address, as found in the database
        B Bounce it
        C Ship it off to a closed source, very proprietary windows NT mail
          system, without changing the RCPT To (envelope sender) address

Currently all mail goes to this closed source system, and it is not expected
to be modifiable in any way. Options A and B are easy to implement, but I
have not found a way to get postfix to perform C.

Our lookup is implemented as a mapping type, like this:

virtual_maps = ourmap:none

Ourmap is fed a local user name ('ahuds9a.nl' would be 'ds9a.nl..ahu'), and
it needs to return some kind of magic in order to generate behaviour C.

I suspect that this is possible in combination with fallback_transport and
luser_relay and %-hacks, but how?

If this all works out, postfix will soon have 3 million more users.. Step C
is an intermediate before we move over to an all Unix solution, because we need
to migrate slowly in order to determine scaling issues.

Thanks for your attention!

Regards,

Bert Hubert

-- 
                       |              http://www.rent-a-nerd.nl
                       |                     - U N I X -
                       |          Inspice et cautus eris - D11T'95