1

Topic: Content and virus filter - iRedMail

Hello,

I came up with a question: scanning for viruses and spam is disabled by default in iRedMail?

The / etc / amavis conf.d / 15-content_filter_mod is fully commented.

These settings are being overridden by the / etc / amavis conf.d / 50-user?

My server is with 35 domains and so far has not put any mail in quarantine. See:

System Information
Number of domains     35
Number of users     360

Statistics Of Latest 24 Hours
Received     2452
Sent     1270
Virus 0
Quarantined 0

Is that normal?

Tks,

Marcelo

2

Re: Content and virus filter - iRedMail

M Martinatti wrote:

I came up with a question: scanning for viruses and spam is disabled by default in iRedMail?

They're ENABLED by default.

The / etc / amavis conf.d / 15-content_filter_mod is fully commented.
These settings are being overridden by the / etc / amavis conf.d / 50-user?

That's right.

M Martinatti wrote:

My server is with 35 domains and so far has not put any mail in quarantine.

Did you configure Amavisd to quarantine SPAM/VIRUS into MySQL database?
Reference: http://iredmail.org/wiki/index.php?titl … arantining

Also, did you apply patch to fix Statistics issue here?
http://www.iredmail.org/forum/topic2104 … ro-12.html

3

Re: Content and virus filter - iRedMail

ZhangHuangbin wrote:

Did you configure Amavisd to quarantine SPAM/VIRUS into MySQL database?
Reference: http://iredmail.org/wiki/index.php?titl … arantining

OK, I did the configuration now. I will follow.

One question: with the change the parameter $ final_spam_destiny to "D_DISCARD" emails classified as spam will continue to be sent to SPAM folder for users?

ZhangHuangbin wrote:

Also, did you apply patch to fix Statistics issue here?
http://www.iredmail.org/forum/topic2104 … ro-12.html

I will now provide the implementation of the path and return it!

TKS

4

Re: Content and virus filter - iRedMail

M Martinatti wrote:

One question: with the change the parameter $ final_spam_destiny to "D_DISCARD" emails classified as spam will continue to be sent to SPAM folder for users?

No.
SPAMs will be quarantined into MySQL database, you should login to iRedAdmin-Pro to delete or release them manually.

5

Re: Content and virus filter - iRedMail

Hi Zhang,

I set Amavisd to enable quarantine
(reference: http://iredmail.org/wiki/index.php?titl … rantining)

Very good! Many spam mail being sent directly to quarantine, with few false positives. This filter process is intelligent, refineable?

But I had to return to the default setting for the return message to be routed to the junk folder users. Back in the configuration of Amavisd (/etc/amavis/conf.d/50-user) to original:

$final_spam_destiny       = D_PASS;
#$spam_quarantine_to = 'spam-quarantine'; (commented)
#$spam_quarantine_method = 'sql:'; (commented)

The Amavisd has restarted.

So these messages that were already being easily classified as spam should go to the junk folder users. But they are getting all the inbox.

In /home/vmail/sieve I had copied the file to dovecot.sieve.sample dovecot.sieve, but almost no messages are being directed to junk folder.

Maybe I left something without setting?

Marcelo M.

6

Re: Content and virus filter - iRedMail

M Martinatti wrote:

So these messages that were already being easily classified as spam should go to the junk folder users. But they are getting all the inbox.
In /home/vmail/sieve I had copied the file to dovecot.sieve.sample dovecot.sieve, but almost no messages are being directed to junk folder.

Did you check mail header of those mails already delivered in Inbox?
Sieve filter will move them to Junk folder when they contains 'X-Spam-Flag' header.