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

Re: Exim as default mailer



In article <[🔎] c=UK%a=_%p=Origin-it%l=UKRUX002-981110102235Z-8111@ukrax001.ras.uk.origin-it.com> you write:

>I was concerned when I
>initially looked at it by the statement in the (version 2) manual
>(section 39, "Intermittently connected hosts") where it says "Exim was
>designed for use on permanently connected hosts, and so it is not
>particularly well-suited for use in an intermittently connected
>environment."
>
>As I have a single-user home PC with dial-up access to my ISP, I fall
>squarely into the category of users for whom Exim is "not particularly
>well-suited". Is this a real problem, or is Exim a good mailer for
>dial-up systems?

The alternatives are even less suited...

I've created two exim.conf files, one for use when I'm online, and
one for when I'm offline. I switch these around via
/etc/ppp/ip-*.d/exim:

ip-up.d/exim:

#!/bin/sh

case "$PPP_IFACE" in
        ippp0)  cp /etc/exim.conf.online /etc/exim.conf.new
                mv -f /etc/exim.conf.new /etc/exim.conf
                
                # Flush exim queue
                if [ -x /usr/sbin/exim ]; then
                        /usr/sbin/exim -qf
                fi
                ;;
esac



ip-down.d/exim:

#!/bin/sh

case "$PPP_IFACE" in
        ippp0)  cp /etc/exim.conf.autodial /etc/exim.conf.new
                mv -f /etc/exim.conf.new /etc/exim.conf
                ;;
esac



I have "queue_remote" in my exim.conf.autodial which means it doesn't
attempt to deliver these directly. Just either don't run the cron job
that flushes the queue periodically if you don't want connections to
happen solely for email delivery (or if you don't have dial-on-demand!).



Paul Slootman
-- 
home: paul@wurtel.demon.nl | work: paul@murphy.nl | debian: paul@debian.org
http://www.wurtel.demon.nl | Murphy Software,   Enschede,   the Netherlands


Reply to: