[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

amavis-ng (was: Re: Warum schicken Sie Eicar Testfiles and die Debian liste???)



* Hilko Bengen <bengen@vdst-ka.inka.de> [05-08-02 09:48]:

> Es funktioniert tatsächlich, wie in README.exim beschrieben. Natürlich
> mußt Du darauf achten, daß der Pfad korrekt ist. Und Du mußt in
> amavis.conf den MTA auf Exim (nicht EximPerl) setzen. Ich habe
> seinerzeit die "althergebrachte" Methode der Einbindung getestet, und
> das funktionierte so, wie es in README.exim steht.
 
Hallo Hilko,

ich bin jetzt so weit, dass er scannt. Meine Änderungen:

# /etc/exim/exim.conf
# TRANSPORTS
- command = "/usr/sbin/amavis -f <${sender_address}> -d ${pipe_addresses}"
+ command = "/usr/sbin/amavisd -f <${sender_address}> -d ${pipe_addresses}"
# DIRECTORS
- condition = "${if eq {$received_protocol}{scanned-ok} {0}{1}}"
+ condition = "${if eq {$received_protocol}{no-scan} {0}{1}}"
# ROUTERS
- condition = "${if eq {$received_protocol}{scanned-ok} {0}{1}}"
+ condition = "${if eq {$received_protocol}{no-scan} {0}{1}}"

Er steigt jetzt wenigstens nicht mehr aus mit 'Too many "Received" headers -
suspected mail loop' und schickt auch keine Mails mehr ins Nirwana.

Sieht gut aus in /var/log/syslog:

Virus! /tmp/amavis-unpack-3d4e44c3-2708/parts/00000002 (archive) eicar._om <<<
Eicar-Test-Signatur (exact)
Virus! /tmp/amavis-unpack-3d4e44c3-2708/parts/00000004 <<< Eicar-Test-Signatur
(exact)

Kommt auch eine nette Mail an den Postmaster, wo etwas steht wie:

| The message has been quarantined as
| 3d4e41c0-25bf.msg.

| The corresponding logfile has been written to
| 3d4e41c0-25bf.log.

Die Dateien sind aber nicht auffindbar!

ls -lR /var/spool/amavis/
/var/spool/amavis/:
insgesamt 3
drwxr-x---    2 mail     mail         1024 25. Jul 15:00 problems
drwxr-x---    2 mail     mail         1024 25. Jul 15:00 quarantine
drwxr-x---    2 mail     mail         1024 25. Jul 15:00 queue
/var/spool/amavis/problems:
insgesamt 0
/var/spool/amavis/quarantine:
insgesamt 0
/var/spool/amavis/queue:
insgesamt 0

Kannst du mir sagen, warum in den Verzeichnissen nichts zu finden ist?

Es wird auch keine Logdatei bei folgender Config geschrieben:

[Logging]

;; Use syslog? Facility (e.g. mail|info) or "no"
; syslog = mail|info
syslog = no
syslog loglevel = 3

;; Log to which file? And atwhat level?
logfile = /var/log/amavis/amavis.log
logfile loglevel = 6

Hast du eine Idee dazu?

Ich habe hier amavis-ng_0.1.4_i386.deb installiert.

Gruss Uwe

Attachment: pgphFt90Lc8Sw.pgp
Description: PGP signature


Reply to: