diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2000-11-27 03:11:52 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2000-11-27 03:11:52 +0000 |
commit | 9f1bf39868c71a87bb7d7649698ccebac7a40cdd (patch) | |
tree | 2c51ef08b2b31896c4c26d9dfeedc51f5f57eeaa /fetchmail.c | |
parent | ba3606f1cb23dd0d9f1716a7bdc524222d40f42a (diff) | |
download | fetchmail-9f1bf39868c71a87bb7d7649698ccebac7a40cdd.tar.gz fetchmail-9f1bf39868c71a87bb7d7649698ccebac7a40cdd.tar.bz2 fetchmail-9f1bf39868c71a87bb7d7649698ccebac7a40cdd.zip |
5-6-0bis fix for smtpname.
svn path=/trunk/; revision=2989
Diffstat (limited to 'fetchmail.c')
-rw-r--r-- | fetchmail.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/fetchmail.c b/fetchmail.c index 33bed685..8f270c0c 100644 --- a/fetchmail.c +++ b/fetchmail.c @@ -907,6 +907,7 @@ static int load_params(int argc, char **argv, int optind) memset(&def_opts, '\0', sizeof(struct query)); def_opts.smtp_socket = -1; def_opts.smtpaddress = (char *)0; + def_opts.smtpname = (char *)0; #define ANTISPAM(n) save_str(&def_opts.antispam, STRING_DUMMY, 0)->val.status.num = (n) ANTISPAM(571); /* sendmail */ ANTISPAM(550); /* old exim */ @@ -1687,6 +1688,9 @@ static void dump_params (struct runctl *runp, if (ctl->smtpaddress) printf(_(" Host part of MAIL FROM line will be %s\n"), ctl->smtpaddress); + if (ctl->smtpname) + printf(_(" Address to be put in RCPT TO lines shipped to SMTP will be %s\n"), + ctl->smtpname); } if (ctl->server.protocol != P_ETRN) { |