• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

simple qmail filter

pcsousa

New Pleskian
Because I didn't found better solution, I made a simple conditional script to run on .qmail (/var/qmail/mailnames/YOURDOMAIN/YOUREMAILACCOUNT/.qmail) pipe.

Here is my .qmail file:
| true
| if [ -n "`grep 'This is a permanent error'`" ]; then exit 100; else exit 0; fi
./Maildir/

This will filter all incoming email and ignore every with 'This is a permanent error' somewhere in body, subject or headers, otherwise will put message at maildir. You can apply any filter you want.

Regards.
 
Plesk also uses dot-qmail files to process mail via spamassassin and for some other mail features. so this features will not work with your scheme. Also Plesk will rewrite dot-qmail files during mchk execution or during mailname preferences changes.
 
Back
Top