I have a filter that checks the size of messages received and responds
accordingly. Everything seems to work fine but the error has me wondering
what I messed up and where. I'm hoping someone may beable to enlighten me.
<filter>
:0
* > 102400
* $!^From:.*(${ADDRESS}|${ALTADDRESS})
{
:0c:
lrgleantag
:0
{ LOG = "Message size exceeds 100Kb" }
:0c: lrgleantag.lock
| (formail -rt \
-I "From: MAILER-DAEMON(_at_)${HOST} (Mail Delivery Subsystem)" \
-A "X-Loop: ${LOGNAME}(_at_)${HOST}" ; \
cat ${PMDIR}/.limit ; \
echo " " ; \
echo " " ; \
echo " " ; \
cat lrgleantag ; \
rm -f lrgleantag) \
| /usr/sbin/sendmail -oi -t
}
<end filter>
What I don't understand is the 'Error while writing to' part about a 1/3
the way down in this error snip. As I said, it responds and replies
correctly, but the error is irritating :/
<error>
procmail: Match on "> 102400"
procmail: Locking "lrgleantag.lock"
procmail: Assigning "LASTFOLDER=lrgleantag"
procmail: Opening "lrgleantag"
procmail: Acquiring kernel-lock
procmail: Unlocking "lrgleantag.lock"
procmail: Assigning "LOG=Message size exceeds 100Kb"
Message size exceeds 100Kbprocmail: Locking "lrgleantag.lock"
procmail: Executing " (formail -rt \
-I "From: MAILER-DAEMON(_at_)${HOST} (Mail Delivery Subsystem)" \
-A "X-Loop: ${LOGNAME}(_at_)${HOST}" ; \
cat ${PMDIR}/.limit ; \
echo " " ; \
echo " " ; \
echo " " ; \
cat lrgleantag ; \
rm -f lrgleantag) \
| /usr/sbin/sendmail -oi -t"
procmail: [24510] Mon Jan 10 20:04:56 2000
procmail: Error while writing to " (formail -rt \
-I "From: MAILER-DAEMON(_at_)${HOST} (Mail Delivery Subsystem)" \
-A "X-Loop: ${LOGNAME}(_at_)${HOST}" ; \
cat ${PMDIR}/.limit ; \
echo " " ; \
echo " " ; \
echo " " ; \
cat lrgleantag ; \
rm -f lrgleantag) \
| /usr/sbin/sendmail -oi -t"
procmail: Assigning "LASTFOLDER= (formail -rt \
-I "From: MAILER-DAEMON(_at_)${HOST} (Mail Delivery Subsystem)" \
-A "X-Loop: ${LOGNAME}(_at_)${HOST}" ; \
cat ${PMDIR}/.limit ; \
echo " " ; \
echo " " ; \
echo " " ; \
cat lrgleantag ; \
rm -f lrgleantag) \
| /usr/sbin/sendmail -oi -t"
procmail: Unlocking "lrgleantag.lock"
procmail: Locking "Inbox.lock"
procmail: Assigning "LASTFOLDER=Inbox"
procmail: Opening "Inbox"
procmail: Acquiring kernel-lock
procmail: Unlocking "Inbox.lock"
From skull(_at_)primenet(_dot_)com Mon Jan 10 20:04:33 2000
Subject: filecheck
Folder: Inbox 149467
--
S.Toms - tomas(_at_)primenet(_dot_)com - homepage is in the works
SuSE Linux v6.2+ - Kernel 2.2.13
It looks like blind screaming hedonism won out.