[Exim] Configuring Exim to forward to other local Unix hosts

Top Page
Delete this message
Reply to this message
Author: alan.meban
Date:  
To: exim-users
Subject: [Exim] Configuring Exim to forward to other local Unix hosts

I'm implementing Exim for a domain (we'll call it blah.com).

Mail can be addressed to a variety of addresses within our domain, eg

    rod@???
    jane@???
    freddy@???
    zippy@???   ("mail" being the server running Exim)


Requirements:

    Mail sent to  blah.com  should be delivered locally
    Mail sent to  pc.blah.com  should be delivered locally
    Mail sent to  unix.blah.com  should be forwarded on to the unix host
    Mail sent to  mail.blah.com  should be delivered locally!


At the moment, I have set up the local_domains parameter to be:

local_domains = mail:mail.blah.com:!unix.blah.com:*.blah.com:blah.com

This isn't very practical since I have over 30 unix boxes which need mail
forwarded on to them and not delivered locally by Exim.

Is there a less messy way to configure Exim to cope with this behaviour?
Or could the Unix hosts be listed in a flat file somewhere?

All ideas gratefully received.

Alan Meban / alan.meban@???