From d71cb2abc85c55777928ce3f4084360101c9e2e6 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Sun, 18 Jan 1998 06:04:54 +0000 Subject: Added smtpaddress option. svn path=/trunk/; revision=1592 --- fetchmail.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'fetchmail.c') diff --git a/fetchmail.c b/fetchmail.c index 506c11e7..49c163c2 100644 --- a/fetchmail.c +++ b/fetchmail.c @@ -578,6 +578,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.server.protocol = P_AUTO; def_opts.server.timeout = CLIENT_TIMEOUT; @@ -1012,6 +1013,9 @@ void dump_params (struct query *ctl) printf(" (default)"); } printf("\n"); + if (ctl->smtpaddress) + printf(" Host part of MAIL FROM line will be %s\n", + ctl->smtpaddress); } if (ctl->preconnect) printf(" Server connection will be brought up with '%s.'\n", -- cgit v1.2.3