We do not have an "official" format to comment rules. In other words, IMail does not search for any certain characters in the rules file and then ignore data after those characters. Preceding a line in the rules file // will not make IMail ignore the rule. However, in IMail 2006 we
do support naming of rules which helps in knowing what's in the file.

When parsing a rule, IMail searches for a couple things:

< and > - These denote a rule name and should be at the beginning of a rule (only supported in 2006+).
: - IMail looks for the address after this colon.

Adding a comment to the rules file should be fine as long as you don't put any <, > or : characters in the comment. If you comment a rule by putting a // in front of it, IMail will still try to process the rule (and this could cause errors).

Note that if you add a comment to the rules file, you are modifying the file so that it is no longer in a supported configuration. Also, we have not tested this so make these changes at your own risk.

Tripp

----- Original Message ----- From: "Martin Schaible" <[EMAIL PROTECTED]>
To: "Ipswitch IMail Mailing List" <[email protected]>
Sent: Friday, February 10, 2006 10:14 AM
Subject: [IMail Forum] Comments in rules.ima


Hi,

Several month ago, somebody told us, that a comment like this // works in rules.ima. I asked Ipswitch for a kind of an "official statement", but we didn't got an answer.

My rules file is getting bigger and bigger and i really would use some comment there.

Does somebody use these // for a comment and @ Ipswitch: How do you think about this ?


To Unsubscribe: http://www.ipswitch.com/support/mailing-lists.html
List Archive: http://www.mail-archive.com/imail_forum%40list.ipswitch.com/
Knowledge Base/FAQ: http://www.ipswitch.com/support/IMail/

Reply via email to