-----BEGIN PGP SIGNED MESSAGE-----
On Thu, 2 May 1996, David A. wrote:
my .procmailrc
VERBOSE=ON
LOGFILE=$HOME
1. $HOME is a directory, change this to $HOME/procmail.log (or whatever you
want).
:0:
* ^TOprocmail
procmail
cat msg.* > procmail.all
del msg.*
2. Every recipe must have exactly _one_ action line. You try to execute
three actions.
3. Why do you want to save the message in a separate file, append it to
procmail.all and then delete the individual message? procmail can do this
for you:
:0:
* ^TOprocmail
procmail/procmail.all
Some more general comments:
4. del is a DOS command. UNIX needs rm.
5. The cat and del/rm work (actually they don't work, but if you change
things to make them work :-) on files in your home directory, not on the
procmail directory. If you want to work on files in another directory,
set MAILDIR in your .procmailrc file.
6. You want to append to a file, so you need `>>' instead of `>'. A
single `>' will delete the file and write it from scratch.
I suggest you read the procmailrc and procmailex man pages. Type:
`man procmailrc' (without the quotes) at the command line. You should
probably check out whatever UNIX help that's available on your system.
(The `del' makes me believe you are new to UNIX.)
- --
Guy Geens <guy(_dot_)geens(_at_)elis(_dot_)rug(_dot_)ac(_dot_)be>: Ph.D.
student at ELIS -- TFCG / IMEC
Home Page: http://www.elis.rug.ac.be/ELISgroups/tfcg/staff/gg.html
finger ggeens(_at_)elis(_dot_)rug(_dot_)ac(_dot_)be for PGP public keys (or use
keyserver)
Hardened disciple, feeling no pain.
World domination, a restless day.
A new dimension, a fatal impact.
Disturbed conditions. Terror reigns.
Pleasure constricts us. That is the way.
Empty perversion crippled by fate.
-----BEGIN PGP SIGNATURE-----
Version: 2.6.3i
Charset: noconv
Comment: pgp fingerprints in message headers
iQBVAwUBMYnApnwHoCha5QR1AQHLqgH+IjmKl9TY0xqww4wTuHG3vCpwzLJ8c4gn
0fTToByT43jtfm1Q1BH0odYK0f0SOt5i9lxEczgtstuAi53x099QZA==
=8nKD
-----END PGP SIGNATURE-----