Ich verwende:
Debian Sarge, postfix, amavis.
In Amavis habe ich eingestellt, dass der Virusadmin eine Email erhalten soll. Leider erscheint in dieser Email aber:
Code: Select all
The message WILL NOT BE delivered to:
<confixx-du-45@hxxxx.serverkompetenz.net>:
250 2.7.1 Ok, discarded, id=26352-01 - VIRUS: EICAR_Test_FileCode: Select all
The message WILL NOT BE delivered to:
<user@domain.tld>:
250 2.7.1 Ok, discarded, id=26352-01 - VIRUS: EICAR_Test_FileZwar stehts unten im Header nochmals da, aber so wirken die Regeln in Amavis nicht, durch die ich bestimme, welcher Virusadmin welche Notification erhält.
Die Amavis Config ist soweit Standard. In die Confixx Files habe ich den Code aus der Readme des Debian Pakets eingefügt:
Code: Select all
master.cf:
#amavis kram
smtp-amavis unix - - n - 2 smtp -o smtp_data_done_timeout=1200 -o smtp_send_xforward_command=yes -o disable_dns_lookups=yes
127.0.0.1:10025 inet n - n - - smtpd -o content_filter= -o local_recipient_maps= -o relay_recipient_maps= -o smtpd_restriction_classes= -o smtpd_client_restrictions= -o smtpd_helo_restrictions= -o smtpd_sender_restrictions= -o smtpd_recipient_restrictions=permit_mynetworks,reject -o mynetworks=127.0.0.0/8 -o strict_rfc821_envelopes=yes -o smtpd_error_sleep_time=0 -o smtpd_soft_error_limit=1001 -o smtpd_hard_error_limit=1000
Code: Select all
main.cf:
content_filter = smtp-amavis:[127.0.0.1]:10024
Danke und Gruß
Hotzi