Re: [exim-dev] Re: ACL_WHERE_MIME aargh

Pàgina inicial
Delete this message
Reply to this message
Autor: Tony Finch
Data:  
A: Tom Kistner
CC: exim-dev
Assumpte: Re: [exim-dev] Re: ACL_WHERE_MIME aargh
My abuse of ACLs has led me to find a couple of lurking problems:


--- src/globals.c       22 Mar 2005 14:11:54 -0000      1.20
+++ src/globals.c       30 Mar 2005 20:13:33 -0000
@@ -188,9 +188,10 @@
 uschar *acl_wherenames[]       = { US"RCPT",
                                    US"MAIL",
                                    US"PREDATA",
-#ifdef WITH_CONTENT_SCAN
+/* Remove next line in case of removeing WITH_CONTENT_SCAN.
+   ACL_WHERE_MIME is defined unconditionally to avoid clutter in acl.c */
                                    US"MIME",
-#endif
+
                                    US"DATA",
                                    US"non-SMTP",
                                    US"AUTH",
@@ -207,9 +208,10 @@
 int     acl_wherecodes[]       = { 550,     /* RCPT */
                                    550,     /* MAIL */
                                    550,     /* PREDATA */
-#ifdef WITH_CONTENT_SCAN
+/* Remove next line in case of removeing WITH_CONTENT_SCAN.
+   ACL_WHERE_MIME is defined unconditionally to avoid clutter in acl.c */
                                    550,     /* MIME */
-#endif
+
                                    550,     /* DATA */
                                    0,       /* not SMTP; not relevant */
                                    503,     /* AUTH */



Tony.
--
<fanf@???> <dot@???> http://dotat.at/ ${sg{\N${sg{\
N\}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}\
\N}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}