From cac2c97be776768dd70b213035fb0d6fada87001 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Wed, 3 Sep 1997 21:15:15 +0000 Subject: Try canonicalizing with the SMTP host. svn path=/trunk/; revision=1286 --- driver.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'driver.c') diff --git a/driver.c b/driver.c index deef06fa..41528a7e 100644 --- a/driver.c +++ b/driver.c @@ -1005,9 +1005,9 @@ int num; /* index of message */ if (idp->val.num == XMIT_ACCEPT) { #ifdef HAVE_SNPRINTF - snprintf(addr, sizeof(addr)-1, "%s@%s", idp->id,fetchmailhost); + snprintf(addr, sizeof(addr)-1, "%s@%s", idp->id,ctl->smtphost); #else - sprintf(addr, "%s@%s", idp->id, fetchmailhost); + sprintf(addr, "%s@%s", idp->id, ctl->smtphost); #endif /* HAVE_SNPRINTF */ if (SMTP_rcpt(ctl->smtp_socket, addr) == SM_OK) @@ -1023,9 +1023,9 @@ int num; /* index of message */ if (!good_addresses) { #ifdef HAVE_SNPRINTF - snprintf(addr, sizeof(addr)-1, "%s@%s", idp->id, fetchmailhost); + snprintf(addr, sizeof(addr)-1, "%s@%s", idp->id, ctl->smtphost); #else - sprintf(addr, "%s@%s", idp->id, fetchmailhost); + sprintf(addr, "%s@%s", idp->id, ctl->smtphost); #endif /* HAVE_SNPRINTF */ if (SMTP_rcpt(ctl->smtp_socket, user) != SM_OK) -- cgit v1.2.3