[Exim] system_filter.exim ???

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Margrit.Lottmann
Data:  
Para: exim-users
Asunto: [Exim] system_filter.exim ???
Because of so many warnings I would like start with filtering
for virus/worms/spams ...

I've found the system_filter.exim-filter file and started our exim
(on a little test relay),

but exim gives errors:

2001-09-20 11:32:39 15k069-0004RE-00 Error in message_filter file: string
is too long in line 138 of filter file (max = 256 chars)

line 138 in the file is the following
fail text "...
after the "then" line:

(sorry...if lines disturbed in your message-body)
::::
if $message_body matches
"(?:Content-(?:Type:(?>\\\\s*)[\\\\w-]+/[\\\\w-]+|Dispo
sition:(?>\\\\s*)attachment);(?>\\\\s*)(?:file)?name=|begin(?>\\\\s+)[0-7]{3,4}(
?>\\\\s+))(\"[^\"]+\\\\.(?:ad[ep]|ba[st]|chm|cmd|com|cpl|crt|eml|exe|hlp|hta|in[
fs]|isp|jse?|lnk|md[be]|ms[cipt]|pcd|pif|reg|scr|sct|shs|url|vb[se]|ws[fhc])\")[
\\\\s;]"
then
  fail text "This message has been rejected because it has\n\
             a potentially executable attachment $1\n\
             This form of attachment has been used by\n\
             recent viruses or other malware.\n\
             If you meant to send this file then please\n\
             package it up as a zip file and resend it."
  seen finish
endif
::::


I've attempted it with a very short line...also this error reached...

???



MfG Margrit Lottmann


+-----------------------------------------------------------------------+
  |                                             phone : +49 391 67  18572 |

  |                            +49 391 67  12819 |

  |              Margrit Lottmann                 fax : +49 391 67  11134 |
  |                                                                       |
  | Otto-von-Guericke-Universitaet Magdeburg                              |
  | Universitaetsrechenzentrum, URZ-N                                     |
  | Universitaetsplatz 2                                                  |
  | D-39106 Magdeburg,  Germany                                           |
  |                                                                       |
  |              Margrit.Lottmann@???                       |

+-----------------------------------------------------------------------+