On Sun, 10 Aug 2003, rh wrote:
>Fetchmail / Procmail is working. But where exactly does fetchmail put
>your email before it passes it to procmail?
Fetchamil normally will pass the message to your local MTA. be it
sendmail/postfix/qmail/etc. Your MTA will then process the mail and pass
it to procmail.
>And if I am losing emails due to a bad procmailrc, how would I know it?
I use the following in my .procmailrc:
:0 fhw
| $FORMAIL -I "From " -a "From "
:0 c
.backup
:0 ic
| cd $MAILDIR/.backup && rm -f dummy `ls -t msg.* | sed -e 1,100d`
where .backup is a folder in ~/.maildir
This will make a copy of the last 100 messages in the .backup directory.
It will keep that directory pruned, to only contain the last 100 messages.
You will want to check that occasionally to see if you are losing any
mesages, but in general, you shouldn't be losing any. Check your
procmail.log file.
Christopher Fisk
--
You've been rubbing my nose in it since I got here! Your family is better
than my family, your beer comes from farther away than my beer, you and
your son like each other, your wife's butt is higher than my wife's butt!
You make me sick!
-- Homer Simpson, Dead Putting Society
--
[EMAIL PROTECTED] mailing list