Re: trouble with fetchmail via exim
Michael Banck <mbanck@gmx.net> wrote:
>
> Don't know if this is applyable here, just pointing out a potential
> problem. Actually, I don't really have a domain name for my local
> "network" (i.e. my desktp and my notebook) I just use hostnames. How
> do
> I set up a domain name in Debian?
OK. I too use GMX. Excellent service too.
My machine's name (hostname) is scgf. If I look in /etc/hosts I see:
127.0.0.1 scgf localhost
In /etc/hostname:
scgf
scgf does not exist in the real world, just on my machine.
My /etc/exim.conf it set up like this (there is a lot more besides, of
course, but these lines are relevant to this thread):
qualify_domain = gmx.co.uk
qualify_recipient = scgf.gmx.co.uk
local_domains = localhost:scgf.gmx.co.uk
host_accept_relay = localhost
The above lines ensure that all outgoing mail appears to come from
user@gmx.co.uk. Local mail is delivered locally and does not leave my
system. All incoming mail from my ISP, collected by fetchmail, is
detected by Exim and is delivered according to the filters in my
~/.forward file. Using the hostname avaoids the problem you mentioned,
Michael, where gmx.net (or gmx.co.uk in my case) would otherwise be seen
as a local domain and mail to other gmx.net users would not leave the
system.
--
Phillip Deackes
Using Storm Linux
Reply to: