3 <TITLE>Configuring fetchmail and procmail for local delivery
</TITLE>
7 <H1>Configuring fetchmail and procmail for local delivery
</H1>
9 I wanted to fetch my email from a IMAP server and be able to read it
10 using good old elm. To do this I decided to use fetchmail to get the
11 email from the IMAP server, and procmail to do the local delivery.
13 The fetchmail config file (
<TT>~/.fetchmailrc
</TT>) file needs to call
17 # Configuration created Wed Mar
8 10:
06:
26 2000 by fetchmailconf
19 set daemon
30 # seconds between mail checks
20 poll eeserver.ee.uwa.edu.au with proto IMAP
21 mda "/usr/bin/procmail -f-"
22 poll odin.ee.uwa.edu.au with proto IMAP
23 mda "/usr/bin/procmail -f-"
26 The procmail config file need to specify path to required support
27 programs, and where to store the incoming email:
30 PATH=/bin:/usr/bin:/usr/sbin
31 MAILDIR=$HOME/Mail #you'd better make sure it exists
32 DEFAULT=$MAILDIR/imap-mbox #completely optional
33 LOGFILE=$MAILDIR/from #recommended
37 Petter Reinholdtsen, March
2000