Re: exim4: how to handle other addresses on my ISP?
On (15/11/06 01:39), Chris Metzler wrote:
<snip>
> 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 some_user_name@speakeasy.net. 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 one_of_my_users@speakeasy.net,
> 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 one_of_my_users@speakeasy.net, 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.
>
> 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
> users of this ISP that have nothing to do with my machine (since they all
> have addresses like some_nonlocal_user@speakeasy.net). Right now, if I
> send an email to some_nonlocal_user@speakeasy.net, exim4 notes that it's
> been told that *I'm* the end destination for email to the domain
> speakeasy.net, and cheerily reminds me that there's no one on this
> machine by that username.
I remember encountering this problem and puzzling over it for some time.
I seem to recall it was something to do with the local part
corresponding to users. If x is a local user x@domain mails are
delivered locally; if not they go out to the smarthost. I've set up a
number of machines since then and they just seem to work.
What is the output of:
$cat /etc/exim4/update-exim4.conf.conf
it may give a clue as to where the problem lies. FWIW I didn't have to
rewite headers or the like.
Regards
Clive
--
www.clivemenzies.co.uk ...
...strategies for business
Reply to: