• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    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.

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