﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>Ipswitch Forums / IMail Server / Ipswitch Products  / Help for a rule / Latest Posts</title><generator>InstantForum.NET v4.1.4</generator><description>Ipswitch Forums</description><link>http://forums.ipswitch.com/</link><webMaster>forums@ipswitch.com</webMaster><lastBuildDate>Sat, 05 Jul 2008 21:08:49 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Help for a rule</title><link>http://forums.ipswitch.com/Topic43049-10-1.aspx</link><description>From this: &lt;A href="http://support.ipswitch.com/kb/IM-19980116-DD08.htm"&gt;http://support.ipswitch.com/kb/IM-19980116-DD08.htm&lt;/A&gt;&lt;P&gt;[quote]Any of the values separated by vertical bars within the parentheses; the &lt;BR&gt;vertical bar represents "or" (this|that|other)&lt;BR&gt;[/quote]&lt;BR&gt;The vertical bar is a 'pipe'.&lt;/P&gt;&lt;P&gt;[quote]the following characters have special meaning in a rule: {}()|*+,.:\ If you want to use one of these characters in a search string, precede it with a backslash. For example, to search for a plus sign, enter \+ in the search string.[/quote]&lt;/P&gt;&lt;P&gt;So for your rule I think it should be like this:&lt;/P&gt;&lt;P&gt;&amp;lt;Rule 1&amp;gt;H!=X-ANTISPAM!AND!F!~(domain1&lt;FONT color=#ff1111&gt;\&lt;/FONT&gt;.com&lt;FONT color=#bb11bb&gt;|&lt;/FONT&gt;domain2&lt;FONT color=#ff1111&gt;\&lt;/FONT&gt;.com&lt;FONT color=#bb11bb&gt;|&lt;/FONT&gt;domain3&lt;FONT color=#ff1111&gt;\&lt;/FONT&gt;.fr&lt;FONT color=#bb11bb&gt;|&lt;/FONT&gt;domain4&lt;FONT color=#ff1111&gt;\&lt;/FONT&gt;.com&lt;FONT color=#bb11bb&gt;|&lt;/FONT&gt;domain5&lt;FONT color=#ff1111&gt;\&lt;/FONT&gt;.com&lt;FONT color=#bb11bb&gt;|&lt;/FONT&gt;domain6&lt;FONT color=#ff1111&gt;\&lt;/FONT&gt;.com&lt;FONT color=#bb11bb&gt;|&lt;/FONT&gt;domain7&lt;FONT color=#ff1111&gt;\&lt;/FONT&gt;.fr&lt;FONT color=#bb11bb&gt;|&lt;/FONT&gt;domain8&lt;FONT color=#ff1111&gt;\&lt;/FONT&gt;.com&lt;FONT color=#bb11bb&gt;|&lt;/FONT&gt;domain9&lt;FONT color=#ff1111&gt;\&lt;/FONT&gt;.com):spam</description><pubDate>Wed, 07 May 2008 03:11:20 GMT</pubDate><dc:creator>Kimo</dc:creator></item><item><title>RE: Help for a rule</title><link>http://forums.ipswitch.com/Topic43049-10-1.aspx</link><description>Hi,&lt;/P&gt;&lt;P&gt;I tried both for the same result. It didn't work.&lt;/P&gt;&lt;P&gt;I seen that my rule can't be more than 1000 caracters long ? Is that true ? &lt;/P&gt;&lt;P&gt;Thank for your answer</description><pubDate>Tue, 06 May 2008 08:18:47 GMT</pubDate><dc:creator>Microdemo</dc:creator></item><item><title>RE: Help for a rule</title><link>http://forums.ipswitch.com/Topic43049-10-1.aspx</link><description>Are you using backslashes \ or pipes | between your domains?</description><pubDate>Mon, 28 Apr 2008 15:08:49 GMT</pubDate><dc:creator>Kimo</dc:creator></item><item><title>Help for a rule</title><link>http://forums.ipswitch.com/Topic43049-10-1.aspx</link><description>Hi everyone,&lt;P&gt;i'm running Imail 2006 and all my domains are virtuals except the primary.&lt;/P&gt;&lt;P&gt;Some of my domains are configured with an antispam service provided by an another company.&lt;/P&gt;&lt;P&gt;On emails headers who arrived by this service, i got a tag on the Header : Here : X-ANTISPAM&lt;/P&gt;&lt;P&gt;I receve locally al lot of spams and i want to set up a rule who did : &lt;/P&gt;&lt;P&gt; 1 - If the mail didn't arrived by my antispam provider&lt;/P&gt;&lt;P&gt; 2 - AND&lt;/P&gt;&lt;P&gt; 3 - If the mail is not send by one of my local domain&lt;/P&gt;&lt;P&gt; 4 - Put it on spam mailbox&lt;/P&gt;&lt;P&gt;Here si my rule  : &lt;/P&gt;&lt;P&gt;&amp;lt;Rule 1&amp;gt;H!=X-ANTISPAM!AND!F!~(domain1.com\domain2.com\domain3.fr\domain4.com\domain5.com\domain6.com\domain7.fr\domain8.com\domain9.com):spam&lt;/P&gt;&lt;P&gt;This rule didn't work and i don't understand Why.&lt;/P&gt;&lt;P&gt;Do you have an idea ? &lt;/P&gt;&lt;P&gt;Thank you for your answer.&lt;BR&gt;</description><pubDate>Mon, 21 Apr 2008 13:59:22 GMT</pubDate><dc:creator>Microdemo</dc:creator></item></channel></rss>