Matthias Haeker schreef:
* $ X_RECEIVED ?? [\(]from[$WS][^$WS]*[\(_at_)]\/localhost
* $ X_RECEIVED ?? \(from[$WS][^$WS]+(_at_)\/localhost
* $ X_SENDER_IP ?? ![^$WS]
Can you say in words what this should do? I would move the ! to the
start if you meant it to mean 'NOT':
*$ ! X_SENDER_IP ?? [^$WS]
:0
* $ ^Received:[$WS]*[^$WS]from[$WS]\/[^$WS]*
What is the '[^WS]' before the 'from'? The [$WS] after the from is OK,
but can be passed with .*, because \/ is greedy at the right.
The \/[^$WS]* at the end will not always make MATCH contain a @.
* $ MATCH ?? [\(_at_)]\/.*[^\)]
Again a [\(_at_)] where I think that you mean just @. The reparse-$ at the
start is not needed.
* $ MATCH ?? localhost
Again the reparse-$ at the start is not needed.
* $ X_RECEIVED ?? .*from[$WS]*\/($HOST|$X_LOCAL_IP)
Tou need to change $HOST into $\HOST, etc.
* $ X_RECEIVED ?? .*from[$WS]*\/($\HOST|$\X_LOCAL_IP)
:0
* $ X_SENDER_IP ?? !$X_LOCAL_IP
Again I think that you mean
*$ ! X_SENDER_IP ?? $X_LOCAL_IP
Run test mesages through it, and check the VERBOSE log carefully.
--
Grtz, Ruud
____________________________________________________________
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