fetchmail-friends
[Top] [All Lists]

[fetchmail]patch: explicit lockfile hack

2001-07-09 19:27:52
Hi friends of fetchmail,

        Suddenly my mail provider introduced a minimal polling timeout. As
a result I was spamed by fetchmail with "Authentification failure"
messages. Since my PPP setup is far too complex to encourage me to play
with the interface or the monitor option I've added a "lockfile" option to
fetchmail 5.8.11 allowing me to specifiy a filename which must not exist
to allow polling of a certain mailbox.

        Since I've added lines regarding the lockfile to ip-up/down and my
.fetchmailrc trouble is gone: INBOX and logfile don't contain any
complains about my provider's new policy anymore. :-)

        Ok: Another way to implement this hack would be adding a
quietness to the preconnect flag: You could write something like

        preconnect "test -e /var/run/fetch_my_mail"

without getting lines about the pre-connection command failed in your
logfile every five minutes. Well, but I think that this lockfile keyword
does the jobs in a more obvious manner....


Ciao,
Mathias

PS: I'm not really interested in learning how to make Tkinter.py work on
my box. That's why I left fetchmailconf untouched.
-- 
WWW: http://www.informatik.hu-berlin.de/~hasselma/
PGP/GnuPG: 1024-Bit DSA: ID 55E572F3, 1024-Bit RSA: ID EAAF7CF1

Attachment: fetchmail-5.8.11-lockfile.diff.gz
Description: patch: explicit lockfile hack

<Prev in Thread] Current Thread [Next in Thread>
  • [fetchmail]patch: explicit lockfile hack, Mathias Hasselmann <=