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 [EMAIL PROTECTED] 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 PROTECTED], > 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 [EMAIL PROTECTED], 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 [EMAIL PROTECTED]). Right now, if I > send an email to [EMAIL PROTECTED], 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 [EMAIL PROTECTED] 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 [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]