[exim] Special routing for incoming non-SMTP mail: help need…

Top Page
Delete this message
Reply to this message
Author: Mike Brudenell
Date:  
To: exim-users
Subject: [exim] Special routing for incoming non-SMTP mail: help needed urgently
Greetings -

I've just realised I have a problem with a couple of new mail servers
I'm bringing into service very shortly. These are being added to our
existing cluster of servers. Whilst the new machines can deliver
mail for any user whose mailbox is stored on them they can't deliver
mail for users not stored on them(!).

Our mail hubs route incoming messages to the right mail server for a
recipient. However I have just realised that a delivery failure (eg,
quota exceeded) on a new server may need to go back to someone who is
NOT on the new servers, but on one of the originals.

That means I don't want Exim on the new server to attempt delivery of
the delivery failure message, but instead route it back to the mail
hubs.

Obviously this is a case for manual_route, but... How do I detect
whether:

   * the message arrived using non-SMTP (I'm hoping this will  
indicate a failure
     message that Exim is generating and wanting to return!) -- in  
which case
     I want to route it to the mail hubs, or


   * the message arrived over SMTP (ie, from the mail hubs) -- in  
which case
     it needs to be delivered.


I'm *sure* I remember Philip mentioning how to test whether a message
arrived over SMTP or not during the course, but I currently I can't
locate the information.

Can anyone help, please?

Cheers,
Mike B-)

PS. The note of anxiety is because I've pretty much only got today to  
sort this
     last(?) problem out now!  :-}


--
The Computing Service, University of York, Heslington, York Yo10 5DD, UK
Tel:+44-1904-433811 FAX:+44-1904-433740

* Unsolicited commercial e-mail is NOT welcome at this e-mail address. *