I'm trying to filter mail through spamassassin using procmail called
from sendmail (versions at bottom of message). The problem is that I
only want to do this on a per user basis as opposed to site wide, which
doesn't seem to be common because I have found no documentation relating
to this setup. I have therefore started with the procmail script
distributed with the spamassassin rpm:
# cat /etc/mail/spamassassin/spamassassin-default.rc
# send mail through spamassassin
:0fw
| /usr/bin/spamassassin
Then, I tried calling this rc script from the aliases file using a pipe
to procmail but no combination worked. I then tried copying the rc
script elsewhere and tried all kinds of ownerships and permissions, none
of which worked. So, can someone please tell me:
1. path to rc file with ownership and permissions
2. complete aliases line
3. if using a .forward file, the exact content of the file with
ownership and permissions
# rpm -qa | egrep '(release|spamassassin|procmail|sendmail)'
redhat-release-9-3
sendmail-8.12.8-4
sendmail-cf-8.12.8-4
procmail-3.22-9
spamassassin-2.44-11.8.x
--
Marc Tardif
Sitepak
(514) 866-8883
from sendmail (versions at bottom of message). The problem is that I
only want to do this on a per user basis as opposed to site wide, which
doesn't seem to be common because I have found no documentation relating
to this setup. I have therefore started with the procmail script
distributed with the spamassassin rpm:
# cat /etc/mail/spamassassin/spamassassin-default.rc
# send mail through spamassassin
:0fw
| /usr/bin/spamassassin
Then, I tried calling this rc script from the aliases file using a pipe
to procmail but no combination worked. I then tried copying the rc
script elsewhere and tried all kinds of ownerships and permissions, none
of which worked. So, can someone please tell me:
1. path to rc file with ownership and permissions
2. complete aliases line
3. if using a .forward file, the exact content of the file with
ownership and permissions
# rpm -qa | egrep '(release|spamassassin|procmail|sendmail)'
redhat-release-9-3
sendmail-8.12.8-4
sendmail-cf-8.12.8-4
procmail-3.22-9
spamassassin-2.44-11.8.x
--
Marc Tardif
Sitepak
(514) 866-8883