• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Email filtering with regex

rjshelq

New Pleskian
Hi,

I'm using Plesk 8.3, CentOS 5, with qmail and spamassassin.

I would like to install some sort of simple, reliable email filter that would delete a variety of incoming email bounce messages whenever they include certain text such as "over quota" or "mailbox full" or "5.2.2". Ideally, the filter expressions would be in regex form.

Are there any existing scripts that do this? If not, what's the best way to add such a feature to Plesk 8.3 without breaking anything?

Thanks....
 
Hello,

No, there is no such feature in Plesk and qmail does not have such feature by default as well. Mail server accepts all messages sent to local accounts.
You can try creating per mailbox mail filters in Mail transfer agent and in webmail:
http://support.uchicago.edu/docs/email/clients/webmail/options/createfilter.html

Or you can try searching for a qmail patch that will enable this functionality on mail server level. In case you find such patch you can use the following article for instructions on how to compile Qmail with custom patches:
http://kb.swsoft.com/en/1161
 
Back
Top