From 9f1bf39868c71a87bb7d7649698ccebac7a40cdd Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Mon, 27 Nov 2000 03:11:52 +0000 Subject: 5-6-0bis fix for smtpname. svn path=/trunk/; revision=2989 --- fetchmail.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'fetchmail.c') 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) { -- cgit v1.2.3