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
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail