Package: fetchmail
Version: 6.2.5-12
Followup-For: Bug #218040

Just in case something is done to get this bug fixed, I want to describe
my configuration, as it seems to be a bit different from the ones mentioned
so far:

I run fetchmail on a server which is different from the machine doing the ppp
connection. Both server and router are always up, but the ppp link isn't
and shouldn't in my case.

It's not possible to run fetchmail on the dialup router.

As I don't want to bring the ppp link up just to look for mails,
I wish to notify fetchmail when it doesn't need to try to fetch
mails (and avoid generating the error logs of course).

The "monitor" or "interface" options are obviously useless for me
as the ethernet link between server and router is up all the time.
I am able to get the state of the ppp link via a shell script
exit status, however.

Unfortunately, "preconnect" produces log entries as already discussed
when the script returns a non-zero exit status.
(BTW: Why it reports "SYNTAX" is still another question:
Why should a failing preconnect script be a syntax error??)

What would help me (and I think could solve all the problems described
here) would be another, global "preconnect" script, which is run
just after awakening, but before the first log message.
If this script exits non-zero, fetchmail would immediately
sleep again, without producing any noise of course.
(Maybe one should check for config file changes though,
as this global preconnect may have changed in between)

Another advantage for this scenario would be that the script need only
to be run once, and not for each mailbox entry specified.


Martin Koeppe


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to