Am Donnerstag, 21. Juli 2005 18:49 schrieb Mark Williams:
[ .. ]

>
> Please don't get too hung up on the decisions that have been made -
> they are out of my control (hence my not going into depth on them). I
> only mentioned it to avoid people saying install this and install that
> or install IMAP etc - for various reasons they are not options -
> installing other software is not an option. The issue is how I get
> procmail to put SPAM mail in $HOME/mail/spam for each of the users.
>

Hello,

try the following example. Its from my .procmail but schould work 
in /etc/procmail.

Regards

Thomas

LOGFILE=$HOME/.procmail.log
VERBOSE=ON
HEUTE=`date +%F`

COUNT=`read COUNT <$HOME/.procmail/count ; COUNT=$((COUNT+1)) ; echo $COUNT 
>$HOME/.procmail/count ; echo $COUNT`

:0 c: count.lock
* ^X-Spam-Status: Yes
| cat >$HOME/spam/`printf %8.8d $COUNT`

:0 c: count.lock
* ^X-Spam-Status: No
| cat >$HOME/ham/`printf %8.8d $COUNT`


[..]

-- 
icq:133073900
http://www.t-arend.de

Attachment: pgpD0o1Vri6ut.pgp
Description: PGP signature

Reply via email to