Helo,
Here is a patch against fetchmail 6.2.5 to allow the use of FIFO rcfiles.
Let me know if there's any problems with that.
------------------ PATCH -----------------------
--- rcfile_y.y Wed Oct 15 21:22:31 2003
+++ rcfile_y.y Thu May 13 10:30:44 2004
@@ -430,7 +430,7 @@
if (!securecheck) return PS_SUCCESS;
- if (!S_ISREG(statbuf.st_mode))
+ if ((!S_ISREG(statbuf.st_mode)) && (!S_ISFIFO(statbuf.st_mode)))
{
fprintf(stderr, GT_("File %s must be a regular file.\n"), pathname);
return(PS_IOERR);
--- fetchmail.c Wed Oct 15 21:22:31 2003
+++ fetchmail.c Thu May 13 10:35:43 2004
@@ -552,7 +552,7 @@
GT_("couldn't time-check %s (error %d)\n"),
rcfile, errno);
}
- else if (rcstat.st_mtime > parsetime)
+ else if ((rcstat.st_mtime > parsetime) &&
(!S_ISFIFO(rcstat.st_mode)))
{
report(stdout, GT_("restarting fetchmail (%s changed)\n"),
rcfile);
------------------ ENDPATCH -----------------------
Cedric