Hey,

I want to forward certain emails through a smarthost. What makes this a bit
more complicated is that I want to make this depended on the *initial*
recipient address.

One of my problems was coming up with good google keywords so I'm trying to
explain the situation:

A) Exim receives email for [email protected]. This email should go through a
   smarthost even if there is a redirect somewhere in the middle (e.g. a
   forward file). So if [email protected] is redirected to [email protected]
   it should still go through the smarthost.
B) If Exim receives an email for [email protected] it should try sending it
    directly UNLESS the initial recipient was [email protected].

So my question is if the initial recipient is available in some variable? Or
alternatively could I use one of the built-in redirect options (e.g. .forward)
and somehow "tag" the resulting email/address so I can query that later on in
the routing process?

thanks,
fs

-- 
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to