On 09/02/03 07:52 PM, Larry Gilson sat at the `puter and typed:
> 
> 
> > :0
> > * !^Subject:.*Satalk
> > {
> >    :0fw: spamassassin.lock
> >    * < 256000
> >    | spamc
> > 
> >    SCANNED=$?
> > 
> >    :0fw: spamassassin.lock
> >    * ! SCANNED ?? ^^0^^
> >    * < 256000
> >    | spamassassin -a
> > }
> 
> I would think that this would probably be more resiliant in that the
> test could be moved if needed and there would not be a location
> dependency.  I agree I like the method you are suggesting starting
> with better.

Good, that adds a little self confidence to the equation for me then.


> I have a test server that I can try testing this.  I'll let you know
> my results.  Please let me know your results if you beat me to it!

I'm afraid I don't have a test server - all my work is production
environment development, which keeps life interesting, and makes me
very careful about any changes.

I did put a logging mechanism that increments a file by one byte, and
turns verbose procmail logging on.  I just modified the second recipe
as follows:

  :0 fw: spamassassin.lock
  * !SCANNED ?? ^^0^^
  * < 256000
  {
    LOGFILE=$HOME/.backup_sacheck
    VERBOSE=off
    LOG="."
    LOGFILE=$HOME/.procmail_log
    VERBOSE=on
    | spamassassin -a
  }

So ~/.backup_sacheck will increment its size by one byte (a '.'
character) each time the backup mechanism is hit.  Also, VERBOSE
logging is turned on (normally off) before when the log file is reset,
so there will be more detail for these messages, including the
subject, so I can verify that they make it into the mailbox.

Thanks for all the help with this.  It seems to me that once this
recipe is hammered out, we should put it up for a FAQ or part of the
spamc documentation.

Lou
-- 
Louis LeBlanc               [EMAIL PROTECTED]
Fully Funded Hobbyist, KeySlapper Extrordinaire :)
http://www.keyslapper.org                     ԿԬ

We are sorry.  We cannot complete your call as dialed.  Please check
the number and dial again or ask your operator for assistance.


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to