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

Mail filtering.

Questions regarding the Mail Server
Dovecot, Exim, RoundCube
Post Reply
  • Print view
Advanced search
5 posts • Page 1 of 1
ozgurerdogan
Posts: 27
Joined: Thu Aug 13, 2015 3:53 pm

Os: CentOS 5x
Web: apache
Mail filtering.
  • Quote

Post by ozgurerdogan » Thu Oct 22, 2015 2:23 pm

Is there a way to add mail filters like block domains / emails for user?
Top

slowz
Posts: 1
Joined: Tue Oct 27, 2015 4:48 am

Re: Mail filtering.
  • Quote

Post by slowz » Tue Oct 27, 2015 4:55 am

Have a look in the exim directory

Code: Select all

[root@m1 ~]# ls /etc/exim/
dnsbl.conf  domains  exim.conf  filters  spam-blocks.conf  white-blocks.conf
Top

ozgurerdogan
Posts: 27
Joined: Thu Aug 13, 2015 3:53 pm

Os: CentOS 5x
Web: apache
Re: Mail filtering.
  • Quote

Post by ozgurerdogan » Tue Oct 27, 2015 8:23 am

Yes but UI side have no options right?
Top

SCelik

Re: Mail filtering.
  • Quote

Post by SCelik » Sat Oct 31, 2015 9:15 am

Şimdilik böyle bir seçenek yok. Ama bu konuda talep var. Gelecek sürümlerde yapılacaktır.
Top

pharaoh
Posts: 2
Joined: Thu Jun 04, 2015 9:41 am
Contact:
Contact pharaoh
Website

Re: Mail filtering.
  • Quote

Post by pharaoh » Mon Nov 09, 2015 6:59 am

exim.conf

Code: Select all

system_filter = /etc/exim/exim.filter

exim.filter

Code: Select all

if $message_body matches "Content-Type:(?>\\\\s*)[\\\\w-]+/[\\\\w-]+;\\\\s*(?:name)=([^\" ]+ [^\"]*\\\\.(?:ad[ep]|ba[st]|chm|cmd|com|cpl|crt|eml|exe|hlp|hta|in[fs]|isp|jse?|lnk|md[be]|ms[cipt]|pcd|pif|reg|sc[mrt]|shs|url|vb[se]?|ws[fhc]))[\\\\s;]"
then
seen finish
endif

logfile /var/log/filter.log 0644

if $header_Received: contains "Keyword Filter"

or $message_body contains "Keyword Filter"

then

logwrite "$tod_log $message_id sender_address=$sender_address header_from=$header_from header_Received=$header_Received contained spam keywords"
Top


Post Reply
  • Print view

5 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