Thanks for the help Ruud. Now I'm back to trying to solve my original
problem. That is, the following message is being falsely detected as
coming *from* me, when it is really *to* me:
From someone-else
To: <disposable(_dot_)address(_dot_)jgombos(_at_)spamgourmet(_dot_)com>
This is a placeholder for a body.
Here is the (simplified) script that is screwing up:
MAILDIR=./
DEFAULT=$MAILDIR/not_from_self
LOGFILE=$MAILDIR/results.log
VERBOSE=1
FROM_="(From[ ]|(Old-|X-)?(Resent-)?\
(From|Reply-To|Sender):)(.*\<)?"
SG_ACCOUNT = jgombos(_at_)spamgourmet(_dot_)com
SG_ADDRESS = [^.]+[.][^.]+[.]$SG_ACCOUNT
:0 :
*$ ^${FROM_}${SG_ADDRESS}
from_self
The log:
procmail: [5836] Thu Feb 24 20:09:11 2005
procmail: Assigning "FROM_=(From[
]|(Old-|X-)?(Resent-)?(From|Reply-To|Sender):)(.*\<)?"
procmail: Assigning "SG_ACCOUNT=jgombos(_at_)spamgourmet(_dot_)com"
procmail: Assigning
"SG_ADDRESS=[^(_dot_)]+[(_dot_)][^(_dot_)]+[(_dot_)]jgombos(_at_)spamgourmet(_dot_)com"
procmail: Match on "^(From[
]|(Old-|X-)?(Resent-)?(From|Reply-To|Sender):)(.*\<)?[^(_dot_)]+[(_dot_)][^(_dot_)]+[(_dot_)]jgombos(_at_)spamgourmet(_dot_)com"
procmail: Locking "from_self.lock"
procmail: Assigning "LASTFOLDER=from_self"
procmail: Opening "from_self"
procmail: Acquiring kernel-lock
procmail: Unlocking "from_self.lock"
From someone-else
Folder: from_self
103
The conditional should not be matching, because From_ is followed by
"someone-else". If I remove the [^.]+[.][^.]+[.] expression from
SG_ADDRESS, it works, but it should also work with that prefix.
____________________________________________________________
procmail mailing list Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail