diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1997-09-03 21:15:15 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1997-09-03 21:15:15 +0000 |
commit | cac2c97be776768dd70b213035fb0d6fada87001 (patch) | |
tree | 031edacea046940ccbb907411c254a1f210fbb59 /driver.c | |
parent | ef940f3b94c04ba2841e5375c5533efa30414c04 (diff) | |
download | fetchmail-cac2c97be776768dd70b213035fb0d6fada87001.tar.gz fetchmail-cac2c97be776768dd70b213035fb0d6fada87001.tar.bz2 fetchmail-cac2c97be776768dd70b213035fb0d6fada87001.zip |
Try canonicalizing with the SMTP host.
svn path=/trunk/; revision=1286
Diffstat (limited to 'driver.c')
-rw-r--r-- | driver.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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) |