aboutsummaryrefslogtreecommitdiff
path: root/mail/sentinel/files/patch-aa
blob: dc3328b409b321f0f1fd06a539027dfa8b003090 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- sentinel.c.bak	Mon Oct 27 02:03:32 2003
+++ sentinel.c	Sat Dec 20 07:59:32 2003
@@ -3135,8 +3135,10 @@
     /* check if a rule defined for this header in [headers] section */
     for (smfhl = smfHeader_list[message->cfgNdx]; smfhl; smfhl = smfhl->next) {
 	if (!strcasecmp(smfhl->name, headerf)) {
+#ifndef DO_NOT_DECODE_SUBJECT
 	    if (!strcasecmp(headerf, "Subject"))
 		headerv = smfMimeDecodeString(headerv, message->buf);
+#endif
 	    if (headerv) {
 		for (smfel = smfhl->entr; smfel; smfel = smfel->next) {
 		    if (!smfPatternMatch(message, headerv, smfel->event)) {