aboutsummaryrefslogtreecommitdiffstats
path: root/transact.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2001-09-18 04:16:16 +0000
committerEric S. Raymond <esr@thyrsus.com>2001-09-18 04:16:16 +0000
commitabf56645d3b47d6829ee648138b76f6525ad78ca (patch)
treeedfa97de8f8e0f75b589f2bc21b9ce8da4397729 /transact.c
parent5136c015f8ed33c373416e4e3e2583cac12a215a (diff)
downloadfetchmail-abf56645d3b47d6829ee648138b76f6525ad78ca.tar.gz
fetchmail-abf56645d3b47d6829ee648138b76f6525ad78ca.tar.bz2
fetchmail-abf56645d3b47d6829ee648138b76f6525ad78ca.zip
Before tckling the license problem.
svn path=/trunk/; revision=3462
Diffstat (limited to 'transact.c')
-rw-r--r--transact.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/transact.c b/transact.c
index 2214b9ff..10db25fb 100644
--- a/transact.c
+++ b/transact.c
@@ -741,9 +741,9 @@ int readheaders(int sock,
* (RFC2822 says the condents of Sender must be a valid mailbox
* address, which is also what RFC822 4.4.4 implies.)
*/
- else if (!strncasecmp("Sender:", line, 7) && strchr(line, '@'))
+ else if (!strncasecmp("Sender:", line, 7) && (strchr(line, '@') || strchr(line, '!')))
sender_offs = (line - msgblk.headers);
- else if (!strncasecmp("Resent-Sender:", line, 14) && strchr(line, '@'))
+ else if (!strncasecmp("Resent-Sender:", line, 14) && (strchr(line, '@') || strchr(line, '!')))
resent_sender_offs = (line - msgblk.headers);
#ifdef __UNUSED__