Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Mail Server
  • Search

SpamAssassin Rules We All NEED

Questions regarding the Mail Server
Dovecot, Exim, RoundCube
Post Reply
  • Print view
Advanced search
32 posts
  • Previous
  • 1
  • 2
  • 3
  • 4
  • Next
fedekrum
Posts: 49
Joined: Mon May 12, 2014 7:45 pm

Os: Ubuntu 15x
Web: apache + nginx
Re: SpamAssassin Rules We All NEED
  • Quote

Post by fedekrum » Sat Dec 17, 2016 10:17 am

Thanks !!! I will try it.
Top

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

Re: SpamAssassin Rules We All NEED
  • Quote

Post by 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?
Top

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

Re: SpamAssassin Rules We All NEED
  • Quote

Post by 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!
Top

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

Re: SpamAssassin Rules We All NEED
  • Quote

Post by 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
Top

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

Re: SpamAssassin Rules We All NEED
  • Quote

Post by 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?
Top

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

Re: SpamAssassin Rules We All NEED
  • Quote

Post by 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.
Top

jose
Posts: 21
Joined: Fri Dec 29, 2017 3:25 pm

Os: CentOS 6x
Web: nginx + php-fpm
Re: SpamAssassin Rules We All NEED
  • Quote

Post by jose » Mon May 21, 2018 2:14 am

My email goes good to gmail but in hotmail and outlook goes to spam

DO you know the reason?
Top

shikersger
Posts: 1
Joined: Sat Oct 27, 2018 3:12 pm
Contact:
Contact shikersger
Website Facebook Google+ Twitter

Os: CentOS 6x
Web: nginx + php-fpm
Re: SpamAssassin Rules We All NEED
  • Quote

Post by shikersger » Sat Oct 27, 2018 3:36 pm

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
Top

Emohlyni
Posts: 15
Joined: Wed Feb 27, 2019 1:34 am

Os: Debian 9x
Web: apache + nginx
Re: SpamAssassin Rules We All NEED
  • Quote

Post by Emohlyni » Thu Feb 28, 2019 10:55 am

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?
Top

zebios
Posts: 1
Joined: Sat Apr 27, 2019 10:49 pm
Contact:
Contact zebios
Website

Os: CentOS 6x
Web: apache
Re: SpamAssassin Rules We All NEED
  • Quote

Post by zebios » Sat Apr 27, 2019 10:52 pm

Thanks will try this in future.

Comparatif cigarette electronique - cigarette electronique - Booster nicotine - red astaire
Last edited by zebios on Tue Jun 29, 2021 2:05 pm, edited 1 time in total.
Top


Post Reply
  • Print view

32 posts
  • Previous
  • 1
  • 2
  • 3
  • 4
  • Next

Return to “Mail Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password