Re: exim config questions
On Thu, Dec 19, 2002 at 08:58:59AM -0600, Cheryl Homiak wrote:
> these are questions that surface for me every time I do an installation
> and i'm still confused about them
> 1. qualify-domain and local_domains;a
> If I put my isp's domain, it works but if I send to somebody else at the
> same domain it gets treated as local and never goes anywhere outside my
> If I put my machine name for both, I may get "host unknown' when sending.
> If I put my isp's domain for qualify_domain and my machine name for
> local_domains (with localhost), I may end up with a loop where mail that
> should be local goes back out to my isp. And i'm not sure where using
> /etc/email-addresses comes in here either.
It's been a few years since I last had to deal with this but, IIRC,
you want to set:
qualify_domain = isp
qualify_recipient = local
local_domains = local
This way, if chomiak sends mail to chomiak, the sender will be parsed
as chomiak@isp (generating a proper reply address) and the recipient
will be parsed as chomiak@local (allowing the message to be delivered
directly without passing through your ISP). For other users at your
ISP, just send to user@isp and, since a non-local domain has been
specified, it will be passed out to your ISP for delivery.
> There also would be the option of putting my fqdn in one or both places:
> machinename.isp.com; is this what should be in either or both places?
> My machinename is n't a registered domain or anythig, just the name i've
> given my machine.
In that case, an argument could be made that your machine isn't part
of your ISP's domain since machinename.isp.com won't resolve. It
only really matters, though, for addresses which will be seen by
non-local machines. qualify_domain must be your ISP's proper domain
for return addresses to be correct, qualify_recipient and
local_domains are only used locally, so they really don't matter as
long as they match.
> Also, after changing /etc/exim/exim.conf, the documentation says to give
> exim the 'sighup' signal so the new configuration will be used. Just
> exactly how do I do this?
kill -HUP <exim's pid>
Note that you only have to do this if running exim in daemon mode.
If you're running it from inetd, the configuration will be reread
automatically the next time exim is asked to do something.
The freedoms that we enjoy presently are the most important victories of the
White Hats over the past several millennia, and it is vitally important that
we don't give them up now, only because we are frightened.
- Eolake Stobblehouse (http://stobblehouse.com/text/battle.html)