Hallo
ich wollte mein Amavis (altes Perl-Skript) von clamscan auf clamd umstellen. Hat auch soweit super geklappt. Das Skript läuft jetzt performanter und findet auch die Viren:
clamd.log /var/amavis/amavis-02410512/parts/msg-17468-2.ex_: Joke.Buttons.A FOUND
Aber die Mail wird trotzallem weitergeleitet. Wenn ich statt clamd wieder clamscan aktiviere, wird die Mail wie gehabt geblockt und nicht zugestellt.
In der Log von Amavis (loglevel 4) steht diesbzgl: Feb 26 17:58:21 x amavis[19687]: starting. amavis 0.3.13pre2 Thu Jul 20 15:21:59 CEST 2006 Feb 26 17:58:21 m-fra02 amavis[19687]: Extracting mime components Feb 26 17:58:21 m-fra02 amavis[19687]: Extract mail header Feb 26 17:58:21 m-fra02 amavis[19687]: Level: 1, parts: 3 Feb 26 17:58:21 x amavis[19687]: Archive nesting depth: 0 Feb 26 17:58:21 m-fra02 amavis[19687]: File-type of msg-19687-1.txt: very short file (no magic) Feb 26 17:58:21 x amavis[19687]: msg-19687-1.txt is atomic Feb 26 17:58:21 x amavis[19687]: File-type of msg-19687-2.ex_: MS-DOS executable (EXE), OS/2 or MS Windows Feb 26 17:58:21 x amavis[19687]: Check whether msg-19687-2.ex_ is a self-extracting archive Feb 26 17:58:21 x amavis[19687]: Unzipping msg-19687-2.ex_ Feb 26 17:58:21 x amavis[19687]: not a zip file: 3 Feb 26 17:58:21 m-fra02 amavis[19687]: unrar 't' returned status 1 (signal 0), command: /usr/bin/unrar Feb 26 17:58:21 x amavis[19687]: Expanding RAR archive msg-19687-2.ex_ Feb 26 17:58:21 x amavis[19687]: unrar: no archive members, or not an archive altogether Feb 26 17:58:21 x amavis[19687]: msg-19687-2.ex_ is executable Feb 26 17:58:21 x amavis[19687]: File-type of header.txt: RFC 822 mail text Feb 26 17:58:21 x amavis[19687]: header.txt is atomic Feb 26 17:58:21 x amavis[19687]: Level: 2, parts: 3 Feb 26 17:58:21 x amavis[19687]: Archive nesting depth: 0 Feb 26 17:58:21 x amavis[19687]: Using clamd Feb 26 17:58:21 x amavis[19687]: /var/amavis/amavis-14905879/parts/msg-19687-2.ex_: Joke.Buttons.A FOUND Feb 26 17:58:21 x amavis[19687]: do_exit:1435 - ending execution with 0
Vielleicht hat ja jemand einen Tip ohne dass ich gleich amavis-new installieren zu müssen.