1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

plesk - qmail - spamassassin and spam

Discussion in 'Plesk for Linux - 8.x and Older' started by kpimichael, Dec 11, 2005.

  1. kpimichael

    kpimichael Guest

    0
     
    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 -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.
     
Loading...