aboutsummaryrefslogtreecommitdiffstats
path: root/etrn.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2002-03-10 19:59:59 +0000
committerEric S. Raymond <esr@thyrsus.com>2002-03-10 19:59:59 +0000
commita016460027f89e7c81106a0560d1d495f727c182 (patch)
tree0daf10c7b95f73d7ed3f3330f11f35a00cc96c78 /etrn.c
parent7c33daaf6fd2bd4342903ad5ce025b5ab6bc89bd (diff)
downloadfetchmail-a016460027f89e7c81106a0560d1d495f727c182.tar.gz
fetchmail-a016460027f89e7c81106a0560d1d495f727c182.tar.bz2
fetchmail-a016460027f89e7c81106a0560d1d495f727c182.zip
Expose the ESMTP name and password options.
svn path=/trunk/; revision=3596
Diffstat (limited to 'etrn.c')
-rw-r--r--etrn.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/etrn.c b/etrn.c
index 00455faf..7f5e882d 100644
--- a/etrn.c
+++ b/etrn.c
@@ -40,7 +40,9 @@ static int etrn_getrange(int sock, struct query *ctl, const char *id,
char buf [MSGBUFSIZE+1];
struct idlist *qnp; /* pointer to Q names */
- if ((ok = SMTP_ehlo(sock, fetchmailhost, &opts)))
+ if ((ok = SMTP_ehlo(sock, fetchmailhost,
+ ctl->server.esmtp_name, ctl->server.esmtp_password,
+ &opts)))
{
report(stderr, GT_("%s's SMTP listener does not support ESMTP\n"),
ctl->server.pollname);