3716
3716
(defcustom vm-stunnel-program-switches nil
3717
3717
"*List of command line switches to pass to stunnel.
3718
3718
Leave this set to nil unless you understand how VM uses stunnel
3719
and know that you need to change something to get stunnel working."
3719
and know that you need to change something to get stunnel working.
3720
This variable is ignored if you're running stunnel version 4 or
3721
later versions, since those versions of stunnel are configurable
3722
only with a configuration file."
3720
3723
:type '(list string))
3725
(defcustom vm-stunnel-program-additional-configuration-file nil
3726
"*Name of a configuration file to append to the config file VM creates
3727
when using stunnel version 4 or later. Leave this set to nil
3728
unless you understand how VM uses stunnel and know that you need
3729
to change something to get stunnel working.
3731
For stunnel version 4 and beyond stunnel relies on a configuration
3732
file to tell it what to do. VM builts te ncessary configuration
3733
file for each instance of stunnel that it runs. If you have extra
3734
configuration options you want stunnel to use, put them in a file
3735
and set vm-stunnel-program-additional-configuration-file to the
3738
This variable is ignored if you're running stunnel versions prior
3739
to version 4 as VM uses command line argument to control stunnel
3722
3743
(defcustom vm-stunnel-random-data-method 'generate
3723
3744
"*Specifies what VM should do about sending the PRNG.
3724
3745
The stunnel program uses the OpenSSL library which requires a
4002
4023
(defvar vm-mime-reader-map
4003
4024
(let ((map (make-sparse-keymap)))
4004
(define-key map "$a" 'vm-mime-attach-object-from-message)
4025
(define-key map "\r" 'vm-mime-run-display-function-at-point)
4026
(define-key map "$\r" 'vm-mime-reader-map-display-using-default)
4027
(define-key map "$e" 'vm-mime-reader-map-display-using-external-viewer)
4028
(define-key map "$v" 'vm-mime-reader-map-display-object-as-type)
4029
(define-key map "$w" 'vm-mime-reader-map-save-file)
4005
4030
(define-key map "$s" 'vm-mime-reader-map-save-message)
4006
(define-key map "$w" 'vm-mime-reader-map-save-file)
4031
(define-key map "$p" 'vm-mime-reader-map-pipe-to-printer)
4007
4032
(define-key map "$|" 'vm-mime-reader-map-pipe-to-command)
4008
(define-key map "$p" 'vm-mime-reader-map-pipe-to-printer)
4009
(define-key map "$\r" 'vm-mime-reader-map-display-using-default)
4033
(define-key map "$a" 'vm-mime-attach-object-from-message)
4010
4034
(define-key map "$d" 'vm-delete-mime-object)
4011
(define-key map "$e" 'vm-mime-reader-map-display-using-external-viewer)
4012
(define-key map "$v" 'vm-mime-reader-map-display-object-as-type)
4013
(define-key map "\r" 'vm-mime-run-display-function-at-point)
4014
4035
(cond ((vm-mouse-xemacs-mouse-p)
4015
4036
(define-key map 'button3 'vm-menu-popup-mime-dispose-menu)))
4016
4037
(cond ((fboundp 'set-keymap-name)