X-Spamd-Bar: ++
X-Spam-Level: **
X-Rspamd-Server: mx10
X-Rspamd-Queue-Id: 027223C
X-Spamd-Result: default: False [2.40 / 150.00]
FROM_NO_DN(0.00)[]
SUBJECT_ENDS_SPACES(0.50)[]
MISSING_TO(2.00)[]
RCVD_TLS_ALL(0.00)[]
ARC_NA(0.00)[]
MIME_GOOD(-0.10)[text/plain]
ARC_SIGNED(0.00)[i=1]
DKIM_SIGNED(0.00)[]
RCVD_COUNT_ZERO(0.00)[0]
FROM_EQ_ENVFROM(0.00)[]
Installed rspamd version on debian is:
1.6.5-4~stretch
The local.d/antivirus.conf contains:
clamav {
action = "reject";
symbol = "CLAM_VIRUS";
type = "clamav";
log_clean = true;
attachments_only = false;
max_size = 256000;
#servers = "/var/run/clamav/clamd.ctl";
servers = "127.0.0.1:3310";
}
And the local.d/milter_headers.conf has:
use = ["x-spamd-bar", "x-spam-level", "x-virus","authentication-results" ];
extended_spam_headers = true;
skip_local = false;
skip_authenticated = false;
routines {
x-virus {
header = "X-Virus";
remove = 1;
symbols = ["CLAM_VIRUS", "FPROT_VIRUS"];
}
}
I had expected to see some of these :-
an AV related header
a higher spam score
an rspamd rule hit indicating this was a virus
Did I misconfigure or mis-something?
--
You received this message because you are subscribed to the Google Groups "rspamd" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rspamd+un...@googlegroups.com.
Visit this group at https://groups.google.com/group/rspamd.
To unsubscribe from this group and stop receiving emails from it, send an email to rspamd+unsubscribe@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to rspamd+un...@googlegroups.com.
Visit this group at https://groups.google.com/group/rspamd.
--
You received this message because you are subscribed to the Google Groups "rspamd" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rspamd+un...@googlegroups.com.
Perhaps you omitted it to prevent your message from being blocked, but it appears that your EICAR test string is missing a leading "X"? (See https://en.wikipedia.org/wiki/EICAR_test_file)Otherwise, it does appear that Rspamd is working normally, and ClamAV is not marking it as a virus -- I would suggest testing with "clamscan" locally to ensure it is working correctly next.--Jered
----- On Jan 25, 2018, at 9:54 PM, Sophie Loe <1sophiel...@gmail.com> wrote:
Hi Jered,Not a dump question. Clamd is running:PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ SWAP COMMAND22667 clamav 20 0 878240 531448 4000 S 0.0 52.1 0:19.43 0 clamdrspamd.log had this line for the email,2018-01-25 19:56:38 #22790(rspamd_proxy) <8cb36e>; lua; antivirus.lua:466: CLAM_VIRUS [clamav]: message is cleanFull details are,
# grep 8cb36e rspamd.log2018-01-25 19:56:03 #22790(rspamd_proxy) <8cb36e>; proxy; proxy_accept_socket: accepted milter connection from 127.0.0.1 port 575082018-01-25 19:56:28 #22790(rspamd_proxy) <8cb36e>; milter; rspamd_milter_process_command: got connection from 127.0.0.1:406062018-01-25 19:56:37 #22790(rspamd_proxy) <8cb36e>; proxy; rspamd_mime_parse_message: cannot find content-type for a message, assume text/plain2018-01-25 19:56:37 #22790(rspamd_proxy) <8cb36e>; proxy; rspamd_mime_part_get_cte: detected missing CTE for part as: 7bit
2018-01-25 19:56:37 #22790(rspamd_proxy) <8cb36e>; proxy; rspamd_message_parse: loaded message; id: <20180125195626.027223C@mx10.example.co.uk>; queue-id: <027223C>; size: 219; checksum: <b32af87effbe3389b24159f22b680934>
2018-01-25 19:56:38 #22790(rspamd_proxy) <8cb36e>; proxy; spf_symbol_callback: skip SPF checks for local networks and authorized users2018-01-25 19:56:38 #22790(rspamd_proxy) <8cb36e>; proxy; dkim_symbol_callback: skip DKIM checks for local networks and authorized users
2018-01-25 19:56:38 #22790(rspamd_proxy) <8cb36e>; proxy; fuzzy_generate_commands: <20180125195626.027223C@mx10.example.co.uk>, part is shorter than 1000 bytes: 138 (69 * 2.00 bytes), skip fuzzy check
2018-01-25 19:56:38 #22790(rspamd_proxy) <8cb36e>; lua; ip_score.lua:303: skip IP Score for local networks and authorized users2018-01-25 19:56:38 #22790(rspamd_proxy) <8cb36e>; surbl; surbl_test_url: disable surbl dbl.spamhaus.org as it is reported to be offline2018-01-25 19:56:38 #22790(rspamd_proxy) <8cb36e>; surbl; surbl_test_url: disable surbl sbl.spamhaus.org as it is reported to be offline2018-01-25 19:56:38 #22790(rspamd_proxy) <8cb36e>; lua; once_received.lua:82: Skipping once_received for authenticated user or local network2018-01-25 19:56:38 #22790(rspamd_proxy) <8cb36e>; lua; dmarc.lua:241: skip DMARC checks for local networks and authorized users2018-01-25 19:56:38 #22790(rspamd_proxy) <8cb36e>; lua; antivirus.lua:466: CLAM_VIRUS [clamav]: message is clean2018-01-25 19:56:38 #22790(rspamd_proxy) <8cb36e>; proxy; bayes_classify: skip classification as ham class has not enough learns: 62, 200 required2018-01-25 19:56:38 #22790(rspamd_proxy) <8cb36e>; lua; replies.lua:105: storing message-id for replies check
2018-01-25 19:56:38 #22790(rspamd_proxy) <8cb36e>; proxy; rspamd_task_write_log: id: <20180125195626.027223C@mx10.example.co.uk>, qid: <027223C>, ip: 127.0.0.1, from: <te...@example.co.uk>, (default: F (no action): [2.40/150.00] [MISSING_TO(2.00){},SUBJECT_ENDS_SPACES(0.50){},MIME_GOOD(-0.10){text/plain;},ARC_NA(0.00){},ARC_SIGNED(0.00){i=1;},DKIM_SIGNED(0.00){},FROM_EQ_ENVFROM(0.00){},FROM_NO_DN(0.00){},RCVD_COUNT_ZERO(0.00){0;},RCVD_TLS_ALL(0.00){}]), len: 219, time: 292.004ms real, 17.300ms virtual, dns req: 0, digest: <b32af87effbe3389b24159f22b680934>, rcpts: <te...@example.co.uk>
To unsubscribe from this group and stop receiving emails from it, send an email to rspamd+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/rspamd.
--
You received this message because you are subscribed to the Google Groups "rspamd" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rspamd+unsubscribe@googlegroups.com.
It did in plain text :-)
--
You received this message because you are subscribed to a topic in the Google Groups "rspamd" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/rspamd/zMlv7eeeH8Y/unsubscribe.
To unsubscribe from this group and all its topics, send an email to rspamd+un...@googlegroups.com.
Visit this group at https://groups.google.com/group/rspamd.
Regards, Sophie