Re: [exim] non-SMTP ACL: Problem with new snapshot

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Philip Hazel
Date:  
À: Frank Elsner
CC: exim-users
Sujet: Re: [exim] non-SMTP ACL: Problem with new snapshot
On Thu, 23 Dec 2004, Frank Elsner wrote:

> When using my old configuration with the new snapshot version (4.45)
> my "check_non_smtp" ACL doesn't work anymore I need this ACL to scan in
> coming mail from UUCP (rmail).


I know that Tom is already on holiday this week. It looks as though he
has blocked all the Exiscan stuff from the non-SMTP ACL. I can't see why
this should be a problem, especially as you used it before. Please can
you try out the patch below and post the result.

Thanks again for testing! We need to find out about these kinds of problem.

-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.
Get the Exim 4 book:    http://www.uit.co.uk/exim-book



*** acl.c    Fri Dec 17 14:52:44 2004
--- /tmp/acl.c          Thu Dec 23 14:25:02 2004
***************
*** 220,226 ****
      (1<<ACL_WHERE_HELO),


  #ifdef EXPERIMENTAL_BRIGHTMAIL
!   (1<<ACL_WHERE_NOTSMTP)|(1<<ACL_WHERE_AUTH)|      /* bmi_optin */
      (1<<ACL_WHERE_CONNECT)|(1<<ACL_WHERE_HELO)|
      (1<<ACL_WHERE_DATA)|(1<<ACL_WHERE_MIME)|
      (1<<ACL_WHERE_ETRN)|(1<<ACL_WHERE_EXPN)|                                       
--- 220,226 ----
      (1<<ACL_WHERE_HELO),


  #ifdef EXPERIMENTAL_BRIGHTMAIL
!   (1<<ACL_WHERE_AUTH)|                             /* bmi_optin */
      (1<<ACL_WHERE_CONNECT)|(1<<ACL_WHERE_HELO)|
      (1<<ACL_WHERE_DATA)|(1<<ACL_WHERE_MIME)|
      (1<<ACL_WHERE_ETRN)|(1<<ACL_WHERE_EXPN)|                                       
***************
*** 237,243 ****
    0,                                               /* control */


  #ifdef WITH_CONTENT_SCAN
!   (1<<ACL_WHERE_NOTSMTP)|(1<<ACL_WHERE_AUTH)|      /* decode */
      (1<<ACL_WHERE_CONNECT)|(1<<ACL_WHERE_HELO)|
      (1<<ACL_WHERE_DATA)|(1<<ACL_WHERE_PREDATA)|
      (1<<ACL_WHERE_ETRN)|(1<<ACL_WHERE_EXPN)|
--- 237,243 ----
    0,                                               /* control */


  #ifdef WITH_CONTENT_SCAN
!   (1<<ACL_WHERE_AUTH)|                             /* decode */
      (1<<ACL_WHERE_CONNECT)|(1<<ACL_WHERE_HELO)|
      (1<<ACL_WHERE_DATA)|(1<<ACL_WHERE_PREDATA)|
      (1<<ACL_WHERE_ETRN)|(1<<ACL_WHERE_EXPN)|
***************
*** 249,255 ****
    0,                                               /* delay */


  #ifdef WITH_OLD_DEMIME
!   (1<<ACL_WHERE_NOTSMTP)|(1<<ACL_WHERE_AUTH)|      /* demime */
      (1<<ACL_WHERE_CONNECT)|(1<<ACL_WHERE_HELO)|
      (1<<ACL_WHERE_RCPT)|(1<<ACL_WHERE_PREDATA)|
      (1<<ACL_WHERE_ETRN)|(1<<ACL_WHERE_EXPN)|
--- 249,255 ----
    0,                                               /* delay */


  #ifdef WITH_OLD_DEMIME
!   (1<<ACL_WHERE_AUTH)|                             /* demime */
      (1<<ACL_WHERE_CONNECT)|(1<<ACL_WHERE_HELO)|
      (1<<ACL_WHERE_RCPT)|(1<<ACL_WHERE_PREDATA)|
      (1<<ACL_WHERE_ETRN)|(1<<ACL_WHERE_EXPN)|
