aboutsummaryrefslogtreecommitdiffstats
path: root/odmr.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 /odmr.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 'odmr.c')
-rw-r--r--odmr.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/odmr.c b/odmr.c
index 1f13c1b3..0c4db033 100644
--- a/odmr.c
+++ b/odmr.c
@@ -48,7 +48,9 @@ static int odmr_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);