On Wed, Jun 05, 2002 at 05:18:40PM -0700, Professional Software Engineering
wrote:
Very cool! Thanks! But why "9876543210^0" instead of just "1^0"?
You should take a browse through the procmail FAQs sometime. It is a
Thanks. I read through the man pages etc. and had not seen this. I'll
check out the FAQ.
I turned on the log file and verbose logging, but can't find the problem
with the following. Would you have any ideas? :-)
Perhaps you could just say where it quits working, and why you think there
is something wrong with it. If it works as you expect with a variety of
test messages, then you're probably good to go. If it doesn't, then the
VERBOSE logfile WILL indicate where it failed to match, or if there was an
odd exit result from a program you're running.
Hard to tell since there aren't any errors, and I'm not sure what it's
supposed to look like. :-) See for yourself:
procmail: Assigning "MAILDIR=/home/jsmoriss/Maildir/"
procmail: Assigning "DEFAULT=/home/jsmoriss/Maildir/"
procmail: Assigning "SPAM=/home/jsmoriss/Maildir//.spam/"
procmail: No match on "^To: .*majordom"
procmail: Score: 2147483647 2147483647
"(^((Original-)?(Resent-)?(To|Cc|Bcc)|(X-Envelope|Apparently(-Resent)?)-To):(.*[^a-zA-Z])?)(_dot_)*(_at_)spam\(_dot_)mvlan\(_dot_)net"
procmail: Assigning
"LASTFOLDER=/home/jsmoriss/Maildir//.spam/new/1023326842.13483_0.marvin"
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: Assigning
"PATH=/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/sbin:/usr/sbin"
From root(_at_)mvlan(_dot_)net Wed Jun 5 21:27:22 2002
Subject: Wed Jun 5 21:27:21 EDT 2002
Folder: /home/jsmoriss/Maildir/new/1023326842.13483_1.marvin 594
Thanks,
js.
--
Jean-Sebastien Morisset, Sr. UNIX Administrator <jsmoriss(_at_)mvlan(_dot_)net>
Personal Home Page <http://jsmoriss.mvlan.net:8080/>
"With sufficient thrust, pigs fly just fine." -- RFC 1925
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail