Ticket #22 (closed defect: fixed)

Opened 17 months ago

Last modified 17 months ago

Spam check for own (local) domain - bug or missconfiguration

Reported by: sven Owned by: jonas
Priority: critical Milestone:
Component: backend Version: SVN
Keywords: Cc:

Description

if i sent myself an email, CpVES checks this mail for spam. My spamassassin marks a mail with subject "test" and body "test" as spam with 5.5 points. This is not good - any mail to a local domain should not pass spamassassin.
as i understand the configuration, each mail - which is not whitelisted - will be sent through spamassassin. But this should be not allowed - do you have a solution.

(Amavis does a local domain check, but because spamassasin will be called after it, the mailfilter script does not know if it is a local domain - i think so...)

Change History

Changed 17 months ago by jonas

  • status changed from new to assigned

That's normal. If you use procmail or maildrop yourself without amavis only pipe the mail throw spamassassin you get this problem on each server.

The one and only tip is: train and update your spamassassin.

Perhaps, we can modify the sa_wb_listing.pl script to check if the domain is an local domain...

Changed 17 months ago by sven

modifying the sa_wb_listing.pl script is a good idea! i found simular solutions...

Changed 17 months ago by jonas

ok - but I will make it configurable. (The option in mail_config.conf)

Changed 17 months ago by jonas

  • status changed from assigned to closed
  • resolution set to fixed

Done in r146. Please have a look at the mail_config.conf in /etc/cpves/ The option for this feature is called: whitelist_local_domains

Note: See TracTickets for help on using tickets.