1

I'm using Exim4 version 4.76 and can't really find what I'm looking for - except if I don't understand how exim4 works exactly.

I have configured exim4 as such that when we send an email from our web applications (which is on the same server as exim4), that it relays the email to a smarthost elsewhere - actually an email server that is owned and managed by one of our clients. Now, the problem comes in that when we send system emails (e.g. cron jobs that fail etc.) that it goes through our clients' mail server too, and we (and our client) do not want that. We want the system emails to be sent to our mail server (smarthost) and not our clients'. In other words, we would like to have emails sent to support@whatever from the server (local), be sent to our smarthost and not our clients'.

I hope this make sense.

1 Answer 1

2

It looks like you need manual routing: "The manualroute router" Look at section 3: routing rules in route_data...

2
  • 2
    +!. On Debian/Ubuntu systems a manualroute is already setup in the default config. Just create mail routes in /etc/exim4/hubbed_hosts.
    – Zoredache
    Mar 20, 2012 at 7:41
  • Hi Vincent, sorry for only replying now but thanks a mil for the answer! I haven't had time to go through section 3 yet but will do so today. Thanks again!
    – user114637
    Mar 23, 2012 at 5:09

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .