Page 3 of 4

Re: SpamAssassin Rules We All NEED

Posted: Sat Dec 17, 2016 10:17 am
by fedekrum
Thanks !!! I will try it.

Re: SpamAssassin Rules We All NEED

Posted: Wed Dec 21, 2016 2:42 am
by sacredwebsite
How about a gist or a git repo to keep your changes/updates recent to one location for future references?

Re: SpamAssassin Rules We All NEED

Posted: Wed Dec 21, 2016 3:41 am
by SS88
sacredwebsite wrote:How about a gist or a git repo to keep your changes/updates recent to one location for future references?
Noted will do!

Re: SpamAssassin Rules We All NEED

Posted: Tue Jan 31, 2017 3:55 pm
by newtron
Hi, i have a problem (no, all are running very well, but thats the problem), some mails coming form outside to the users in my exim installation are marked as "spam" or are in a "blacklist", but its a "real" mail.

The default config of vestacp (i have debian installed) all mails marked as spam are dropped, these mails dont going to spam folder so... why is .spam folder created? Ô.ö

I need to mark these mails as spam and move them to spam folder, how i can do it?

Thanks!

UPDATE**

Solved, added all of these, if you configure the blacklists on SpamAssassin, mail marked as spam should go now to spam folder (change deny to warn the rule in exim too!):

Add to /etc/spamassassin/local.cf

Code: Select all


header RCVD_IN_ZENSPAMHAUS        eval:check_rbl('zenspamhaus-lastexternal', 'zen.spamhaus.org.')
describe RCVD_IN_ZENSPAMHAUS      Relay is listed in zen.spamhaus.org
tflags RCVD_IN_ZENSPAMHAUS        net
score RCVD_IN_ZENSPAMHAUS         3.0

header RCVD_IN_XMLSPAMHAUS        eval:check_rbl('xblspamhaus-lastexternal', 'xbl.spamhaus.org.')
describe RCVD_IN_XMLSPAMHAUS      Relay is listed in xbl.spamhaus.org
tflags RCVD_IN_XMLSPAMHAUS        net
score RCVD_IN_XMLSPAMHAUS         3.0

header RCVD_IN_SBLSPAMHAUS        eval:check_rbl('sblspamhaus-lastexternal', 'sbl.spamhaus.org.')
describe RCVD_IN_SBLSPAMHAUS      Relay is listed in sbl.spamhaus.org
tflags RCVD_IN_SBLSPAMHAUS        net
score RCVD_IN_SBLSPAMHAUS         3.0

header RCVD_IN_PSBSURRIEL         eval:check_rbl('psblsurriel-lastexternal', 'psbl.surriel.com.')
describe RCVD_IN_PSBSURRIEL       Relay is listed in psbl.surriel.com
tflags RCVD_IN_PSBSURRIEL         net
score RCVD_IN_PSBSURRIEL          3.0

header RCVD_IN_BARRACUDACEN       eval:check_rbl('bbarracuda-lastexternal', 'b.barracudacentral.org.')
describe RCVD_IN_BARRACUDACEN     Relay is listed in b.barracudacentral.org
tflags RCVD_IN_BARRACUDACEN       net
score RCVD_IN_BARRACUDACEN        3.0

header RCVD_IN_DULSORBS           eval:check_rbl('dnsblsorbs-lastexternal', 'dul.dnsbl.sorbs.net.')
describe RCVD_IN_DULSORBS         Relay is listed in dul.dnsbl.sorbs.net
tflags RCVD_IN_DULSORBS           net
score RCVD_IN_DULSORBS            3.0

header RCVD_IN_SPAMFABEK          eval:check_rbl('ssfabek-lastexternal', 'spamsources.fabek.dk.')
describe RCVD_IN_SPAMFABEK        Relay is listed in spamsources.fabek.dk
tflags RCVD_IN_SPAMFABEK          net
score RCVD_IN_SPAMFABEK           3.0

header RCVD_IN_CBLABUSEAT         eval:check_rbl('abuseat-lastexternal', 'cbl.abuseat.org.')
describe RCVD_IN_CBLABUSEAT       Relay is listed in cbl.abuseat.org
tflags RCVD_IN_CBLABUSEAT         net
score RCVD_IN_CBLABUSEAT          3.0

header RCVD_IN_L1APEWS            eval:check_rbl('apews-lastexternal', 'l1.apews.org.')
describe RCVD_IN_L1APEWS          Relay is listed in l1.apews.org
tflags RCVD_IN_L1APEWS            net
score RCVD_IN_L1APEWS             3.0

header RCVD_IN_BLSPAMCANIBAL      eval:check_rbl('spamcannibal-lastexternal', 'bl.spamcannibal.org.')
describe RCVD_IN_BLSPAMCANIBAL    Relay is listed in bl.spamcannibal.org
tflags RCVD_IN_BLSPAMCANIBAL      net
score RCVD_IN_BLSPAMCANIBAL       3.0

header RCVD_IN_ANONMAILS          eval:check_rbl('anonmails-lastexternal', 'spam.dnsbl.anonmails.de.')
describe RCVD_IN_ANONMAILS        Relay is listed in spam.dnsbl.anonmails.de
tflags RCVD_IN_ANONMAILS          net
score RCVD_IN_ANONMAILS           3.0

Re: SpamAssassin Rules We All NEED

Posted: Fri Mar 31, 2017 7:22 am
by Meow
SS88 wrote:
sacredwebsite wrote:How about a gist or a git repo to keep your changes/updates recent to one location for future references?
Noted will do!
So, where is it?

Re: SpamAssassin Rules We All NEED

Posted: Thu May 11, 2017 1:12 pm
by SS88
Meow wrote:
SS88 wrote:
sacredwebsite wrote:How about a gist or a git repo to keep your changes/updates recent to one location for future references?
Noted will do!
So, where is it?
https://github.com/SS88UK/SpamAssassinRules

Sorry for being slow! I'm trying to get everything on to Github as quickly as I can.

Re: SpamAssassin Rules We All NEED

Posted: Mon May 21, 2018 2:14 am
by jose
My email goes good to gmail but in hotmail and outlook goes to spam

DO you know the reason?

Re: SpamAssassin Rules We All NEED

Posted: Sat Oct 27, 2018 3:36 pm
by shikersger
SS88 wrote:
Tue Apr 26, 2016 1:03 am
Hello VestaCP Community!

I have now merged this topic to GitHub. I am reluctant to keep it updated on VestaCP forums - but it will forever stay updated on GitHub.

https://github.com/SS88UK/Funny Wifi name SpamAssassinRules

Once you have installed the rules and restarted SpamAssassin the rules will help reduce spam on your server.
The default config of vestacp (i have debian installed) all mails marked as spam are dropped, these mails dont going to spam folder so... why is .spam folder created? Ô.ö

I need to mark these mails as spam and move them to spam folder, how i can do it?

Thanks!

UPDATE**

Solved, added all of these, if you configure the blacklists on SpamAssassin, mail marked as spam should go now to spam folder (change deny to warn the rule in exim too!):

Add to /etc/spamassassin/local.cf

Re: SpamAssassin Rules We All NEED

Posted: Thu Feb 28, 2019 10:55 am
by Emohlyni
Need to be careful. Saw off-the-shelf software http://www.testelium.com. They have statistics on the mailing list and spam report. + universal server around the world. Tell me how to release such an algorithm for your application (you need to send notifications to users, send data from a computer). Maybe there is a link to something like a githab?

Re: SpamAssassin Rules We All NEED

Posted: Sat Apr 27, 2019 10:52 pm
by zebios