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

Re: MTAs and dialup connected machines



On Thu, Oct 21, 1999 at 11:25:03PM +0200, Shaul Karl wrote:
> > > I have a little bit of a problem getting EXIM to work on
> > > a dialup-connected computer.
>
> Thank you.
> Perhaps you also got the short answer on how to avoid having my ISP domain 
> quoted with mail sent locally ?

I've tried to do the same, but I haven't found a good way yet.
Some things that you should check out though, are these
(in /etc/exim.conf):

# Main Configuration Settings

qualify_domain = hem.passagen.se
  "hem.passagen.se" is my email ISP, and without this
  they wouldn't let me relay mail through their server.

qualify_recipient = localhost
  This is necessary so that I can do "mail usel" (usel is my local login)
  and receive the mail directly without going through the ISP.
  The new mail will have "To: usel@localhost" but still
  "From: Oskar Liljeblad <osk@hem.passagen.se>" where the latter was 
  rewritten by the local MTA.

local_domains = localhost
  If you use eximconfig to generate a smarthost setup, it is possible
  that your smarthost will be included here. But it shouldn't.

# Rewrite Configuration

usel@*		osk@$domain	F
usel@*		osk@$domain	f
  The's not much to say about the first one. The second rewrites
  the From field of all messages sent from here. (This is so that
  I don't have to set $EMAIL or do some special configuration in
  the MUAs. In mutt I used to have "my_hdr From: Oskar Liljeblad
  <osk@hem.passagen.se>" but this is no longer necessary.)

Some of the things said above may be wrong, so if you're unsure
make sure you check the comments in /etc/exim.conf or the docs.

Oskar Liljeblad (osk@hem.passagen.se)


Reply to: