| | | Forum Newbie
       
Group: Forum Members Last Login: 5/6/2008 12:25:41 PM Posts: 8, Visits: 18 |
| | Hi everyone, i'm running Imail 2006 and all my domains are virtuals except the primary. Some of my domains are configured with an antispam service provided by an another company. On emails headers who arrived by this service, i got a tag on the Header : Here : X-ANTISPAM I receve locally al lot of spams and i want to set up a rule who did : 1 - If the mail didn't arrived by my antispam provider 2 - AND 3 - If the mail is not send by one of my local domain 4 - Put it on spam mailbox Here si my rule : <Rule 1>H!=X-ANTISPAM!AND!F!~(domain1.com\domain2.com\domain3.fr\domain4.com\domain5.com\domain6.com\domain7.fr\domain8.com\domain9.com):spam This rule didn't work and i don't understand Why. Do you have an idea ? Thank you for your answer.
|
| | | | Forum Member
       
Group: Forum Members Last Login: Today @ 12:29:19 PM Posts: 25, Visits: 314 |
| | Are you using backslashes \ or pipes | between your domains? |
| | | | Forum Newbie
       
Group: Forum Members Last Login: 5/6/2008 12:25:41 PM Posts: 8, Visits: 18 |
| | Hi, I tried both for the same result. It didn't work. I seen that my rule can't be more than 1000 caracters long ? Is that true ? Thank for your answer |
| | | | Forum Member
       
Group: Forum Members Last Login: Today @ 12:29:19 PM Posts: 25, Visits: 314 |
| | From this: http://support.ipswitch.com/kb/IM-19980116-DD08.htm Any of the values separated by vertical bars within the parentheses; the vertical bar represents "or" (this|that|other)
The vertical bar is a 'pipe'.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. So for your rule I think it should be like this: <Rule 1>H!=X-ANTISPAM!AND!F!~(domain1\.com|domain2\.com|domain3\.fr|domain4\.com|domain5\.com|domain6\.com|domain7\.fr|domain8\.com|domain9\.com):spam |
| |
|
|