Koozali.org: home of the SME Server
Obsolete Releases => SME Server 7.x => Topic started by: Gaetan on November 04, 2011, 11:09:55 AM
-
Hi,
Is there a way to filter messages based on the subject.
We get a lot of spam messages that are indeed flagged as spam ... unfortunately, it looks like we can only reject messages based on the sender address ... not the message subject.
Can someone clarify please ?
Thanks
-
I suggest you to enable RHSBL and DNSBL on your server..
are you using fetchmail?
please post the result of
config show qpsmtpd
-
Hi,
Sorry for late reply.
Here the requested info:
config show qpsmtpd
qpsmtpd=service
Bcc=disabled
BccMode=cc
BccUser=maillog
DNSBL=enabled
LogLevel=8
MaxScannerSize=25000000
RBLList=whois.rfc-ignorant.org:dnsbl.njabl.org:zen.spamhaus.org
RHSBL=enabled
RequireResolvableFromHost=yes
SBLList=dsn.rfc-ignorant.org
TlsBeforeAuth=1
access=public
qplogsumm=disabled
status=enabled
Gaëtan
-
I would add some list to RBLList and SBLList
[root@srvsrv ~]# config show qpsmtpd
qpsmtpd=service
Authentication=enabled
BadCountries=RU
Bcc=disabled
BccMode=cc
BccUser=maillog
DNSBL=enabled
GeoIP=enabled
LogLevel=6
MaxScannerSize=25000000
RBLList=bl.spamcop.net:combined.njabl.org:dnsbl.ahbl.org:list.dsbl.org:multihop.dsbl.org:zen.spamhaus.org
RHSBL=enabled
RequireResolvableFromHost=yes
SBLList=bogusmx.rfc-ignorant.org:multi.surbl.org:black.uribl.com:rhsbl.sorbs.net:bulk.rhs.mailpolice.com:fraud.rhs.mailpolice.com:porn.rhs.mailpolice.com:adult.rhs.mailpolice.com:ex.dnsbl.org
TlsBeforeAuth=1
access=public
qplogsumm=disabled
status=enabled
actually, we have almost no spam
-
Hi,
Thanks. I will try to add those lists.
I have actually install the contrib "E-mail WBL".
In "Black Lists: REJECT", there are 2 sections:
qpsmtpd badhelo
qmail badmailfrom
How do you use them ?
Gaëtan
-
Hi,
Is there a way to filter messages based on the subject.
We get a lot of spam messages that are indeed flagged as spam ... unfortunately, it looks like we can only reject messages based on the sender address ... not the message subject.
Can someone clarify please ?
Thanks
If you are trying to automatically delete email that has been tagged as spam by your SME server, you may want to check the spamassassin settings for 'Sensitivity', 'TagLevel', 'RejectLevel' and 'SortSpam'.
All of these can be set in server-manage under E-mail:Change e-mail filtering settings:
Spam filtering Enabled
Spam sensitivity Custom (I believe this must be set to 'Custom' to enable the next two settings)
Custom spam tagging level <tag email with a score greater than or equal to this number>
Custom spam rejection level <reject email with a score greater than or equal to this number, but less than the tagging level>
Sort spam into junkmail folder enabled (move 'tagged' spam directly into junkmail)
If you don't already have it enabled, I also recommend enabling Bayesian auto-learning (http://wiki.contribs.org/Email#Bayesian_Autolearning).