Re: [EXIM] Exim for dialup use [was Why should I use Exim ov…

Góra strony
Delete this message
Reply to this message
Autor: Brian Servis
Data:  
Dla: exim-users
Temat: Re: [EXIM] Exim for dialup use [was Why should I use Exim over Qmail?]
*- On 7 Jun, Mark Baker wrote about "Re: [EXIM] Exim for dialup use [was Why should I use Exim over Qmail?]"
>
> configurations include queue_remote, and people with ISPs that don't give
> them their own domain[1] will need to do more fiddling with it to make sure
> it writes sensible addresses on their mails.
>
> [1] I'm told such ISPs are quite common in other countries.
>


This is how I cope with dynamic dialup.(On my Debian system)

I use rewrite rules to change the host from my local fake name to my
providers domain name. I also use sed in my ip-up scripts to change the
primary_hostname value in my exim.conf to that of the fqdn of the
dynamic ip I was assigned. I don't know if this is the 'correct'
solution but it seems to work for me.(look at the headers of this
message)

######################################################################
#                      REWRITE CONFIGURATION                         #
######################################################################
^(?i)(root|postmaster|mailer-daemon)@<local_fake_name> ${1}@??? Ffr
*@<local_fake_fqdn> $1@<isp_domain> Ffsr
*@<local_host> $1@<isp_domain> Ffsr
*@in.limbo servis@<local_fqdn> Ffr


Just my 2 bits,
-- 
Brian 
---------------------------------------------------------------------
Mechanical Engineering                              servis@???
Purdue University                   http://www.ecn.purdue.edu/~servis
---------------------------------------------------------------------



--
*** Exim information can be found at http://www.exim.org/ ***