Re: MIME display problem in 2.6.3

[email protected]
Newsgroups gmane.mail.exmh.devel
Message-ID <29911.1050943311@bhuta>
[Reply moved to exmh-workers.]

Yes, this change should be made to the repository. Although I have 
repository access I've not done a commit in ages (nor have I updated).
If someone with a more up-to-date release of the code can commit
this change I'd appreciate it.

Otherwise the change will have to wait until I update to 2.6.x and can
do the commit myself.

Kevin

In message <[email protected]>, "Kevin Oberman" writes:
> > From: [email protected]
> > Date: Fri, 18 Apr 2003 11:17:08 -0600
> > Sender: [email protected]
> > 
> > 
> > Maybe this will help. In Pgp_ShowMessage modify the x-action processing 
> > as follows.
> > 
> > Orig:
> > 	} else {
> > 	    set action $mimeHdr($part,param,x-action)
> > 	    # For signed messages we expect 'x-action=signclear' or 
> > 	    # 'x-action=signbinary' but some mailers only use 
> > 	    # 'x-action=sign'. Since application/pgp never made it 
> > 	    # to a valid content-type is hard to tell who is right.
> > 	    if {"$action" == "sign"} {
> > 		if [regexp $miscRE(beginpgpclear) $firstLine] {
> > 		    set action signclear
> > 		    set mimeHdr($part,param,x-action) signclear
> > 		} else {
> > 		    set action signbinary
> > 		    set mimeHdr($part,param,x-action) signbinary
> > 		}		    
> > 	    }
> > 	}
> > 
> > To:
> > 	} else {
> > 	    set action $mimeHdr($part,param,x-action)
> > 	    # For signed messages we expect 'x-action=signclear' or 
> > 	    # 'x-action=signbinary' but some mailers only use 
> > 	    # 'x-action=sign'. Since application/pgp never made it 
> > 	    # to a valid content-type is hard to tell who is right.
> > 	    if {"$action" == "sign"} {
> > 		if [regexp $miscRE(beginpgpclear) $firstLine] {
> > 		    set action signclear
> > 		    set mimeHdr($part,param,x-action) signclear
> > 		} else {
> > 		    set action signbinary
> > 		    set mimeHdr($part,param,x-action) signbinary
> > 		}		    
> > 	    } elseif {"$action" == "pgp-signed"} {
> > 		# Mutt propagates yet another x-action type
> > 		set action signclear
> > 		set mimeHdr($part,param,x-action) signclear
> > 	    }
> > 	}
> > 
> 
> Thanks, Kevin! This did the trick. I finally got a message in this
> format on Sunday and it worked just like I'd want it to!
> 
> Should this be changed in CVS? I don't see harm in it and it fixes a
> common problem.
> 
> R. Kevin Oberman, Network Engineer
> Energy Sciences Network (ESnet)
> Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
> E-mail: [email protected]			Phone: +1 510 486-8634
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.