[prev in list] [next in list] [prev in thread] [next in thread] 

List:       procmail
Subject:    Re: procmailrc, formail -a to add charset/encoding to missing out
From:       Ricardo Matias <devil () quartzo ! org>
Date:       2006-02-28 8:18:28
Message-ID: 12177.213.58.139.35.1141114708.squirrel () www ! quartzo ! org
[Download RAW message or body]

Thanks,

I've managed to do it with fwh as flags :>

Thanks for the pointers though :)

On Tue, February 28, 2006 02:18, Google Kreme wrote:
>
> On 27 Feb 2006, at 16:18 , Ricardo Matias wrote:
>
>> :0 c
>> * !^Content-Type:
>> | formail -a "Content-Type: text/plain;charset=iso-8859-15"
>>
>> :0 c
>> * !^Content-Transfer-Encoding:
>> | formail -a "Content-Transfer-Encoding: 8 bit"
>
> You are passing the mails off to a filter but there's no f or w flag:
>
>> :0 cfw
>> * !^Content-Type:
>> | formail -a "Content-Type: text/plain;charset=iso-8859-15"
>>
>> :0 cfw
>> * !^Content-Transfer-Encoding:
>> | formail -a "Content-Transfer-Encoding: 8 bit"
>
> But this will give you a total of THREE copies of an email without
> either header.  I suspect what you want is:
>
> :0 c
> * !^Content-Type:
> * !^Content-Transfer-Encoding:
> {
>    :0 fw
>    * !^Content-Type:
>    | formail -a "Content-Type: text/plain;charset=iso-8859-15"
>
>    :0 fw
>    * !^Content-Transfer-Encoding:
>    | formail -a "Content-Transfer-Encoding: 8 bit"
> }
>
>
> --
> You try to shape the world to what you want the world to be. Carving
> your name a thousand times won't bring you back to me. Oh no, no I
> might as well go and tell it to the trees. Go and tell it to the
> trees, yeah.
>
>
>
> ____________________________________________________________
> procmail mailing list   Procmail homepage: http://www.procmail.org/
> procmail@lists.RWTH-Aachen.DE
> http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail
>


-- 
Eat right, stay fit, die anyway.


____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail@lists.RWTH-Aachen.DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic