Op mijn debianserver heb ik exim, dovecot, clamav en spamassassin staan. Bij alle inkomende mail wordt netjes een spam-status weggeschreven, dus de juiste acl wordt gelezen:
De spamassassin wordt goed gelezen, dus ik neem aan dat clamav ook meegenomen wordt.
Als ik in mijn mailcliënt in de body de test virus verstuur, weigert hij netjes om te versturen, dus dat gaat ook goed.
Maar waarom krijg ik dan toch zoveel mails binnen met Locky virus?
Als ik een scan doe met clamscan komen ze allemaal naar voren. Dus ze worden wel herkend.
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
| # Deny if the message contains malware. Before enabling this check, you
# must install a virus scanner and set the av_scanner option in the
# main configuration.
#
# exim4-daemon-heavy must be used for this section to work.
#
deny
malware = *
message = This message was detected as possible malware ($malware_name).
# Add headers to a message if it is judged to be spam. Before enabling this,
# you must install SpamAssassin. You also need to set the spamd_address
# option in the main configuration.
#
# exim4-daemon-heavy must be used for this section to work.
#
# Please note that this is only suiteable as an example. There are
# multiple issues with this configuration method. For example, if you go
# this way, you'll give your spamassassin daemon write access to the
# entire exim spool which might be a security issue in case of a
# spamassassin exploit.
#
# See the exim docs and the exim wiki for more suitable examples.
#
# warn
# spam = Debian-exim:true
# add_header = X-Spam_score: $spam_score\n\
# X-Spam_score_int: $spam_score_int\n\
# X-Spam_bar: $spam_bar\n\
# X-Spam_report: $spam_report
# put headers in all messages (no matter if
# spam or not)
warn spam = nobody:true
add_header = X-Spam-Score: $spam_score ($spam_bar)
add_header = X-Spam-Report: $spam_report
# add second subject line with *SPAM* marker
# when message is over threshold
warn spam = nobody
add_header = Subject: ***SPAM ($spam_score)*** $h_Subject: |
De spamassassin wordt goed gelezen, dus ik neem aan dat clamav ook meegenomen wordt.
Als ik in mijn mailcliënt in de body de test virus verstuur, weigert hij netjes om te versturen, dus dat gaat ook goed.
Maar waarom krijg ik dan toch zoveel mails binnen met Locky virus?
Als ik een scan doe met clamscan komen ze allemaal naar voren. Dus ze worden wel herkend.