I tried running spamc in procmail and it appears to work. I think I am missing something still. When I check the log the the message is scanned but is not delivered to a mailbox. Is there something in postfix that need to set to get scanned mail delivered to a mailbox? I got the test to work with the script and it now delivers the mail, but I cant get spamassassin and postfix to automatically scan and deliver mail here either.
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Jim Breton
Sent: Monday, March 03, 2003 12:21 PM
To: [EMAIL PROTECTED]
Subject: Re: [SAtalk] Config and testing problems
On Mon, Mar 03, 2003 at 11:50:39AM -0700, dan wrote:
> I am trying to get spamassassin working, using the sample config found
> at http://advosys.ca/papers/postfix-filtering.html I modified the
> script to work with my installed apps. When I run the test that they
> have on the config page I get an error ./filter.sh: out.6448: No such
> file or directory
>
> I am wondering if I am missing a piece to the config puzzle? When I
> look at the log I see that the email test is scanned but there is no
> mail generated for root.
>
> Is there anyone who has seen this problem?
I used to use that script, back when I first implemented SpamAssassin on a Postfix box. I eventually made some changes to the script, and finally, ditched it altogether in favor of using procmail.
(The reason I ditched it is because the script hangs if 'spamc' is spawned and never exits.. and Postfix eventually will give up on the script, kill it, and bounce the mail back to sender instead of retrying later. With procmail I set the child process (spamc) time limit shorter than the Postfix time limit, so if spamc hangs now, procmail will kill it and continue delivery without SA filtering.)
Anyway, regarding your question, that error may be coming from the 'rm' of that file; if it doesn't exist, then you probably had a problem creating it to begin with, which may be caused by a permissions problem.