Let's see if I have this straight, before I shoot myself in the foot, or
email, anyway.

Mutt doesn't care how it gets its mail, as long as it surfaces someplace
on the computer where it can get at it. One way to get mail from a pop or
imap server is to use fetchmail. If I correctly read the man pages for
fetchmail, it doesn't put the mail in /var/spool/mail/<username>, or not
directly anyway. Rather, it calls sendmail to do this. If you happen to
have a call to procmail in your /etc/sendmail.cf file, sendmail executes
procmail, which then picks up ~/.procmailrc and executes the filters
there.

Since I already have a call to procmail in my sendmail.cf, all I need to
do to use procmail is write a .procmail.

Here is the invocation to procmail in sendmail.cf:


######################*****##############
###   PROCMAIL Mailer specification   ###
##################*****##################

#####  @(#)procmail.m4  8.11 (Berkeley) 5/19/1998  #####

Mprocmail,      P=/usr/bin/procmail, F=DFMSPhnu9, S=11/31, R=21/31, 
T=DNS/RFC822/X-Unix,
                A=procmail -Y -m $h $f $u


And indeed procmail is right where the path above indicates it should be.


-- 

                -- C^2

No windows were crashed in the making of this email.

Looking for fine software and/or web pages?
http://w3.trib.com/~ccurley

Reply via email to