Re: (SOLVED) exim dynamic confiuration
I solved this a while ago.
Did the following:
in the /etc/ppp/ip-up script I added the line:
echo "$4" > /etc/exim/current-ip
then in /etc/exim/exim.conf I did the following:
qualify_domain = myisp.com
qualify_recipient = AMDKing
local_domains = localhost:AMDKing:/etc/exim/current-ip
That's all I remember. This allows me to send and receive
email via my machine directly (not using the sloooow isp
SMTP server). I also fetchmail from POP servers whenever I
logon. The qualify_recipient allows me to know when mail
comes directly from my machine, while the qualify_domain I
believe gets past some mail servers that do a DNS lookup.
Anyhow, it works, although it is true that noone will send
mail to this machine unless they know the given IP.
-jackp
--- Derrick 'dman' Hudson <dman@dman.ddts.net> wrote:
> On Fri, Mar 07, 2003 at 08:04:18PM -0800, Jack Pistachio
> wrote:
> | This is for a dialup using exim.
> | Is there anyway to dynamically configure exim so that
> it
> | uses the IP address provided by the dialup ISP?
>
> In what way? If you're talking about sending, there is
> almost no way
> for that to not happen. If you're talking about
> receiving, start exim
> after the link is up and it will listen on it. Of
> course, no one
> would send you mail to IP anyways unless it was in the
> publicly
> accessible DNS too.
>
> HTH,
> -D
>
> --
> A)bort, R)etry, B)ang it with a large hammer
>
> http://dman.ddts.net/~dman/
>
> ATTACHMENT part 2 application/pgp-signature
__________________________________________________
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
http://platinum.yahoo.com
Reply to: