Scott Wiersdorf wrote:
In short, put this at the top of your rc file:
LOGFILE=/path/to/logfile
LOGABSTRACT=all
VERBOSE=on
and send yourself a message you believe matches your criteria. The
verbose procmail output will be in the logfile you specified. It's
very detailed (use the sandbox method if this is a live system).
Here we go:
----------
procmail: [7633] Fri Jan 3 17:24:36 2003
procmail: Match on
"(^((Original-)?(Resent-)?(To|Cc|Bcc)|(X-Envelope|Apparently(-Resent)?)-To):(.*[^-a-zA-Z0-9_.])?)websmith(_at_)pcraft(_dot_)com"
procmail: No match on !
"(^(Mailing-List:|Precedence:.*(junk|bulk|list)|To: Multiple recipients
of |(((Resent-)?(From|Sender)|X-Envelope-From):|>?From
)([^>]*[^((_dot_)%(_at_)a-z0-9])?(Post(ma?(st(e?r)?|n)|office)|(send)?Mail(er)?|daemon|m(mdf|ajordomo)|n?uucp|LIST(SERV|proc)|NETSERV|o(wner|ps)|r(e(quest|sponse)|oot)|b(ounce|bs\.smtp)|echo|mirror|s(erv(ices?|er)|mtp(error)?|ystem)|A(dmin(istrator)?|MMGR|utoanswer))(([^).!:a-z0-9][-_a-z0-9]*)?[%@>
][^<)]*(\(.*\).*)?)?$([^>]|$)))"
procmail: Locking "/var/spool/mail/kirash.lock"
procmail: Error while writing to "/var/spool/mail/_R3B.EniF-.ivanhoe"
procmail: Lock failure on "/var/spool/mail/kirash.lock"
procmail: Assigning "LASTFOLDER=/var/spool/mail/kirash"
procmail: Opening "/var/spool/mail/kirash"
procmail: Acquiring kernel-lock
procmail: Notified comsat: "kirash(_at_)75266:/var/spool/mail/kirash"
From root(_at_)swiri(_dot_)yeehaw(_dot_)net Fri Jan 3 17:24:36 2003
Subject: testing
Folder:
/var/spool/mail/kirash 1273
----------
So I see that lock failure, and I'm almost 100% sure it's because
/var/spool/mail is an NFS mount from another system. Question is, is
that lock failure what's causing the responder not to work?
--
W | I haven't lost my mind; it's backed up on tape somewhere.
+--------------------------------------------------------------------
Ashley M. Kirchner <mailto:ashley(_at_)pcraft(_dot_)com> . 303.442.6410
x130
IT Director / SysAdmin / WebSmith . 800.441.3873 x130
Photo Craft Laboratories, Inc. . 3550 Arapahoe Ave. #6
http://www.pcraft.com ..... . . . Boulder, CO 80303, U.S.A.
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail