• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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