rspamc is fairly slow, what am I doing wrong?

141 views
Skip to first unread message

Joakim Verona

unread,
May 3, 2017, 6:58:51 AM5/3/17
to rspamd
Hello,

I'm new to rspamd.

I have made a little script that goes through a maildir folder, and for each file calls rspamc.
If rspamd thinks its spam, the file is moved.

It seems to take rspamc a couple of seconds for each mail, which seems slow. What am I doing wrong?

I used the rspam projects rpm packaging, and its a fedora 23 machine.

I have started rspamd, and rspamc is communicating with it, I think.

/Joakim

Vsevolod Stakhov

unread,
May 4, 2017, 1:33:08 PM5/4/17
to Joakim Verona, rspamd
Rspamc can internally process directories and process multiple files
simultaneously (using -n option, 10 is the default). A single message
can be processed for a longer time since Rspamd performs a lot of DNS
and other network checks which could be very slow (but that's all about
scan latency not about scan throughput).

In general, Rspamd is designed to process multiple messages at the same
time and not one message by another.

Reply all
Reply to author
Forward
0 new messages