Re: Enabling GPG Crypt & Key lookup on EXMH 2.7.2

"Julian Stacey" <[email protected]>
Newsgroups gmane.mail.exmh.user
Organization http://berklix.com BSD Unix Linux Consultancy, Munich Germany
Message-ID <[email protected]>
Harvey Eneman wrote:
> I've been using exmh with pgp/gpg for many years.  I'm currently 
> using exmh 2.7.2 with gpg 1.4.9 on RedHat (Linux 2.6.9).  Comparing
> your exmh default with mine, I see the following gpg differences:
> 
> gpgCacheIds:	persistent
> gpgKeyQueryMethod:	hkp
> gpgShortMessages:	0
> gpgShowInline:	none
> 
> I suspect the use of "gpgShowInline: all" and/or "gpgKeyQueryMethod: email" 
> may be relevant to explaining the behavior you're seeing.
> 
> Harv

& "Klaus Elsbernd" <[email protected]> wrote:

> Setting the variable might be a try. Have a look at the exmh-log. you should 
> see, if pgp is called, and if you possible trace the call, you might see the 
> the calling environment.

I was looking all over for pathname of log till I saw there was a button :-)

> And I would at first try to not use q-client.
> additionally, setting "show pgp messages inline" to all and "shotr gnupg 
> reports" to off will deliver more info.

Thanks both, I've got it working now.  
Well, nearly, with the exception that I have to keep typing passphrase.
q-client is manually running, & I exported the env before calling exmh,
& q-client is callable, but but "q-client list" show empty.

My current conf:

