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

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Frank Elsner
Date:  
À: exim-users
Sujet: [exim] non-SMTP ACL: Problem with new snapshot

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).

The logfile shows

2004-12-23 14:28:44 1ChT1H-0004MD-7p F=<*****@********.B.Shuttle.DE> rejected by non-SMTP ACL: cannot test demime condition in non-SMTP ACL
2004-12-23 14:28:44 1ChT1I-0004MF-Lp F=<> rejected by non-SMTP ACL: cannot test demime condition in non-SMTP ACL
2004-12-23 14:28:44 1ChT1I-0004MF-Lp Error while reading message with no usable sender address (R=1ChT1H-0004MD-7p): rejected by non-SMTP ACL: local configuration problem
2004-12-23 14:28:44 1ChT1H-0004MD-7p Child mail process returned status 1

The ACL reads as follows and works perfect with exim-4.43/exiscan-acl-4.43-28

check_non_smtp:

require verify = header_syntax
require verify = header_sender

  deny    message = Sender <$sender_address> banned at "$qualify_domain".
          log_message = Sender banned (sender_reject for RCPT $recipients)
          senders = dbm*@;DBM/sender_reject : *@dbm;DBM/sender_reject


  warn    condition = ${if !def:h_Message-Id: {1}}
          message = Message-Id: <E$message_id@$qualify_domain> (auto-added)
          log_message = Added Message-Id <E$message_id@$qualify_domain>


  deny    message = Message has serious MIME error ($demime_reason)
          log_message = MIME error ($demime_reason)
          demime = *
          condition = ${if >{$demime_errorlevel}{2}{1}{0}}


  deny    condition = ${if !eq {$sender_address}{}{yes}{no}}
          message = Message contains banned file extension (.$found_extension)
          log_message = Banned file extension (.$found_extension)
          demime = scr:src:vbs:bat:lnk:pif:rar


  deny    condition = ${if !eq {$sender_address}{}{yes}{no}}
          message = Message contains malware ($malware_name)
          log_message = Malware ($malware_name)
          malware = *


  warn    message = :after_received:X-Virus-Check: \
                    ClamAV on $primary_hostname; $tod_full


accept


If further information is required let me know.


Kind regards   _______________________________________________________________ 
Frank Elsner  /                         c/o  Technische Universitaet Berlin   |
 ____________/                               ZRZ, Sekr. E-N 50                |

|                                            Einsteinufer 17                  |
| Phone: +49 30 314 23897                    D-10587 Berlin                   |
| eMail: Elsner@???             Germany              ____________|

|_________________________________________________________________| Exim rulez