Re: Problem with Martin Macok's + Jack Bertram scripts?

"Brett Nemeroff" <[email protected]> Thu, 20 Mar 2003 10:38:47 -0500 (EST)
Newsgroups gmane.mail.ifile.general
Message-ID <[email protected]>
Ok, But I'm a bit embarassed showing how messy my procmailrc is :)
There is a lot of extras in there that probably never get called
(antiquated rules).

I did make mods to refile.learn.rc and refile.learn to change $MAILDIR
from $HOME/Mail to $HOME/mail.

Nothing else was changed.

----procmailrc-----
VERBOSE=yes
LOGFILE=procmail.log
MAILDIR=$HOME/mail

VERBOSE=yes
LOGFILE=procmail.log
MAILDIR=$HOME/mail

# Forward to ifile account
:0c:
* ^FROM.*
! [email protected]

:0fw
* < 256000
|/usr/bin/spamc -f


:0:
* ^X-Spam-Status: Yes
Spam

:0 fBw
| $HOME/bin/ifile.inject-learn.header

# Forward to pager
:0c:
* ^FROM.*
! [email protected]

:0:
* ^X-Ifile-Hint: \/.+
$MATCH

:0:
* ^TO.*squirrelmail\-*
mail/SquirrelMail-List


:0:
* ^TO.*brett-\/.*
mail/brett-$MATCH



:0c:
* ^[email protected]
mail/SourceForge-List

:0:
* ^TO.*squirrelmail\-plugins*
mail/SquirrelMail-plugins

:0c:
* ^Subject:.*page*
! [email protected]

:0c:
* ^Subject:.*page*
Sent-To-Pager
--------------------

-----crontab--------
*       2,6,9,11,13,15,17,19,21,23       *       *       * cd ~/bin;
../refile.learn > /dev/null
--------------------
The above was all one line

Thanks for your help.
-Brett


> Can you post your crontab and procmailrc?
>
> Have you modified ifile.relearn.message from Martin's version?
>
> jack
>
> * Brett Nemeroff <[email protected]> [030320 15:08]:
>> Hi There,
>> I hope this is an ok place to discuss this issue. If not, can someone
>> kindly redirect me to a more appropriate place? :) So I'm using Martin
>> Macok's and Jack Bertram scripts with ifile and I keep getting the
>> following error (produced in an email from the cron daemon). This cron
>> job is running something like every hour rather than every day (for
>> testing).
>>
>> Any ideas what might cause this to happen. I'd say it happens 70% of
>> the time. The other 30% the program runs as expected. As an
>> interesting note, mail still does get re-classified.
>>
>> Thanks,
>> Brett
>>
>> procmail: Program failure (255) of " $HOME/bin/ifile.relearn.message
>> $MATCH $FOLDER
>> 2>/dev/null"
>> procmail: Error while writing to " $HOME/bin/ifile.relearn.message
>> $MATCH $FOLDER
>> 2>/dev/null"
>> procmail: Program failure (255) of " $HOME/bin/ifile.relearn.message
>> $MATCH $FOLDER
>> 2>/dev/null"
>> procmail: Error while writing to " $HOME/bin/ifile.relearn.message
>> $MATCH $FOLDER
>> 2>/dev/null"
>> procmail: Program failure (255) of " $HOME/bin/ifile.relearn.message
>> $MATCH $FOLDER
>> 2>/dev/null"
>> procmail: Error while writing to " $HOME/bin/ifile.relearn.message
>> $MATCH $FOLDER
>> 2>/dev/null"
>> procmail: Program failure (255) of " $HOME/bin/ifile.relearn.message
>> $MATCH $FOLDER
>> 2>/dev/null"
>>
>>
>>
>>
>>
>> _______________________________________________
>> Ifile-discuss mailing list
>> [email protected]
>> http://mail.nongnu.org/mailman/listinfo/ifile-discuss
>
>
> _______________________________________________
> Ifile-discuss mailing list
> [email protected]
> http://mail.nongnu.org/mailman/listinfo/ifile-discuss