Re: Using Exiscan in the non-SMTP ACL
Tore Anderson <[email protected]>
| Newsgroups | gmane.mail.exim.exiscan.user |
|---|---|
| Organization | Linpro AS |
| Message-ID | <[email protected]> |
* Tobias Ringström > It works fine here too, but it's almost my fault that it has not > been enabled in the last releases, because I promised Tom to test it > with the newest release and send a patch, but I've failed to do so > due to lack of time. My apologies. If you can confirm that it works > (and does not leave junk files in the spool directory), it would be > great. Well, now I'm back from the Roskilde festival and so here's a patch that works for me. All facilities work fine, and the files in the scan directory is cleared out after processing as they should. The paragraphs are intentionally not reflowed to make reading easier. Tom: Any chance of this going into the next version? -- Tore Anderson
p
(text/x-diff, 1.6 KB)
diff -ruN exim4-4.34/src/acl.c exim4-4.34-hax/src/acl.c
--- exim4-4.34/src/acl.c 2004-07-06 00:45:31.000000000 +0200
+++ exim4-4.34-hax/src/acl.c 2004-07-06 00:47:05.000000000 +0200
@@ -164,7 +164,7 @@
0, /* delay */
- (1<<ACL_WHERE_NOTSMTP)|(1<<ACL_WHERE_AUTH)| /* demime */
+ (1<<ACL_WHERE_AUTH)| /* demime */
(1<<ACL_WHERE_CONNECT)|(1<<ACL_WHERE_HELO)|
(1<<ACL_WHERE_MIME)|(1<<ACL_WHERE_RCPT)|
(1<<ACL_WHERE_ETRN)|(1<<ACL_WHERE_EXPN)|
@@ -201,7 +201,7 @@
0, /* logwrite */
- (1<<ACL_WHERE_NOTSMTP)|(1<<ACL_WHERE_AUTH)| /* malware */
+ (1<<ACL_WHERE_AUTH)| /* malware */
(1<<ACL_WHERE_CONNECT)|(1<<ACL_WHERE_HELO)|
(1<<ACL_WHERE_MIME)|(1<<ACL_WHERE_RCPT)|
(1<<ACL_WHERE_ETRN)|(1<<ACL_WHERE_EXPN)|
@@ -227,7 +227,7 @@
(1<<ACL_WHERE_MAIL)|(1<<ACL_WHERE_STARTTLS)|
(1<<ACL_WHERE_VRFY),
- (1<<ACL_WHERE_NOTSMTP)|(1<<ACL_WHERE_AUTH)| /* regex */
+ (1<<ACL_WHERE_AUTH)| /* regex */
(1<<ACL_WHERE_CONNECT)|(1<<ACL_WHERE_HELO)|
(1<<ACL_WHERE_ETRN)|(1<<ACL_WHERE_EXPN)|
(1<<ACL_WHERE_MAILAUTH)|(1<<ACL_WHERE_RCPT)|
@@ -248,7 +248,7 @@
0, /* set */
- (1<<ACL_WHERE_NOTSMTP)|(1<<ACL_WHERE_AUTH)| /* spam */
+ (1<<ACL_WHERE_AUTH)| /* spam */
(1<<ACL_WHERE_CONNECT)|(1<<ACL_WHERE_HELO)|
(1<<ACL_WHERE_MIME)|(1<<ACL_WHERE_RCPT)|
(1<<ACL_WHERE_ETRN)|(1<<ACL_WHERE_EXPN)|