pe, 2010-10-29 kello 15:28 -0400, Todd Zullinger kirjoitti:
> Frantisek Hanzlik wrote:
<--SNIP-->
>
> Nice. I thought about formail, but when I did a quick test I found it
> didn't decode the headers. The reformime utility sounds like a good
> tool to keep in mind. Thanks!
>
Thank you for cla
Frantisek Hanzlik wrote:
> You can use "reformime" from maildrop package (present in Fedora):
>
> reformime -c UTF-8 -h "header"
> reformime -c UTF-8 -h "$(grep -i '^Subject:' MailFile)" # Header keys
> are case-insensitive, thus "-i"
Nice. I thought about formail, but when I did a quick test I
Hiisi wrote:
> pe, 2010-10-29 kello 09:08 -0400, Todd Zullinger kirjoitti:
> <--SNIP-->
>> Why do you say this is incorrect? It looks like a properly encoded
>> mail header that uses non-ascii characters, per RFC 2047.
>>
>
> I use this command in a bash script:
> cat |grep Subject:|sed 's/Subjec
Hiisi wrote:
> pe, 2010-10-29 kello 09:08 -0400, Todd Zullinger kirjoitti:
> <--SNIP-->
> I use this command in a bash script:
> cat |grep Subject:|sed 's/Subject: //g'>$OUTFILE
(UUOC there? ;)
> The script is invoked by procmail. The $OUTFILE consists of something
> like that:
> =?utf-8?B?0YLQtd
pe, 2010-10-29 kello 09:08 -0400, Todd Zullinger kirjoitti:
<--SNIP-->
> Why do you say this is incorrect? It looks like a properly encoded
> mail header that uses non-ascii characters, per RFC 2047.
>
I use this command in a bash script:
cat |grep Subject:|sed 's/Subject: //g'>$OUTFILE
The scri
On Fri, 2010-10-29 at 16:51 +0400, Hiisi wrote:
> Looking at the /var/mail/ file I found that subject fields
> are often in a wrong encoding while every other part of the message
> displayed correctly. Example:
> Subject: test =?koi8-r?Q?=D4=C5=D3=D4?=
> Is there some settings in sendmail configura
Hiisi wrote:
> Looking at the /var/mail/ file I found that subject fields are
> often in a wrong encoding while every other part of the message
> displayed correctly. Example:
> Subject: test =?koi8-r?Q?=D4=C5=D3=D4?=
> Is there some settings in sendmail configuration ti prevent this
> behavior?
W
Hi!
Looking at the /var/mail/ file I found that subject fields are
often in a wrong encoding while every other part of the message
displayed correctly. Example:
Subject: test =?koi8-r?Q?=D4=C5=D3=D4?=
Is there some settings in sendmail configuration ti prevent this
behavior? My system is:
2.6.32.21