[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE: Just installed Exim - how to I get local/system mail? - SOLVED!



"David Karlin" <funk48@travelin.com> wrote:
> Hi Phillip,
> I recently installed Exim as well.  My /etc/exim.conf includes:
> 
> 	local_domains = mybox.mylocalnet:localhost
> 
> (replace mybox.mylocalnet with yourbox.yourlocalnet)
> 
> Hope that was of some help,

Thanks, David, but I had already done that.

The solution was to set 'qualify_recipient = scgf.gmx.net'. scgf
is my machine's hostname and exists only on this system since GMX, who I
use to forward mail to my real email address, does not make use of a
hostname. I had already set my email domain as gmx.net so my email
address is correct as far as the outside world is concerned. This
setting effectively adds scgf.gmx.net to the recipient of any
unqualified outgoing mail meaning that any mail sent to 'root',
'postmaster' or 'gsmh' etc. will be appended with '@scgf.gmx.net' and
will be delivered locally.

Logical, but took a while to get there.

My next task was to make sure emails sent to my IP's smtp server are
queued until I was online, but local mails are delivered immediately. I
achieved this with the magic line in exim.conf:

queue_remote = true

I removed queue_only = true, of course.

Excellent. It all works very well indeed now.

Thanks again.


--
Phillip Deackes
gsmh@gmx.net
Debian Linux (Potato) 


Reply to: