EXIM settings for dialup.

1999-10-23 Thread Ronald Tin
Not sure if I should post here (but I'm running exim on a debian :)

So, I have a Debian unstable running exim 3.03, connecting to the
Internet through PPP without fixed IP. I have configured exim to
use smarthost(*) to send mail, performing address rewrite like
this:

  [EMAIL PROTECTED] [EMAIL PROTECTED] Ffr

And can send mail just fine (or else you can't see this)
However there is something stupid when I send mail to myself:
Address rewrite is performed even for local deliveries.
How can I disable this?
I guess I should disable address rewrite for everything
inside the directors. But... how?
Or am I plain wrong?
Should I disable address rewrites for everything, and
enable them only for the routers instead?



*) In fact I have more than one router. The smarthost router
runs only if the sender is me.
I does this through
condition = ${if eq [EMAIL PROTECTED] {yes}fail}

It works fine but is less then clean. Are there better configuration
options for this? From what I read in the spec this is the best?


( And that I am subscribed to the digest instead. Do I get
  every single post, including this one and follow-ups for it? )


Re: EXIM settings for dialup.

1999-10-23 Thread Jonathan Heaney
Ronald Tin wrote:

 Not sure if I should post here (but I'm running exim on a debian :)

 So, I have a Debian unstable running exim 3.03, connecting to the
 Internet through PPP without fixed IP. I have configured exim to
 use smarthost(*) to send mail, performing address rewrite like
 this:

   [EMAIL PROTECTED] [EMAIL PROTECTED] Ffr

 And can send mail just fine (or else you can't see this)
 However there is something stupid when I send mail to myself:
 Address rewrite is performed even for local deliveries.
 How can I disable this?
 I guess I should disable address rewrite for everything
 inside the directors. But... how?
 Or am I plain wrong?
 Should I disable address rewrites for everything, and
 enable them only for the routers instead?

 *) In fact I have more than one router. The smarthost router
 runs only if the sender is me.
 I does this through
 condition = ${if eq [EMAIL PROTECTED] {yes}fail}

 It works fine but is less then clean. Are there better configuration
 options for this? From what I read in the spec this is the best?

 ( And that I am subscribed to the digest instead. Do I get
   every single post, including this one and follow-ups for it? )

 --
 Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null

I had to do this myself, I got this info. from Oskar Liljeblad ([EMAIL 
PROTECTED])

(in /etc/exim.conf):

# Main Configuration Settings

qualify_domain = alumni.ust.hk
  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 you can do mail vamp
 and receive the mail directly without going through the ISP.
  The new mail will have To: [EMAIL PROTECTED] but still
  From: Ronald Tin alumni.ust.hk 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.

Sorry for the plagiraism, Oskar, but you knew how to fix it

Jonathan


Re: EXIM settings for dialup.

1999-10-23 Thread Ronald Tin
Sorry that I didn't make it clear.. :(

I don't have much problems sending the mail through alumni.ust.hk.
And no problems for sending local mail too.
(There was quite a number of problems, but were solved before
 I decided to post here :)

The problem is that local mails suffers from the address rewrite..
Just a bit ugly :(


And yes, I find that I can see my mail and replies to it from
the digest. Thanks for forwarding me a copy, Jonathan)

On Sat, Oct 23, 1999 at 03:11:59PM -, [EMAIL PROTECTED] wrote:
 Date: Sat, 23 Oct 1999 10:43:21 +
 From: Jonathan Heaney [EMAIL PROTECTED]
 To: Ronald Tin [EMAIL PROTECTED]
 CC: debian-user@lists.debian.org, [EMAIL PROTECTED]
 Subject: Re: EXIM settings for dialup.
 Message-ID: [EMAIL PROTECTED]
 Content-Type: text/plain; charset=us-ascii
 Content-Transfer-Encoding: 7bit
 
 Ronald Tin wrote:
 
  Not sure if I should post here (but I'm running exim on a debian :)
 
  So, I have a Debian unstable running exim 3.03, connecting to the
  Internet through PPP without fixed IP. I have configured exim to
  use smarthost(*) to send mail, performing address rewrite like
  this:
 
[EMAIL PROTECTED] [EMAIL PROTECTED] Ffr
 
  And can send mail just fine (or else you can't see this)
  However there is something stupid when I send mail to myself:
  Address rewrite is performed even for local deliveries.
  How can I disable this?
  I guess I should disable address rewrite for everything
  inside the directors. But... how?
  Or am I plain wrong?
  Should I disable address rewrites for everything, and
  enable them only for the routers instead?
 
  *) In fact I have more than one router. The smarthost router
  runs only if the sender is me.
  I does this through
  condition = ${if eq [EMAIL PROTECTED] {yes}fail}
 
  It works fine but is less then clean. Are there better configuration
  options for this? From what I read in the spec this is the best?
 
  ( And that I am subscribed to the digest instead. Do I get
every single post, including this one and follow-ups for it? )
 
  --
  Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null
 
 I had to do this myself, I got this info. from Oskar Liljeblad ([EMAIL 
 PROTECTED])
 
 (in /etc/exim.conf):
 
 # Main Configuration Settings
 
 qualify_domain = alumni.ust.hk
   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 you can do mail vamp
  and receive the mail directly without going through the ISP.
   The new mail will have To: [EMAIL PROTECTED] but still
   From: Ronald Tin alumni.ust.hk 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.
 
 Sorry for the plagiraism, Oskar, but you knew how to fix it
 
 Jonathan