;(setq vm-spool-files (list "mailhost:110:pass:username:*"))

(setq vm-highlighted-header-regexp "^From\\|^Subject\\|^To\\|^CC")
(setq vm-highlighted-header-face 'font-lock-variable-name-face)
(setq vm-summary-highlight-face 'font-lock-keyword-face)
(setq vm-highlight-url-face 'bold-italic)
(setq vm-preview-lines nil)
(setq vm-delete-after-saving t)
(setq vm-convert-folder-types t)
(setq vm-move-after-deleting t)
(setq vm-startup-with-summary 5)
(setq vm-follow-summary-cursor t)
(setq vm-primary-inbox "~/vmfolders/INBOX")
(setq pop-up-windows 0)
(setq vm-mutable-windows t)
(setq vm-circular-folders nil)
(setq vm-folder-directory "~/vmfolders/")
;(setq vm-netscape-program "opera") ; set your html browser here
(setq vm-summary-highlight-face 'highlight)
;(setq vm-mime-base64-decoder-program "/usr/bin/mmencode") ; set your base64 decoder here
:(setq vm-mime-base64-decoder-switches (list "-u"))
;(setq vm-mime-uuencode-decoder-program "uudecode") ; set your uu-decoder here
;(setq vm-mime-uuencode-decoder-switches nil)
(setq vm-mime-8bit-text-transfer-encoding 'quoted-printable)
;(setq vm-mime-base64-encoder-program "/usr/bin/mmencode") ; set your base64 encoder here
;(setq vm-mime-base64-encoder-switches nil)
;(setq vm-mime-external-content-types-alist ; set your external viewers here
;      '(
;        ("text/html"          "opera")
;        ("image/bmp"          "gimp-remote")
;        ("image/gif"          "gimp-remote")
;        ("image/jpeg"         "gimp-remote")
;        ("video/mpeg"         "mpeg_play")
;        ("video"              "xanim")
;        ("audio/wav"          "kwave")
;        ("application/msword" "wordperfect_remote")
;        ("application/pdf"    "acroread")
;        )
;      )

;(setq vm-auto-folder-alist ; dump mail in appropriate folders with "A"
;      '(
;  ("^Subject:"
;   ("Hilfe" . "~/vmfolders/help")
;  )
;  ("^\\(To\\|CC\\):"
;   ("my_mausi" . "~/vmfolders/mausi")
;  )
;  ("^\\(Sender\\|From\\):"
;   ("my_darling" . "~/vmfolders/darling")
;  )
; ))

(defun vm-mime-encode-composition ()
 "MIME encode the current mail composition buffer.
Attachment tags added to the buffer with vm-mime-attach-file are expanded
and the approriate content-type and boundary markup information is added."
  (interactive)
  (cond (vm-xemacs-p
	 (vm-mime-xemacs-encode-composition))
	(vm-fsfemacs-p
	 (vm-mime-fsfemacs-encode-composition))
	(t
	 (error "don't know how to MIME encode composition for %s"
		(emacs-version)))))