tomclegg.net


Diary
Examples
    256-router
    adzap
    apache-double-reverse
    cacti-adodb-php4
    debian-quota
    diskonmodule
    dollarsperbyte
    dynip
    ezmlm-linux
    fbsdhabits
    freebsdclone
    macbook-quantal-sound
    maildirpop3d-awfulhak
    mandy
    md
    mrtg
    net-snmp
    nodefaultroute
    oracle9i
    oracle9i-bsd5
    oracle9i-client
    oracle9i-nat
    php-cgi
    php-commandline
    php-image
    php-kics
    php-mini_httpd
    pinouts
    pizzaperdollar
    plesk-symlink-php
    pxe
    qmail-linux
    qmail-qfilter
    racoon-sonicwall
    redundant-vpn
    rewriterule
    seahorse-workaround
    setting-locale-failed
    smalldog
    snmpv3-cacti
    spamassassin
    squid-tproxy
    supfile
    suse73
    svc-nmbd
    svc-smbd
    svc-smtpd
    switch-virtualbox-virsh
    toyotastereo
  >vm<
    vn-file
    wmp-invalid
    xcode-remote-install
    xen-eth0-renamed
    xen-monowall
    xen3-ubuntu-dapper
    zz-update-grub-fail
Hire Tom
Mostly Mozart
Patches
School
Scrapbook
Software
Telephones




colocation
comments
davidireland
edsgranola
faq
funsites
goodlooking
goodmovies
google-earth-saucy-amd64
houserules
liberating
resume
resume2
scratch
shopping
snacks
todo
university
warisbogus

Reading mail with vm
Posted September 22, 2003

Install vm.

cd /usr/ports/mail/vm
make install clean

If your POP3 server is mail.example.com and your POP3 username is foo, add this to ~/.emacs. ("pass" is just the word "pass", not your password!)

(load-library "vm")
(setq vm-spool-files
      '(
	("~/INBOX" "pop:mail.example.com:110:pass:foo:*" "~/INBOX.CRASH")
       )
)

Qmail example: If you also want to retrieve mail from ~/Mailbox, use this in ~/.emacs.

(load-library "vm")
(setq vm-spool-files
      '(
        ("~/INBOX" "~/Mailbox"                           "~/INBOX.CRASH")
	("~/INBOX" "pop:mail.example.com:110:pass:foo:*" "~/INBOX.CRASH")
       )
)

Sendmail™ example: If you want to retrieve mail from /var/spool/mail/foo as well as your POP3 mailbox foo@mail.example.com, use this.

(load-library "vm")
(setq vm-spool-files
      '(
        ("~/INBOX" "/var/spool/mail/foo"                 "~/INBOX.CRASH")
	("~/INBOX" "pop:mail.example.com:110:pass:foo:*" "~/INBOX.CRASH")
       )
)

To start vm, type M-x vm Enter.