• Debian 11 has reached its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.81 is 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.

plesk - qmail - spamassassin and spam

K

kpimichael

Guest
i have read every page in this forum trying to do the following: I want to take mail that is identified as spam by spamassassin and force it to one mailbox per domain. Following all the tips here are the changes i made...but it doesnt seem to work...so i obviously missed something. Any help would be much appreciated...

I changed the .qmail-default file for a domain
PHP:
/var/qmail/mailnames/domain.com/.qmail-default
to look like this
PHP:
| /var/qmail/bin/preline /usr/bin/spamc -f | bouncesaying 'This address no longer accepts mail'

I then put in a default procmail.rc file
PHP:
/etc/procmail.rc
that contained the following:
  • LOGFILE=/var/log/procmail
  • SHELL=/bin/sh
  • :0 fw
  • *<256000
  • |/usr/bin/spamc -f
  • MAILDIR $HOME/mail
  • :0:
  • *^X-Spam_Status: Yes
  • spam

From what i had read i thought it would work...but spam still goes to the normal inbox. Thanks in advance for advice.
 
Back
Top