aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS3
-rw-r--r--fetchmail.c2
-rw-r--r--options.c1
3 files changed, 6 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 87e551e2..93a635c4 100644
--- a/NEWS
+++ b/NEWS
@@ -2,6 +2,9 @@
fetchmail-4.6.7 ():
* Gerald Britton's patches to enable Hesiod support.
+* Postmater option fix from Bill Metzenthen <billm@melbpc.org.au>.
+
+There are 248 people on fetchmail-friends and 306 on fetchmail-announce.
fetchmail-4.6.6 (Sat Nov 7 17:27:04 EST 1998):
* Fixed a core-dump bug in reply_hack with -v -v on.
diff --git a/fetchmail.c b/fetchmail.c
index e38273fe..f06f6f26 100644
--- a/fetchmail.c
+++ b/fetchmail.c
@@ -1067,6 +1067,8 @@ static int load_params(int argc, char **argv, int optind)
run.invisible = cmd_run.invisible;
if (cmd_run.use_syslog)
run.use_syslog = (cmd_run.use_syslog == FLAG_TRUE);
+ if (cmd_run.postmaster)
+ run.postmaster = cmd_run.postmaster;
/* check and daemon options are not compatible */
if (check_only && run.poll_interval)
diff --git a/options.c b/options.c
index 310ec24b..41925c68 100644
--- a/options.c
+++ b/options.c
@@ -292,6 +292,7 @@ struct query *ctl; /* option record to be initialized */
break;
case LA_POSTMASTER:
rctl->postmaster = (char *) xmalloc(strlen(optarg)+1);
+ strcpy(rctl->postmaster,optarg);
break;
case 'p':
case LA_PROTOCOL: