Well, I now have fetchmail and procmail working together on my win2k/cygwin
machine. I am very pleased.
I am still trying to understand what I have done. I have read the man page
for procmail, but I am still not understanding some things.
First of all, one of the lines in my .fetchmailrc is
mda "/usr/bin/procmail -d %T"
I cannot figure out what the purpose of the -d %T is. If I leave off
those flags, it still works, but each email is missing a few key lines,
without which mail readers such as mutt or pine can't read them.
These are the lines that don't get put in without the -p %T:
From porter Mon Dec 10 20:53:47 2001
[....]
Status: O
Content-Length: 1021
Lines: 28
Also, can you use procmail to filter an already existing mailfile? As a
simple case, I set my .procmailrc to do nothing but put all messages into
my inbox. I try to run
$ cat mailfile | procmail
but it interprets the entire mailfile as one long email, changing the first
Content-Length: line to the length of the rest of the file.
--------------------------------------------------------------------------
C. Porter Bassett cporter at byu dot edu www.et.byu.edu/~porter
ICQ #:38435505 AIM ID: cporterbassett
--------------------------------------------------------------------------
"Pretend like this is a really witty saying." - Anonymous
--------------------------------------------------------------------------
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail