Re: exim4: how to handle other addresses on my ISP?
On Wed, Nov 15, 2006 at 01:39:21AM -0500, Chris Metzler wrote:
> Here's my situation and what I want:
> 1. I have a machine with no domain of its own, in the sense that I
> haven't registered a domain or anything like that. My ISP is
> speakeasy.net. Outgoing email goes to a smarthost. Incoming email
> is pulled in by fetchmail and handed off to exim4.
> 2. Various users on this machine have email adresses registered with
> the ISP of the form firstname.lastname@example.org. When one of my
> local users sends an outgoing email, exim4 appends "@speakeasy.net"
> to the local username.
> 3. Likewise, if you were to send email to email@example.com,
> fetchmail on my machine should eventually grab it and pass it to exim4 here.
> This apparently means that when I've configured exim4 using dpkg-
> reconfigure, I need to tell exim4 that "speakeasy.net" should be added to
> the list of domains for which this machine should consider itself the final
> destination. If I don't do that, then when exim4 receives from fetchmail
> an email for firstname.lastname@example.org, exim4 immediately passes that
> email back on to the ISP's smarthost (because we aren't a final destination
> for "@speakeasy.net"), and around and around we go.
Local delivery should be enabled. The only ISP entry should be the smtp
server at speakeasy.net -- probably smtp.speakeasy.net
That is user@yourhost should be able to send to anotheruser@yourhost
without being connected to your ISP.
> 4. But if I do that -- if I tell exim4 that "speakeasy.net" should be
> added to the list of domains for which this machine should consider itself
> the final destination, then that means I'm unable to send email to other
> Is there a simple solution to this? Or is it time for me to roll my
> sleeves up and learn exim4 in more detail? If someone can clarify what
> I'm doing wrong through dpkg-reconfigure, or point me at some helpful
> documentation, I'd be very grateful.
You *also* need to add any users that have accounts at your ISP to the
/etc/email-addresses file. Could someone confirm that is the correct
name as I no longer run exim.
and it should just work.
Please post back if that doesn't work.
" ... the official version cannot be abandoned because the implication of
rejecting it is far too disturbing: that we are subject to a government
conspiracy of `X-Files' proportions and insidiousness."
Letter to the LA Times Magazine, September 18, 2005.