procmail
[Top] [All Lists]

Re: identifying no "From" header

2005-07-25 08:09:04
On Sun, 24 Jul 2005, Lloyd Standish wrote:

Dear Grtz,

[...]

Debugging the check for a missing from header is a bit difficult, since I
cannot easily generate a test email with no from header.

        By default procmail checks the header not the body, so, if
        you have a text file procmail will take it as body, in you
        case, what ever you write in the file the recipe will return
        TRUE.

        You can add  HB  flags just for debugging but maybe you will
        find the following as better way:

echo "Hello" | formail | procmail ./procmailrc

        Formail will add the From_ as needed.

Bye,
  Udi


Regards,
Lloyd

-- 
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/

____________________________________________________________
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


+++++++++++++++++++++++++++++++++++++++++++
This Mail Was Scanned By Mail-seCure System
at the Tel-Aviv University CC.


---------------------------------------------------------------------------
Udi Mottelo - Unix System Administrator.
Faculty of Engineering - Tel-Aviv University
E-Mail: uuddii(_at_)eng(_dot_)tau(_dot_)ac(_dot_)il    Phone: +972-3-6409446
---------------------------------------------------------------------------

____________________________________________________________
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