Yes, that should work okay. Just make sure you don't have any of these characters in your comment: < > :

Tripp

----- Original Message ----- From: "Martin Schaible" <[EMAIL PROTECTED]>
To: "Tripp Allen" <[email protected]>
Sent: Friday, February 10, 2006 7:05 PM
Subject: Re: [IMail Forum] Comments in rules.ima


Hi Tripp,

Thanks.

< 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.
Maybe the doc's should describe this.

BTW: We're editing our rules.ima with an editor. IMail 2006 does not like our big file (About 2000 lines) and the web mail crashes with a kind of a "array to big for me" message.

I think it's the time to introduce an official way for a comment like some of us are asked for this a few years ago. What do you think about this?

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).
So, a comment line could be:

---- This is this section ------
B~(MyRule):MyDestination
---- This is an another section ------
B~(MyOtherRule):MyOtherDestination

Could work without causing an strange error?

============================================
Am Freitag, 10. Februar 2006 um 20:41 schrieben Sie:

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/

============================================

--

Mit freundlichen GrĂ¼ssen

--------------------------------------------
Merlin Consulting
Martin Schaible
Bahnhofstrasse 27
CH-8702 Zollikon

Phone:   +41 44 391 30 00
Fax:     +41 44 391 32 49

Mail:    mailto:[EMAIL PROTECTED]
URL:     http://www.merlinconsulting.ch
Support: http://support.merlinconsulting.ch

GPS:     N47 20.235 E8 34.226
--------------------------------------------
News - Neue Produkte:

.:. NOD32 Antivirus System
.:. BlueDragon
.:. Kiwi Syslog Monitor
.:. Paessler GmbH
.:. Sawmill Loganalyzer
.:. SmarterTools
--------------------------------------------


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/



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