fetchmail-friends
[Top] [All Lists]

[fetchmail] [PATCH] fetchmail does DNS lookups even if only signalling another process [Debian bug #108977]

2003-01-31 06:06:56

Hi friends,

here is a patch against fetchmail.c from fetchmail version 6.2.1.  It
should solve Debian bug #108977, which is about an excessive config
file evaluation.

Also, right now, fetchmail does not recognize "--quit" option if argc
is greater than 2.  This prevents things such as
"fetchmail --fetchmailrc /somewhere/in/your/filesystem/fetchmailrc"

Also, it reads its config file and may perform related DNS lookups
even if only signalling a running fetchmail daemon.  This patch
assumes we do not have to read config file in this case.

I expect this patch not to break too much things.  Although I'm not
100% sure of what implicitmode means, this worked fine for me.  Also,
I removed all argc tests since we should not rely on them, as user
should be able to add non functional arguments like "-v" or
"--fetchmailrc".  Perhaps a good solution would be to count the number
of non option arguments ?

Cheers,
Benjamin

-- 
  .''`.
 ; ;' ;      Debian GNU/Linux     |   Benjamin Drieu
 `. `'    http://www.debian.org/  |  <benj(_at_)debian(_dot_)org>
   `-    

Attachment: dont-load-config.patch
Description: Text Data

<Prev in Thread] Current Thread [Next in Thread>
  • [fetchmail] [PATCH] fetchmail does DNS lookups even if only signalling another process [Debian bug #108977], Benjamin Drieu <=