!!! jhs
!!! Saved Window Positions
!!! Mon Jun  9 23:05:49 CEST 2008
!!! Do not edit below here
*fl.position:	+850+-1
*pref.position:	+671+3
*fontsel.position:	+159+0
*fileSelect.position:	+943+230
*newf.position:	+422+522
*delf.position:	+864+448
*aliaspref.position:	+845+210
*addr_br.position:	+845+210
*html.position:	+596+121
*pop.position:	+1087+601
*find.position:	+706+318
*key.position:	+906+258
*log.position:	+52+554
*edit8.position:	+249+777
*exwinPaths:	.fl .pref .fontsel .fileSelect .newf .delf .aliaspref .addr_br .html .pop .find .key .log .edit8
exmh.geometry:	782x1171+19+-2
*Fltop.Canvas.height:	306
*Fltop.Canvas.width:	713
!!! End Positions
!!! Lines below here automatically added
!!! Mon Jun  9 21:06:58 CEST 2008
!!! Do not edit below here
*bgAction:	inc
*incStyle:	presort
*popHost:	
*editCmd:	exmh-async xterm -geometry 80x41 -fn 9x15 -e /usr/bin/vi
*autoCommit:	1
*uriScanForURIs:	1
*seqWinOn:	0
*soundEnabled:	0
*facesEnabled:	0
*addressdbEnabled:	1
*sourceHook:	0
*logEnabled:	1
*logLines:	10000
*flistDebug:	0
*scanProc:	scan
*sendType:	async
*xtermCmd:	xterm -g 80x5
*forwTweak:	1
*forwSubj:	$subj (fwd)
*delPrefix:	sbackup
*purgeAge:	7
*replPrefix:	> 
*seditFormatMail:	OnSend
*seditxMailHeader:	1
*seditAttemptMhn:	0
*seditKeepOnSend:	0
*seditQuotedPrintable:	automatic
*seditLineLength:	79
*seditAutoSign:	1
*seditSigDashes:	1
*seditSigPosition:	end
*seditSignatureFile:	~jhs/.signature
*seditColorize:	1
*seditISO:	1
*seditCharset:	iso-8859-1
*seditDefaultType:	text/plain
*seditSpell:	ispell
*spellCmd:	exmh-async xterm -e ispell
*seditNotifySuccess:	0
*seditNotifyFailure:	0
*seditNotifyDelay:	0
*seditNotifyRet:	0
*seditAutosaveInterval:	180
*seditUseFilter:	1
*ispellOnOff:	1
*ispellRecheckAfterAdd:	1
*ispellTextOnly:	0
*ispellCommand:	ispell -a -S -d english
*ispellOthers:	German { ispell -a -d deutsch } French { ispell -a -d francais } English { ispell -a -d english }
*ispellPopupBinding:	ButtonPress-3
*ispellStyle:	underline
*ispellStyleColor:	red
*ispellStyleOther:	-underline t -foreground red
*intelligentSign:	0
*intelligentSigShowHdrs:	0
*intelligentSigInt:	~/.signature
*intelligentSigExt:	~/.signature
*intelligentSigDomain:	js.berklix.net
*editCmd:	exmh-async xterm -geometry 80x41 -fn 9x15 -e /usr/bin/vi
*edit2Cmd:	exmh-async emacs
*autoWhom:	1
*seditOverride:	0
*seditAfterAsync:	0
*spellCmd:	exmh-async xterm -e ispell
*mhnCmd:	mhn
*slowDispLimit:	200000
*slowDispFaces:	when fast
*slowDispIcons:	when fast
*printCmd:	lpr $file
*psPrintCmd:	lpr -Pps $file
*unixCmd:	cat $file > /dev/null
*ftextLines:	11
*impliedDirection:	1
*nextGuard:	0
*autoCommit:	1
*commitDialog:	1
*autoPack:	1
*autoSort:	1
*autoSortType:	subject
*autoSortCrit:	-textfield keywords
*ftocShowNew:	1
*advanceOnLink:	0
*skipMarked:	1
*cycleBack:	1
*scanWidth:	100
*scanSize:	100
*mimeEnabled:	1
*mimeShowType:	0
*mimeShowPrelude:	0
*mimeFullHeaders:	0
*mimeMaxSubpartsDisplayed:	5
*mimeMaxSize:	50000
*ftpMethod:	ftp -n
*ftpCommand:	ftp
*highlightText:	1
*showRichCmnds:	1
*showSeparator:	1
*showImage:	1
*mimeFontSize:	180
*mimeTitleSize:	160
*mimeNoteSize:	140
*mimeEudora:	1
*mimeEudoraDos:	0
*dispositionNotificationTo:	"Julian Stacey" <[email protected]>
*dispositionNotificationSend:	ask user
*explainReports:	0
*mime_alternative_prefs:	text/plain text/richtext text/html
*mimeSaveDir:	~/mail/attachments
*uriScanForXURIs:	1
*uriScanForURIs:	1
*uriScanLimit:	1000
*uriScanSoftLimit:	1000
*uriViewer:	netscape
*mimeShowHtml:	inline
*deferDisplaysInline:	0
*uriMosaicApp:	/usr/local/bin/mozilla -remote openURL($xuri) &
*uriNetscapeCmd:	/usr/local/bin/firefox -remote openURL($xuri) &
*uriTclCmd:	NetRemote $xuri
*uriLogOnEnter:	1
*htmlFontAdjust:	5
*httpProxy:	gate.js.berklix.net
*httpProxyPort:	80
*htmlCacheDir:	/usr/home/jhs/.webtkcache
*htmlCacheSize:	2000000
*imageCacheSize:	25
*imageEnable:	0
*skipImagesInFolder:	spam
*incStyle:	presort
*incOnStartup:	1
*incOnMapping:	1
*incSortFeedback:	1
*xnsGetMail:	0
*incStartupFlist:	on
*popHost:	
*incfilter:	procmail
*slocalArgs:	-verbose -maildelivery $env(HOME)/.maildelivery
*procmailArgs:	$env(HOME)/.procmailrc
*incfilterArgs:	/usr/home/jhs/bin/.sh/procmail.sh
*scrollbarSide:	left
*hscrollbarSide:	none
*scrollSpeed:	1
*scrollAccel:	4
*wheelEnabled:	0
*textConstrainScroll:	0
*textConstrainFtoc:	1
*textContextLines:	2
*textSmoothScroll:	1
*textSelectDelay:	50
*textAutoNext:	1
*placeToplevel:	1
*keepPlaces:	1
*toplevelFtoc:	0
*toplevelMsg:	0
*mtextLines:	50
*mtextWidth:	80
*seqWinOn:	0
*seqWinIcon:	0
*seqWinOrientation:	Horizontal
*seqWinMinLines:	3
*seqWinMaxLines:	10
*seqWinMinNameWidth:	11
*seqWinMaxNameWidth:	20
*seqWinFont:	6x10
*seqNeverShow:	cur
*seqShow:	unseen
*seqAlwaysShow:	
*seqWinHideWhenEmpty:	0
*seqWinEmptyMsg:	None
*seqWinButton1:	None
*seqWinButton2:	None
*seqWinButton3:	None
*seqWinModifiedButton1:	None
*fcacheLines:	1
*fcacheSticky:	Inbox
*fcacheStickyOff:	0
*fcacheDontCache:	
*fcacheSortByName:	1
*fcacheCacheUnseen:	1
*fcacheCacheTarget:	1
*fcacheNickNames:	1
*fcacheUnseenCount:	1
*fdispLines:	4
*fl_toplevel:	1
*fdisp1Col:	0
*fdispPopdownStyle:	polygon
*fdispPopdownAction:	navbutton
*fdispPopdownRemove:	leave
*fdispTarbuttonAction:	select+move
*findSettingsDefaultLoc:	FTOC
*soundEnabled:	0
*soundMultiFile:	0
*soundBell:	0
*soundCmd:	/usr/local/bin/rplay
*soundNewMsg:	drip.au
*soundError:	clink.au
*xFaceEnabled:	0
*xfaceProg:	uncompface -X
*facesEnabled:	0
*facesRow:	0
*xImageUrl:	0
*facesDefer:	0
*facesPalette:	
*pgpSeditPgp:	1
*pgpSeditPgpExtras:	1
*pgpSign:	none
*pgpEncrypt:	0
*pgpFormat:	pm
*pgpVersion:	gpg
*pgpNoVersion:	/usr/local/bin/gpg
*pgpKeepPass:	0
*pgpEchoPass:	0
*pgpGrabFocus:	0
*pgpPassTimeout:	60
*pgpExtPass:	1
*pgpGetExtCmd:	/usr/local/bin/q-client get %s
*pgpDelExtCmd:	/usr/local/bin/q-client delete %s
*gpgRfc822:	0
*gpgChooseKey:	1
*gpgRunTwice:	1
*gpgCacheIds:	persistent
*gpgMinMatch:	101
*gpgShowInline:	none
*gpgShortMessages:	0
*gpgAutoExtract:	0
*gpgKeyServer:	[email protected]
*gpgKeyQueryMethod:	hkp
*gpgHKPKeyServerUrl:	keys.pgp.com
*gpgKeyServerURL:	http://keys.pgp.com:11371/pks/lookup?op=get&exact=on&search=0x%s
*gpgKeyOtherMethod:	exec echo "can't find $id" > $tmp
*gpgComment:	Exmh version 2.7.2 01/07/2005
*gpgModulePath:	/usr/local/lib/gnupg
*gpgCipherMods:	skipjack idea
*gpgDigestMods:	tiger
*gpgPubkeyMods:	rsa
*gpgPgp5Compatibility:	1
*gpgCipherAlgo:	3des
*gpgDigestAlgo:	sha1
*gpgCompressAlgo:	zip
*addressdbEnabled:	1
*addressdbHideExcluded:	1
*addressdbFolderChangeCheckpoint:	1
*addressdbSearchlist:	Addr_FullNameMatch Addr_Lookup Alias_Lookup
*addressdbLDAPServer:	-h localhost
*addressdbLDAPSearchBase:	
*addressdbLDAPEncoding:	utf-8
*addressdbLDAPSearchprog:	ldapsearch -B
*addressdbFilterRegexp:	
*addressdbFoldersSkip:	
*addressdbFilterAltMailboxes:	1
*addressdbForceSave:	<Control-Tab>
*addressdbStandardFormat:	1
*addressdbRemoveEntries:	0
*addressdbRemoveDays:	
*addressdbRemoveInvalidDate:	0
*bgAsync:	1
*sendHack:	1
*bgAction:	inc
*bgPeriod:	5
*bgNews:	0
*bgNewsPeriod:	60
*bgSpool:	/var/mail/jhs
*fileselectBigDirHas:	32
*fileselectDotsByDefault:	0
*fileselectHome:	
*busyStyle:	cursor
*busyCursor:	watch
*busyBitmap:	@hourglass2.bitmap
*nntpHost:	news.muc.de
*nntpPort:	119
*nntpEmailAddr:	jhs_news@berklix._ERASE_.com
*nntpUser:	
*nntpPass:	
*nntpModerated:	
*nntpModerator:	
*nntpNewsGroups:	comp.sys.nsc.32k
*nntpDotnewsrc:	~/.jnewsrc
*quoteEnabled:	1
*quoteFilename:	@
*quoteSymlink:	0
*quoteHeaders:	1
*bogoinUse:	0
*bogoProgName:	bogofilter
*bogoMismarked:	1
*bogoOtherSpam:	
*bogoOtherHam:	
*bogoSpamMessage:	nothing
*bogoSpamRefile:	bogus
*bogoHamMessage:	nothing
*bogoHamRefile:	inbox
!!! End Preferences State
!!! Font Resources
!!! Sun Sep  8 10:35:41 CEST 2002
!!! Do not edit below here
*Button.font:		10x20
*Checkbutton.font:	10x20
*Entry.font:		10x20
*Ftoc*Text.font:	10x20
*Label.font:		10x20
*Listbox.font:		10x20
*Menu.font:		10x20
*Menubutton.font:	10x20
*Message.font:		10x20
*Msg*Text.font:		10x20
*Radiobutton.font:	10x20
*Text.font:		10x20
*fl_font:		10x20
*font:			10x20
!!! End Fonts

Julian
-- 
Julian Stacey: BSDUnixLinux C Prog Admin SysEng Consult Munich www.berklix.com
	Mail just Ascii plain text.  HTML & Base64 text are spam.
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.