On Fri, 05 Dec 2003 13:38:33 -0400 Adolfo Bello <[EMAIL PROTECTED]> wrote:
> You should write that recipe as: > > :0 > * [EMAIL PROTECTED] > /var/spool/mail/joehill > > From man procmailrc: > ======= > A line starting with ':' marks the beginning of a recipe. It has the > following format: > > :0 [flags] [ : [locallockfile] ] > <zero or more conditions (one per line)> > <exactly one action line> > ======= > > So it looks like the recipe is waiting for an answer from > /var/spool/mail/joehill. I've been following the format I originally snagged from Stephen K.'s site: http://thor.prohosting.com/~kilgoret/files/procmailrc So that my recipe file looks like this: :0 * [EMAIL PROTECTED] { :0: /var/spool/mail/joehill } :0 * [EMAIL PROTECTED] { :0: /var/spool/mail/joehill } :0 * !^Message-Id { :0 $MAILDIR/spam } :0 * [EMAIL PROTECTED] { :0 /dev/null } :0 * ^Subject:.*joehill { :0 $MAILDIR/spam } :0 * ^Subject:.hi$ { :0 $MAILDIR/spam } :0 * ^Message-Id:.*<[EMAIL PROTECTED]> { :0 $MAILDIR/spam } :0 B * .*viagra { :0 /dev/null } as you can see, I added a lock (":") to the rules which forward to /var/spool/mail/joehill, as I think what was happening was if I got two mails both trying to write to there, it was timing out. Since adding the lock, I don't seem to be having any probs, but I'll keep an eye on it. I've been reading everything I can get my hands on for Procmail, esp the list archives, and I'm *beginning*, I think, to understand the concept of the lock, among other things. Cheers! -- JoeHill ++ ICQ # 280779813 Registered Linux user #282046 Homepage: www.orderinchaos.org +++++++++++++++++++++++++++ "I'm even lethal when I'm unarmed, 'cuz I'm louder than a bomb!" -- Chuck D.
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
