Enhancement #3150

Mail filter bypass

Added by Filippo Carletti over 6 years ago. Updated about 6 years ago.

Status:CLOSEDStart date:
Priority:NormalDue date:
Assignee:-% Done:

100%

Category:nethserver-mail-filter
Target version:v6.6
Resolution: NEEDINFO:No

Description

The email filter accepts 3 kind of exceptions:
1. whitelist from
2. whitelist to
3. blacklist from

The manual (http://docs.nethserver.org/en/latest/mail.html#anti-spam) correctly states that antivirus is enforced even for whitelists (I think it's the right most secure choice), but I doesn't say that antispam checks are always run and mail delivered to junkmail even for a whitelisted address.
To explain it differently: if a spam should have been rejected, it will be delivered to the junkmail if the sender/recipient is in whitelist.

I expected that a whitelisted address would have bypassed antispam check completely.
To say it differently: if in whitelist, always deliver to inbox.


Related issues

Related to NethServer 6 - Bug #3148: Spam scan of relay domains CLOSED

Associated revisions

Revision c4e556b2
Added by Davide Principi about 6 years ago

Recipient whitelist implemented by bypass_spam_checks_maps. Refs #3150

Don't use spam_lovers_maps any more.

History

#1 Updated by Davide Principi about 6 years ago

  • Category changed from nethserver-mail-common to nethserver-mail-filter
  • Status changed from NEW to TRIAGED
  • Target version set to v6.6
  • % Done changed from 0 to 20

#2 Updated by Davide Principi about 6 years ago

  • Status changed from TRIAGED to ON_DEV
  • Assignee set to Davide Principi
  • % Done changed from 20 to 30

#3 Updated by Davide Principi about 6 years ago

  • Status changed from ON_DEV to MODIFIED
  • Assignee deleted (Davide Principi)
  • % Done changed from 30 to 60

Test case

After upgrading to modified version a message to a whitelisted recipient must be delivered always into Inbox and spam headers never be added.

Spam checks are bypassed.

#4 Updated by Davide Principi about 6 years ago

  • Status changed from MODIFIED to ON_QA
  • % Done changed from 60 to 70

In nethserver-testing:
nethserver-mail-filter-1.3.2-1.2.gc4e556b.ns6.noarch.rpm

#5 Updated by Davide Principi about 6 years ago

  • Related to Bug #3148: Spam scan of relay domains added

#6 Updated by Alessio Fattorini about 6 years ago

  • Status changed from ON_QA to VERIFIED
  • % Done changed from 70 to 90

Emails to whitelisted addresses are bypassed with a log like this, no score at all.

May 20 12:58:05 mail amavis[14130]: (14130-04) Passed CLEAN {RelayedInbound}, [199.***]:52255 [66.*****] <mailer@maysoft.org> -> <help@*****>, Message-ID: <0.0.0.3C.1D0707244C31466.A90DB@***.us>, mail_id: ibVzIOelzRys, *Hits: -*, size: 542259, queued_as: C3712AC0DE4, 8428 ms

Verified

#7 Updated by Giacomo Sanchietti about 6 years ago

  • Status changed from VERIFIED to CLOSED
  • % Done changed from 90 to 100
Released in nethserver-updates:
  • nethserver-mail-filter-1.3.3-1.ns6.noarch.rpm

Also available in: Atom PDF