diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1998-08-27 07:02:44 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1998-08-27 07:02:44 +0000 |
commit | 543380aa15cd07d4e15298312c633d37878fe6cf (patch) | |
tree | 5dabc0107d8d8f5ea91f43dc6fbec42ade4c30b5 | |
parent | ebdfa3a67d09a53513bcd3831a46a51040e7739f (diff) | |
download | fetchmail-543380aa15cd07d4e15298312c633d37878fe6cf.tar.gz fetchmail-543380aa15cd07d4e15298312c633d37878fe6cf.tar.bz2 fetchmail-543380aa15cd07d4e15298312c633d37878fe6cf.zip |
Postmaster is snakebit.
svn path=/trunk/; revision=2060
-rw-r--r-- | NEWS | 1 | ||||
-rw-r--r-- | driver.c | 6 |
2 files changed, 4 insertions, 3 deletions
@@ -2,6 +2,7 @@ fetchmail-4.5.7 (Tue Aug 25 00:29:44 EDT 1998): * Fixed SDPS support (thanks to Chris Brooks). +* One more fix for the snakebit postmaster option. There are 253 people on fetchmail-friends and 272 on fetchmail-announce. @@ -1324,14 +1324,14 @@ int num; /* index of message */ if (!good_addresses) { #ifdef HAVE_SNPRINTF - snprintf(addr, sizeof(addr)-1, "%s@%s", user, destaddr); + snprintf(addr, sizeof(addr)-1, "%s@%s", run.postmaster, destaddr); #else - sprintf(addr, "%s@%s", user, destaddr); + sprintf(addr, "%s@%s", run.postmaster, destaddr); #endif /* HAVE_SNPRINTF */ if (SMTP_rcpt(ctl->smtp_socket, addr) != SM_OK) { - error(0, 0, "can't even send to calling user!"); + error(0, 0, "can't even send to %s!", run.postmaster); free(headers); free_str_list(&xmit_names); return(PS_SMTP); |