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@xxxxxxxxxxxxxx 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@xxxxxxxxxxxxx,
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@xxxxxxxxxxxxx, 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@xxxxxxxxxxxxx). Right now, if I
send an email to some_nonlocal_user@xxxxxxxxxxxxx, 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



--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Re: exim4: how to handle other addresses on my ISP?
    ... My ISP is ... is pulled in by fetchmail and handed off to exim4. ... fetchmail on my machine should eventually grab it and pass it to exim4 here. ... email back on to the ISP's smarthost (because we aren't a final destination ...
    (Debian-User)
  • Exim4 Sender Address Rewriting
    ... with Exim4, Fetchmail, Procmail, and QPopper. ... I'm trying to set it up so I can send internal mail without going via my ISP ... I think this is due to the fact that the new version of Exim4 ... This configuration seems to work fine as far as I receive mail from my ISP ...
    (Debian-User)
  • Re: mutt question
    ... The smarthost of my ISP would not accept my mail until I ... configured Exim4 to "hide local mail address", ... the proper configuration of the MTA is that which makes ...
    (Debian-User)
  • Re: Should I Abandon Mutt and Exim4?
    ... > the MTA (exim4, in this case) will forward the mail to the ISP ... I think you mean he needs to configure exim4 to use a smarthost, namely, ... First, 'dpkg-reconfigure exim4-config', to specify the appropriate ...
    (Debian-User)
  • Re: exim4: how to handle other addresses on my ISP?
    ... Outgoing email goes to a smarthost. ... is pulled in by fetchmail and handed off to exim4. ... fetchmail on my machine should eventually grab it and pass it to exim4 here. ... email back on to the ISP's smarthost (because we aren't a final destination ...
    (Debian-User)