procmail
[Top] [All Lists]

Escaping "^From "

2009-06-12 21:32:15
This is the recipe that write out all my list mail:

:0
* ! LISTNAME ?? ^^^^
{
   :0
   .$LISTNAME.$MYDATE/


}

or

:0
* ! ^TO_kremels(_at_)kreme(_dot_)com
{
   :0
   .Misc.not-to-me/
}


And yet, I am seeing mail that has lines beginning with "From " being escaped.

$ mail kremels
Subject: From test

This is a test of lines beginning with
From and if they are modified by my procmail

From here on, this is a test.

--
Signature
EOT
$ cat Maildir/.Misc.not-to-me/new/1244856111.5496_0.mail.covisp.net\: 2\,S
Return-Path: <root(_at_)covisp(_dot_)net>
X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on mail.covisp.net
X-Spam-Level: *
X-Spam-Status: No, score=1.1 required=3.5 tests=AWL,BAYES_50,NO_RELAYS
        autolearn=no version=3.2.5
X-Spam-Report:
        * -0.0 NO_RELAYS Informational: message was not relayed via SMTP
        *  0.0 BAYES_50 BODY: Bayesian spam probability is 40 to 60%
        *      [score: 0.4998]
        *  1.1 AWL AWL: From: address is in the auto white-list
X-Original-To: kremels
Delivered-To: kremels(_at_)covisp(_dot_)net
Received: by mail.covisp.net (Postfix, from userid 0)
        id 43661118B595; Fri, 12 Jun 2009 19:21:49 -0600 (MDT)
To: kremels(_at_)covisp(_dot_)net
Subject: From test
Message-Id: <20090613012149(_dot_)43661118B595(_at_)mail(_dot_)covisp(_dot_)net>
Date: Fri, 12 Jun 2009 19:21:49 -0600 (MDT)
From: root(_at_)covisp(_dot_)net (Charlie Root)


This is a test of lines beginning with
>From and if they are modified by my procmail

>From here on, this is a test.

--
Signature

in procmailrc I have the following:

:0c
{
        :0
        /backup/imap.backup/
}

and that message gets written as:

$ cat /backup/imap.backup/new/1244856109.5499_0.mail.covisp.net
Return-Path: <root(_at_)covisp(_dot_)net>
X-Original-To: kremels
Delivered-To: kremels(_at_)covisp(_dot_)net
Received: by mail.covisp.net (Postfix, from userid 0)
        id 43661118B595; Fri, 12 Jun 2009 19:21:49 -0600 (MDT)
To: kremels(_at_)covisp(_dot_)net
Subject: From test
Message-Id: <20090613012149(_dot_)43661118B595(_at_)mail(_dot_)covisp(_dot_)net>
Date: Fri, 12 Jun 2009 19:21:49 -0600 (MDT)
From: root(_at_)covisp(_dot_)net (Charlie Root)


This is a test of lines beginning with
From and if they are modified by my procmail

From here on, this is a test.

--
Signature

so, somewhere between the initial backup write and the final write, the "^From " lines are getting escaped. Could this be SpamAssassin?

--
The person on the other side was a young woman. Very obviously a
        young woman. There was no possible way that she could have been
        mistaken for a young man in any language, especially Braille.

____________________________________________________________
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>