SpamAssassin Rules We All NEED Topic is solved

Questions regarding the Mail Server
Dovecot, Exim, RoundCube
fedekrum
Posts: 31
Joined: Mon May 12, 2014 7:45 pm
Location: Argentina

Re: SpamAssassin Rules We All NEED

Postby fedekrum » Sat Dec 17, 2016 10:17 am

Thanks !!! I will try it.

sacredwebsite
Posts: 17
Joined: Sun Dec 13, 2015 6:18 pm

Re: SpamAssassin Rules We All NEED

Postby sacredwebsite » Wed Dec 21, 2016 2:42 am

How about a gist or a git repo to keep your changes/updates recent to one location for future references?

SS88
Posts: 296
Joined: Thu Nov 19, 2015 12:40 pm

Re: SpamAssassin Rules We All NEED

Postby SS88 » Wed Dec 21, 2016 3:41 am

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!

newtron
Posts: 22
Joined: Wed Jan 13, 2016 4:43 pm

Re: SpamAssassin Rules We All NEED

Postby newtron » Tue Jan 31, 2017 3:55 pm

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

Meow
Posts: 3
Joined: Tue Mar 28, 2017 8:28 am

Re: SpamAssassin Rules We All NEED

Postby Meow » Fri Mar 31, 2017 7:22 am

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?

SS88
Posts: 296
Joined: Thu Nov 19, 2015 12:40 pm

Re: SpamAssassin Rules We All NEED

Postby SS88 » Thu May 11, 2017 1:12 pm

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.


Return to “Mail Server”



Who is online

Users browsing this forum: No registered users and 3 guests