This page has moved to http://mywiki.ncsa.uiuc.edu/wiki/Mac_OS_X.
What follows are my notes on setting up my PowerBook G4 running Mac OS X Version 10.3. Comments welcome to jbasney@ncsa.uiuc.edu.
replacing -AUTOMATIC- with my full-qualified hostname so my hostname doesn't change as I change networks.HOSTNAME=-AUTOMATIC-
To get threading working correctly, I followed these instructions to create ~/Mail/replcomps:Path: Mail Draft-Folder: drafts Alternate-Mailboxes: jbasney@*
and ~/Mail/replgroupcomps:%(lit)%(formataddr %<{mail-reply-to}%?{reply-to}%?{from}%?{sender}%?{return-path}%>)\ %<(nonnull)%(void(width))%(putaddr To: )\n%>\ %(lit)%(formataddr{to})%(formataddr{cc})%(formataddr(me))\ %<(nonnull)%(void(width))%(putaddr cc: )\n%>\ %<{fcc}Fcc: %{fcc}\n%>\ %<{subject}Subject: Re: %{subject}\n%>\ %<{message-id}In-Reply-To: %{message-id}\n%>\ %<{message-id}References: \ %<{references}%(void{references})%(trim)%(putstr) %>\ %(void{message-id})%(trim)%(putstr)\n%>\ --------
%(lit)%(formataddr{mail-followup-to})\ %<(nonnull)%(void(width))%(putaddr To: )\n\ %|\ %(lit)%(formataddr %<{mail-reply-to}%?{reply-to}%?{from}%?{sender}%?{return-path}%>)\ %<(nonnull)%(void(width))%(putaddr To: )\n%>\ %(lit)%(formataddr{to})%(formataddr{cc})%(formataddr(me))\ %<(nonnull)%(void(width))%(putaddr cc: )\n%>%>\ %; %<{fcc}Fcc: %{fcc}\n%>\ %<{subject}Subject: Re: %{subject}\n%>\ %<{message-id}In-Reply-To: %{message-id}\n%>\ %<{message-id}References: \ %<{references}%(void{references})%(trim)%(putstr) %>\ %(void{message-id})%(trim)%(putstr)\n%>\ --------
Note I use apop authentication; change proto apop to proto pop3 or proto kpop to use pop3 or kpop authentication instead. (It has been reported that OS X fetchmail doesn't support kpop. If you know how to get it working, please send me email at jbasney@ncsa.uiuc.edu.)set daemon 900 poll pop.ncsa.uiuc.edu proto apop ssl mda "/usr/bin/procmail -d %T" fetchsizelimit 0
MAILDIR=$HOME/Mail JUNKFOLDER=$MAILDIR/junk/. # send mail from some senders to junk folder :0 * ^From:.*junk.com $JUNKFOLDER # don't deliver duplicates :0 Wh: msgid.lock | formail -D 8192 $MAILDIR/msgid.cache
;; MH-E setup (global-set-key "\C-xr" 'mh-rmail) (global-set-key "\C-xm" 'mh-smail) (add-hook 'mh-before-send-letter-hook 'ispell-message) (add-hook 'mh-before-send-letter-hook 'untabify-hook) (setq mh-reply-default-reply-to "all") (setq mh-yank-from-start-of-msg 'autoattrib) (defun my-mh-letter-mode-hook () (mh-to-fcc "outbox")) (add-hook 'mh-letter-mode-hook 'my-mh-letter-mode-hook) (setq mm-text-html-renderer 'w3m) (setq mh-show-threads-flag t) (setq mm-discouraged-alternatives '("text/html" "text/richtext")) ;; Insidious Big Brother Database (require 'bbdb) (bbdb-initialize 'mh-e) (add-hook 'mh-folder-mode-hook 'bbdb-insinuate-mh) (setq bbdb-offer-save 0) ;; mailcrypt (load-library "mailcrypt") (mc-setversion "gpg") (autoload 'mc-install-write-mode "mailcrypt" nil t) (autoload 'mc-install-read-mode "mailcrypt" nil t) (add-hook 'mail-mode-hook 'mc-install-write-mode) (add-hook 'mh-folder-mode-hook 'mc-install-read-mode) (add-hook 'mh-letter-mode-hook 'mc-install-write-mode) (add-hook 'gnus-summary-mode-hook 'mc-install-read-mode) (add-hook 'message-mode-hook 'mc-install-write-mode) (add-hook 'news-reply-mode-hook 'mc-install-write-mode) (setq mc-passwd-timeout 600 mm-verify-option 'known mm-decrypt-option 'known) (setq pgg-scheme 'gpg pgg-cache-passphrase t pgg-query-keyserver t pgg-passphrase-cache-expiry 1800) (if (not (fboundp 'comint-read-noecho)) (defalias 'comint-read-noecho 'read-passwd)) ;; w3m browser (autoload 'w3m "w3m" "Interface for w3m on Emacs." t) ;; gnus (setq load-path (cons (expand-file-name "~/elisp/gnus-5.10.6/lisp") load-path)) (require 'gnus-load) ;; load mailcrypt (load-library "mailcrypt") (mc-setversion "gpg")
Last modified .