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

Exim Filters

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

Os: Ubuntu 15x
Web: apache + nginx
Exim Filters
  • Quote

Post by fedekrum » Thu Feb 27, 2020 10:19 am

Where and how can I add exim filters on vesta ?
I am trying to detect spam from my server with this tutorial but is specific for CPanel.
https://mellowhost.com/blog/how-to-trac ... -exim.html
Top

plutocrat
Posts: 232
Joined: Fri Jan 27, 2017 9:16 am

Os: Ubuntu 17x
Web: apache + nginx
Re: Exim Filters
  • Quote

Post by plutocrat » Mon Mar 02, 2020 8:36 am

I believe you just have to define a file for them in /etc/exim4/exim4.conf.template eg
system_filter = /etc/exim4/system_filter

Then put your commands in that file.

Also replace [email protected] for a real email address you've set up on the vestacp server to receive all the mails. As long as Spamassassin is running on your server, it should basically fulfill all the criteria.

I made my own system_filter, to re-write the Subject lines of Spam emails. It looks like this

Code: Select all

if $h_X-Spam-Status: contains "Yes"
then
    headers remove "Subject"
    headers add "Subject: $h_X-Spam-Subject"
endif
Top


Post Reply
  • Print view

2 posts • Page 1 of 1

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