[248] in Software_Announce
fetchmail and procmail in the sipb locker
daemon@ATHENA.MIT.EDU (Dan Winship)
Sun Oct 4 12:24:54 1998
Date: Sun, 4 Oct 1998 12:24:42 -0400
From: Dan Winship <danw@MIT.EDU>
To: software-announce@MIT.EDU, bug-sipb@MIT.EDU
I've installed fetchmail 4.6.0 and procmail 3.11pre7 in the sipb
locker.
Fetchmail and procmail are useful programs for causing all of your
mail to be accidentally bitbucketed, erroneously returned to the
sender, or bounced to postmaster. With the proper config files, they
can even be used to retrieve mail from various kinds of mail servers
(including KPOP), preprocess it in arbitrarily clever ways, and write
it out in formats useable by other mail programs on Athena.
As the previous paragraph implies, using these programs without
reading the man pages is "not recommended". However, a good
.fetchmailrc might look something like:
server PO7 proto KPOP auth kerberos_v4
user danw
mda "procmail -m /mit/danw/.procmailrc"
(with your username and po server. fetchmail doesn't currently support
Hesiod, although it might in the future [at least on Athena]).
Bugs to bug-sipb.
-- Dan
PS - If anyone figures out a good way to cause fetchmail and/or
procmail to set "cur" to the right thing when inc'ing multiple
messages, I'd like to hear it.