Only sign outgoing messages rules revisited.

Greg Borders gborders at
Fri Jan 11 20:44:53 GMT 2008

I'm looking into doing this, and I implemented this rule from the examples:

3. Only sign outgoing messages
Set "Sign Clean Messages = /opt/MailScanner/etc/rules/signing.rules".
 If your messages come from "", then try this:
 From: 192.168. yes
 FromOrTo: default no
 where your network is the whole of

My subnet happens to match nicely with the examples.
However, it signs *all* outbound messages, even from in-house user to 
other in-house user.
I'd like to eliminate the signing for all inhouse person-to person 
mails.  I've tried several extra rules, but no success yet.  It just 
keeps tagging all sent mail.

I'd expect something like this to work:
  From: 192.168. yes
 To:   192.168. no
 FromOrTo: default no
Logic thinking if any mail comming into our subnet aka "To:" would not 
be tagged.

No luck.

Also tried:
  From: 192.168. yes
 FromAndTo: 192.168. no
  FromOrTo: default no
Thinking that if it's from my subnet, and then coming back into my 
subnet, it would not be tagged.

Still no luck.

Any tips?

"This is MailScanner version 4.66.5"
With Mailwatch 1..0.4


This email message and any document accompanying it may contain information intended only for the person(s) named.  Any use, distribution, copying or disclosure by another person is strictly prohibited. 
Any tax advice included in this written or electronic communication was not intended or written to be used, and it cannot be used by the taxpayer, for the purpose of avoiding any penalties that may be imposed on the taxpayer by any governmental taxing authority or agency.  This written or electronic communication does not represent legal advice. Persons in need of a legal opinion should seek competent counsel.

More information about the MailScanner mailing list