# If you're running QNX, we can't assume a working autoconf.
# So just uncomment all the lines marked QNX.
-VERS=4.4.6
+VERS=4.4.7
# Ultrix 2.2 make doesn't expand the value of VPATH.
srcdir = @srcdir@
* Gunther Leber's fix to processing of command-line options.
* George Colouris's second try at NetBSD autoconfiguration.
* Bruce Mah's fix for core dump in command-line host specification.
+* Missing `idfile' declaration added to .fetchmailrc processing.
* Mimedecode default turned off pending a fix for the PGP-signature-
munging bug.
-There are 270 people on fetchmail-friends and 212 on fetchmail-announce.
+There are 270 people on fetchmail-friends and 216 on fetchmail-announce.
fetchmail-4.4.6 (Sat May 16 14:16:49 EDT 1998)
* Fix a bug introduced by my 4.4.5 bug-fix release :-(
flag quitmode; /* if --quit was set */
flag check_only; /* if --probe was set */
char *cmd_logfile; /* if --logfile was set */
+char *cmd_idfile; /* if --idfile was set */
int cmd_daemon; /* if --daemon was set */
/* miscellaneous global controls */
if (cmd_logfile)
logfile = cmd_logfile;
+ /* if cmd_idfile was explicitly set, use it to override idfile */
+ if (cmd_idfile)
+ logfile = cmd_idfile;
+
/* likewise for poll_interval */
if (cmd_daemon >= 0)
poll_interval = cmd_daemon;
permissions no more open than 0600 (u=rw,g=,o=) or else be /dev/null.
.TP
.B \-i pathname, --idfile pathname
+(Keyword: idfile)
Specify an alternate name for the .fetchids file used to save POP3
UIDs.
.TP
break;
case 'i':
case LA_IDFILE:
- idfile = (char *) xmalloc(strlen(optarg)+1);
- strcpy(idfile,optarg);
+ cmd_idfile = (char *) xmalloc(strlen(optarg)+1);
+ strcpy(cmd_idfile,optarg);
break;
case 'p':
case LA_PROTOCOL:
set { return SET; }
logfile { return LOGFILE; }
+idfile { return IDFILE; }
daemon { return DAEMON; }
syslog { return SYSLOG; }
invisible { return INVISIBLE; }
%token SPAMRESPONSE PRECONNECT POSTCONNECT LIMIT
%token IS HERE THERE TO MAP WILDCARD
%token BATCHLIMIT FETCHLIMIT EXPUNGE
-%token SET LOGFILE DAEMON SYSLOG INVISIBLE NETSEC INTERFACE MONITOR
+%token SET LOGFILE DAEMON SYSLOG IDFILE INVISIBLE NETSEC INTERFACE MONITOR
%token <proto> PROTO
%token <sval> STRING
%token <number> NUMBER
/* future global options should also have the form SET <name> optmap <value> */
statement : SET LOGFILE optmap STRING {logfile = xstrdup($4);}
+ | SET IDFILE optmap STRING {idfile = xstrdup($4);}
| SET DAEMON optmap NUMBER {poll_interval = $4;}
| SET SYSLOG {errors_to_syslog = TRUE;}
| SET INVISIBLE {use_invisible = TRUE;}