I would like to check for the existance of a field...
If it does exist, nomatter what the contents, the script is successfull;
if it isn't there, the script fails.
Below is part of a nesting block I'm pritty sure will do the job:
{
:0
* ^x-list-id:.*
listname | formail -rxx-list-id:
:0
noname
}
A bit strange; but will it do the job?--Putting all messages that don't
have a "x-list-id:" field into the "noname" folder, and if it does have
such a field, placing the contents (not field name) of the field in the
var "listname"?
Thanks