• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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