SPASTIC and pine ------------------- Pine considerations ------------------- Pine is a popular console based mail user agent. Like many other mail clients, pine manages its own folders and keeps track of which messages have been read and other stats about each mail folder. It does this with several lines of text at the beginning of each folder. The people I know who use pine say that it is not very good at filtering. So, if you are a pine user, you may prefer to use procmail to append your spam into a spam folder created by pine. If you set the SPAM_FOLDER variable in .procmailrc to point to your pine spam folder, procmail will deliver the spam happily. Pine will not know about it in this case and will not show new messages waiting in the spam folder, so you will have to check the spam folder daily. ---------------------- Changes to rotate-spam ---------------------- As mentioned above, since pine uses some lines at the top of each mail folder to keep track of things, simply clearing out the spam folder (if you are using a spam folder managed by pine), is not a good option. The default rotate-spam script clears out the spam folder during the rotation. To get rotate-spam to work well with pine, here are some modifications sent in by Steve Cito. Near the end of rotate-spam script is a line that looks like this: mv "$SPAM_FILE" $HOME/.spastic/spam-backups/spam.1 Add a command before the line to save the pine folder header information to a file called spam-template, then use that template as the new empty spam folder. So, replace the single line above with these 3 lines: head --quiet --lines=12 "$SPAM_FILE">$HOME/.spastic/spam-template mv "$SPAM_FILE" $HOME/.spastic/spam-backups/spam.1 cp $HOME/.spastic/spam-template "$SPAM_FILE"