[oclug] configuring exim for local LAN delivery
Greg Franks
rgfranks at alumni.uwaterloo.ca
Fri Aug 23 15:56:35 EDT 2002
>>>>> "Michael" == Michael P Soulier <msoulier at storm.ca> writes:
Michael> Hey people, My local LAN uses one of my PC's as a
Michael> router/firewall. It also provides SMTP services to the
Michael> LAN, smarthosting all mail out to my ISP's SMTP server.
Michael> What I would prefer is that the SMTP server was smart
Michael> enough to recognize local delivery. Currently all mail
Michael> routed to the server from boxes on the LAN is
Michael> automatically smarthosted out. Is there a way to
Michael> recognize a list of local hostnames and deliver their
Michael> mail to them?
Michael> I'm using Exim as my MTA.
What's running on the SMTP server? I gather it isn't sendmail (lets
not get into that again please....). But, sendmail can certainly do
what you want.
DON'T edit the .cf files directly (like one used to do in the deep
dark past). Rather, edit the m4 file and let M4 do all the heavy
lifting. Look at LOCAL_RELAY and MAIL_HUB in cf/README and set up
accordingly, eg:
LOCAL_RELAY applies to unqualified names (e.g., "eric").
MAIL_HUB applies to names qualified with the name of the
local host (e.g., "eric at mastodon.CS.Berkeley.EDU").
SMART_HOST applies to names qualified with other hosts or
bracketed addresses (e.g., "eric at mastodon.CS.Berkeley.EDU"
or "eric@[127.0.0.1]").
--
__@ Greg Franks <| _~@ __O
_`\<,_ Ottawa, Ontario, Canada |O\ -^\<;^\<,
(*)/ (*) (*)--(*)%---/(*)
"Where do you want to go today?" Outside.
More information about the OCLUG
mailing list