rules: IP Address in To: expression reports Config Error

Julian Field MailScanner at
Mon Feb 4 13:40:16 GMT 2008

Hash: SHA1

Joachim Holzfuss wrote:
> Hi,
> I was under the impression from reading the examples and README files
> located in the rules directory
> that I can setup a highscore spam policy based
> on a receiving mailserver specified like
> To: IP.AD.DR.ESS delete
> This works for From: but not for To: or FromOrTo:
> Instead I get in the logs:
> Config Error: Cannot match against  destination IP address
> when resolving configuration option  "highscorespamactions.rule"
> Is this intended or not yet needed by someone else?
It's intended. You don't know the IP address you are delivering a 
message to until you have delivered it. So you can't test against the 
delivery IP address.

> Greetings
> Joachim


- -- 
Julian Field MEng CITP CEng
Buy the MailScanner book at

Need help customising MailScanner?
Contact me!
Need help fixing or optimising your systems?
Contact me!
Need help getting you started solving new requirements from your boss?
Contact me!

PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654

Version: PGP Desktop 9.7.0 (Build 1012)
Comment: (pgp-secured)
Charset: ISO-8859-1


This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

More information about the MailScanner mailing list