I have this recipie that just won't work. I want it to print just the
text/plain version of the email. Not the text/html version. What
I have is
:0 c
* ^Content-Type.*text/plain
{
:0 fbw
* ^Content-Transfer-Encoding: *quoted-printable
| mimencode -u -q
:0 Afhw
| formail -I "Content-Transfer-Encoding: 8bit"
:0 fbw
* ^Content-Transfer-Encoding: *base64
| mimencode -u -b
:0 Afhw
| formail -I "Content-Transfer-Encoding: 8bit"
:0 c
* 1^0 From.*(Clinical Subject|aaiclinic|aaiintl.com)
* 1^0 Subject.*new test
| lpr
}
It doesn't even match on the header Content-Type:.
procmail: Score: 0 0 ""
procmail: Score: 0 0 ".*password"
procmail: Score: 0 0 "Subject.*password"
procmail: No match on "^Subject.*Deals"
procmail: Assigning "INCLUDERC=/home/poohba/.procmail/rc.print"
procmail: No match on "^Content-Type.*text/plain"
procmail: Assigning "INCLUDERC=/home/poohba/.procmail/rc.receipt"
procmail: No match on "^Subject.*Delivered"
procmail: Assigning "INCLUDERC=/home/poohba/.procmail/rc.fwd"
procmail: No match on "^From.*gerber"
procmail: Assigning "INCLUDERC=/home/poohba/.procmail/rc.fileserver"
procmail: No match on "^Subject: send file [0-9a-z]"
procmail: Locking "/var/spool/mail/poohba.lock"
procmail: Assigning "LASTFOLDER=/var/spool/mail/poohba"
procmail: Opening "/var/spool/mail/poohba"
procmail: Acquiring kernel-lock
procmail: Unlocking "/var/spool/mail/poohba.lock"
From poohba(_at_)poohba(_dot_)adsl(_dot_)duke(_dot_)edu Wed May 9 00:38:59
2001
Subject: new test
Folder:
/var/spool/mail/poohba 14158
This is what I see when I look at the source of the letter in netscape
--------------A04BF840F973DA50E4E57090
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail