Re: EXIM settings for dialup.
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 -0000, debian-user-digest-request@lists.debian.org wrote:
> Date: Sat, 23 Oct 1999 10:43:21 +0000
> From: Jonathan Heaney <j.heaney@zetnet.co.uk>
> To: Ronald Tin <csthf99@alumni.ust.hk>
> CC: debian-user@lists.debian.org, hokuto@i-cable.com
> Subject: Re: EXIM settings for dialup.
> Message-ID: <[🔎] 38119149.F3950B40@zetnet.co.uk>
> 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:
> >
> > vamp@dreamland csthf99@alumni.ust.hk 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 {$sender_address}{csthf99@alumni.ust.hk} {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 debian-user-request@lists.debian.org < /dev/null
>
> I had to do this myself, I got this info. from Oskar Liljeblad (osk@hem.passagen.se)
>
> (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: vamp@localhost" 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
Reply to: