procmail
[Top] [All Lists]

Re: Using 'procmail -m ...' (question)

2004-10-28 13:05:12
Toen wij William Park kietelden, kwam er dit uit:

    if cat ... | procmail -f - testforspam.rc; then

Why the cat-skin?

     if procmail -f- testforspam.rc < ... ; then


    :0
    * EXITCODE ?? 0
    spam

That would also deliver to spam if EXITCODE is 10.
And it misses locking.

-- 
Grtz, Ruud

____________________________________________________________
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