<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title></title>
</head>
<body>
Thanks for the "ps -awwux | grep spam" hint. The spamd is run by root and
root has an existing writable .spamassassin folder. <br>
For the procmail recipes, I'd like to clarify on this. Here is my /etc/procmailrc
which uses spamassassin:<br>
<br>
<small><i>:0fw<br>
* < 256000<br>
| spamc<br>
<br>
:0:<br>
* ^X-Spam-Status: Yes<br>
/dev/null<br>
</i></small><br>
This works for the mailboxes but unfortunately not for RT. The mail for RT
jumps this filter since <br>
from /etc/aliases it gets piped to the rt-mailgate program. So I modified
my entries for rt_user <br>
in /etc/aliases to look like this:<br>
<br>
<small><i>my_rt-user: "|/usr/bin/procmail -m /etc/procmailrcs/rt
support correspond"</i></small><br>
<br>
And this is my complete text for /etc/procmailrcs/rt:<br>
<br>
<i><small>:0fw<br>
| /usr/bin/formail -i "X-RT-Queue: $1"<br>
<br>
:0cw<br>
| /usr/local/bin/spamc<br>
<br>
:0aw<br>
| /opt/rt2_ss/bin/rt-mailgate --queue $1 --action $2<br>
<br>
:0w<br>
| /opt/rt2_ss/bin/rt-mailgate --queue spam --action $2</small></i><br>
<br>
The problem is it always returns a success for the spamc line, so the mail
never gets delivered to the spam folder.<br>
<br>
<pre class="moz-signature" cols="$mailwrapcol">--
Rule 028 » Whisper your way to success.
</pre>
</body>
</html>