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

Re: Bug#19135: fetchmail: fetchmail tries to fetchmail every time my demand dialed ppp connection goes up



Manoj Srivastava <srivasta@datasync.com> wrote:
> 	That was my original proposal, except it was more genral than
>  just fetchmailrc. To refresh peoples memory:
> 
>  Non-conffile /etc/ppp/ip.conf is searched like so:
>  egrep "^fetchmail.*UP=YES'  /etc/ppp/ip.conf || exit 0
> 
> 	One line, which automatically defaults to off until the user
>  edits /etc/ppp/ip.conf, and inserts stull like
> ----------------------------------------------------------------------
> fetchmail UP=YES
> sendmail  UP=YES
> slrn      UP=NO
> xntp      UP=YES    DOWN=NO
> ----------------------------------------------------------------------
> 
> 	Easy to understand (most users would find a script
>  inscrutable), easy to see what is configured, and what is not, and
>  the format is simple enough that one may offer a simple user inter
>  face, graphical or not, for this.

This is great if you only have one ppp link to worry about, but otherwise you 
will probably end up with varying programs needing to run depending upon which 
link just came up.

This being the case, complicated setups will probably end up ignoring the 
/etc/ppp/ip.conf file, which will cause confusion when people try to control 
the system by modifying this file, and get no useful response.

IMHO We either need to come up with a more complex /etc/ppp/ip.conf file
(which I doubt is achievable because of the diverse requirements), or allow
sysadmins to set up their own systems (with perhaps a little help from the
postinst's of the relevant packages)

Cheers, Phil.
ppp@packages.debian.org


Reply to: