[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

.muttrc: pgp_autoencrypt + send-hook problem



Hi,
	
	I'm using Mutt 0.93.2i on a stock slink box, and the PGP version
on the system is pgp-i 2.6.3a. I need to encrypt every message sent to
one particular address. Referring to the mutt manual, I tried making use
of the send-hook + pgp_autoencrypt feature. It just doesn't work. I've
tried each of the following entries in my $HOME/.muttrc. 

	send-hook user 'set pgp_autoencrypt'
	send-hook '^user' 'set pgp_autoencrypt'
	send-hook '~t ^user@some\.host\.somewhere$' 'set pgp_autoencrypt'

	One point I'm not sure about is as to whether the ^ and $ are
escaped (?) characters entered using the Ctrl-V + key mechanism. (Am just
getting the hang of regular expressions.) 

	Mutt gurus, what am I doing wrong ? Thanks.

						- arun


-- 
Please Cc: me. I am not currently subscribed to this list. Thanks. 


Reply to: