Fwd: How to get rid of +OK nnnn octets strings [jmcoopr webmail bmi net]
- From: John Merryweather Cooper <jmcoopr webmail bmi net>
- To: procmail lists RWTH-Aachen DE
- Cc: Balsa List <balsa-list gnome org>
- Subject: Fwd: How to get rid of +OK nnnn octets strings [jmcoopr@webmail.bmi.net]
- Date: Wed, 11 Jul 2001 21:34:49 -0700
On 2001.07.05 17:04 John Merryweather Cooper wrote:
Well, I'm using procmail 3.21 on FreeBSD 4.3-STABLE as a mailbox
filter for Balsa 1.14_2. Some of the time, things work great. But,
particularly with IE 5.x, Netscape, mutt, and Pine-originated
messages, I get a "+OK nnnn octests" (where nnnn is some number) just
below the From jmcoopr some-date line in the messages I receive. This
confuses Balsa no end. Manually deleting the +OK string make Balsa
happy, but: 1) I can't figure out why procmail is appending this
string to my inbound messages; 2) I can't figure out any way to
eliminate this string from these messsages automatically; and 3)
manually deleting is not practical when I receive several hundred
messages per day.
Any ideas?
jmc
---- end of my original message -----
Well, I finally figured out how to get procmail to work well with
balsa. The critical component is the following procmail recipe, which
MUST come first:
:0
{
:0 fw
* ^\+OK.*$
| perl -pe 's:\+OK.*\n::'
:0 afw
| formail -I 'From ' -a 'From '
}
This gets rid of the nasty +OK nnnn octets string that kept balsa from
properly interpreting the e-mails. Again, to stress, this MUST be the
first recipe in .procmailrc--come before any other. It works for me,
but YMMV
jmc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]