You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by on 2004/03/18 13:35:43 UTC
NEWBIE Question
I am fairly new at this....
Using FreeBSD, Postfix (with SSL and sasl),Qpopper (with SSL and sasl)
I have installed postfix and integrated spamassassin 2.63 into the
master.cf
it marks messages with ****SPAM (very nice)
Now I am trying to get procmail to filter them out
below is my recipe but it doesn't seem to work
:0 Wh: msgid.lock
| formail -D 8192 msgid.cache
### Part 1 checks for duplicate emails (This seems to work)
:0:
* ^X-Spam-Status: Yes
/var/mail/MailManagerFolder/`date "+%Y%m%d"`/.
### Part 2 checks for Spam Status if spam, file it away in a special
folder.
### (Not working probaly something simple)
Thanks in advance for any help
=====================================
=== R Bates
=====================================
Re: NEWBIE Question
Posted by "Eric W. Bates" <er...@vineyard.net>.
I haven't checked the procmail syntax (always have to pull out the man
page); but make sure that every user has write permissions in the target
directory.
Procmail will be executing as the user for whom the mail is intended
(not postfix's default user); so I think you need something like: 1777
(e.g. rwxrwxrwt). It's kind of wide open; tho. You can mitigate that to
1770 if you put all your mail users into some special group like
"sausers" and made the dir the same group. You might also be able to
remove the execute bit which would prevent a third party from listing
the contents of the directory; but that might screw up whatever tool you
will use to report/purge/read the junk you've stored.
rtbates@patmedia.net wrote:
> I am fairly new at this....
> Using FreeBSD, Postfix (with SSL and sasl),Qpopper (with SSL and sasl)
>
> I have installed postfix and integrated spamassassin 2.63 into the
> master.cf
> it marks messages with ****SPAM (very nice)
> Now I am trying to get procmail to filter them out
> below is my recipe but it doesn't seem to work
>
> :0 Wh: msgid.lock
> | formail -D 8192 msgid.cache
> ### Part 1 checks for duplicate emails (This seems to work)
> :0:
> * ^X-Spam-Status: Yes
> /var/mail/MailManagerFolder/`date "+%Y%m%d"`/.
> ### Part 2 checks for Spam Status if spam, file it away in a special
> folder.
> ### (Not working probaly something simple)
>
>
> Thanks in advance for any help
> =====================================
> === R Bates
> =====================================