***************
*** 285,291 ****
    0,                                               /* logwrite */


  #ifdef WITH_CONTENT_SCAN
!   (1<<ACL_WHERE_NOTSMTP)|(1<<ACL_WHERE_AUTH)|      /* malware */
      (1<<ACL_WHERE_CONNECT)|(1<<ACL_WHERE_HELO)|
      (1<<ACL_WHERE_RCPT)|(1<<ACL_WHERE_PREDATA)|
      (1<<ACL_WHERE_ETRN)|(1<<ACL_WHERE_EXPN)|
--- 285,291 ----
    0,                                               /* logwrite */


  #ifdef WITH_CONTENT_SCAN
!   (1<<ACL_WHERE_AUTH)|                             /* malware */
      (1<<ACL_WHERE_CONNECT)|(1<<ACL_WHERE_HELO)|
      (1<<ACL_WHERE_RCPT)|(1<<ACL_WHERE_PREDATA)|
      (1<<ACL_WHERE_ETRN)|(1<<ACL_WHERE_EXPN)|
***************
*** 297,303 ****
    0,                                               /* message */


  #ifdef WITH_CONTENT_SCAN
!   (1<<ACL_WHERE_NOTSMTP)|(1<<ACL_WHERE_AUTH)|      /* mime_regex */
      (1<<ACL_WHERE_CONNECT)|(1<<ACL_WHERE_HELO)|
      (1<<ACL_WHERE_DATA)|(1<<ACL_WHERE_PREDATA)|
      (1<<ACL_WHERE_ETRN)|(1<<ACL_WHERE_EXPN)|
--- 297,303 ----
    0,                                               /* message */


  #ifdef WITH_CONTENT_SCAN
!   (1<<ACL_WHERE_AUTH)|                             /* mime_regex */
      (1<<ACL_WHERE_CONNECT)|(1<<ACL_WHERE_HELO)|
      (1<<ACL_WHERE_DATA)|(1<<ACL_WHERE_PREDATA)|
      (1<<ACL_WHERE_ETRN)|(1<<ACL_WHERE_EXPN)|
***************
*** 315,321 ****
      (1<<ACL_WHERE_VRFY),


  #ifdef WITH_CONTENT_SCAN
!   (1<<ACL_WHERE_NOTSMTP)|(1<<ACL_WHERE_AUTH)|      /* regex */
      (1<<ACL_WHERE_CONNECT)|(1<<ACL_WHERE_HELO)|
      (1<<ACL_WHERE_RCPT)|(1<<ACL_WHERE_PREDATA)|
      (1<<ACL_WHERE_ETRN)|(1<<ACL_WHERE_EXPN)|
--- 315,321 ----
      (1<<ACL_WHERE_VRFY),


  #ifdef WITH_CONTENT_SCAN
!   (1<<ACL_WHERE_AUTH)|                             /* regex */
      (1<<ACL_WHERE_CONNECT)|(1<<ACL_WHERE_HELO)|
      (1<<ACL_WHERE_RCPT)|(1<<ACL_WHERE_PREDATA)|
      (1<<ACL_WHERE_ETRN)|(1<<ACL_WHERE_EXPN)|
***************
*** 339,345 ****
    0,                                               /* set */


  #ifdef WITH_CONTENT_SCAN
!   (1<<ACL_WHERE_NOTSMTP)|(1<<ACL_WHERE_AUTH)|      /* spam */
      (1<<ACL_WHERE_CONNECT)|(1<<ACL_WHERE_HELO)|
      (1<<ACL_WHERE_RCPT)|(1<<ACL_WHERE_PREDATA)|
      (1<<ACL_WHERE_ETRN)|(1<<ACL_WHERE_EXPN)|
--- 339,345 ----
    0,                                               /* set */


  #ifdef WITH_CONTENT_SCAN
!   (1<<ACL_WHERE_AUTH)|                             /* spam */
      (1<<ACL_WHERE_CONNECT)|(1<<ACL_WHERE_HELO)|
      (1<<ACL_WHERE_RCPT)|(1<<ACL_WHERE_PREDATA)|
      (1<<ACL_WHERE_ETRN)|(1<<ACL_WHERE_EXPN)|