procmail
[Top] [All Lists]

Re: Procmail recipe

2009-01-24 15:07:49
On Sat, Jan 24, 2009 at 08:15:55PM +0100, Xavier Maillard wrote:
Ed Blackman <ed(_at_)edgewood(_dot_)to> writes:
Untested, but something like this should work.

Should but do not :)

When testing I have a "syntax error". I am trying to find out why
and where.

Sorry, I wrote the script as a long awk command line, then dumped the script into a file so I could make it more comprehensibile with whitespace and comments, but didn't test the awk command.

You have to say "awk -f file.awk" to run commands from a file, so replace the "awk listname.awk" with "awk -f listname.awk". You probably want to put the awk file somewhere, and put the whole path in the recipe anyway.

Hopefully that will get you running.

Ed

Attachment: signature.txt
Description: Digital signature

____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail
<Prev in Thread] Current Thread [Next in Thread>