||lang_get(page_title)||

||include||charset.htm|| ||include||na_java.htm|| ||include||style.htm||
||include||na_pgstart.htm||

||lang_get(page_title)|| ||ifdef||exception|| ||define||temp_exception||exception|| ||endif||
||include||na_reqd.htm|| ||include||na_wpage.htm||
$$If the$$ |  |  | $$header$$ |
$$and$$... |
$$or$$... | ||ifndef||surgewall||
$$then$$ |  | $$to IMAP folder$$ |  | ||ifdef||default_user|| if exists||endif|| ||endif|| ||ifdef||show_fwd_and_cc||
||ifndef||surgewall|| ||else||$$then$$||endif|| |  | $$to email address$$ | ||endif||
||ifndef||surgewall|| ||else||||ifnequal||allow_fwd||true||$$then$$||endif||||endif|| |  | $$reason for rejection$$ |
$$clear$$
| $$ID$$ | $$Sel$$ | $$Header$$ | $$Match$$ | $$Text$$ | $$Action$$ | $$Destination$$*/$$Reason$$** | ||define((exception_last),(if))|| ||begin_list|| ||define((last_action),exception_action)|| ||ifndef||exception_display|| ||define((exception_display),exception_action)|| ||endif|| ||ifequal||exception_display||forward|| ||define((exception_display),($$Forward - delete original$$))|| ||endif|| ||ifequal||exception_display||forwardcc|| ||define((exception_display),($$Forward - keep a copy$$))|| ||endif||
--- | --- | --- | --- | --- | --- | --- | --- | ---
||ifequal||exception_last||if|| ||define((rule_count),plus(rule_count,(1)))|| ||endif|| ||if(equal(mod(rule_count,2),0))|| ||define((rule_class),(alternate))|| ||else|| ||define((rule_class),())|| ||endif|| ||exception_last|| ||define((exception_last),(if))|| ||ifequal||exception_display||and|| ||define((exception_last),concatenate((),exception_display,()))|| ||define((exception_display),())|| ||endif|| ||ifequal||exception_display||or|| ||define((exception_last),concatenate((),exception_display,()))|| ||define((exception_display),())|| ||endif|| ||ifinstr||exception_match||exist|| ||define((exception_match_text),($$exists$$))|| ||else|| ||ifinstr||exception_match||exact|| ||ifinstr||exception_match||negate|| ||define((exception_match_text),($$does not match exactly$$))|| ||else|| ||define((exception_match_text),($$matches exactly$$))|| ||endif|| ||else|| ||ifinstr||exception_match||negate|| ||define((exception_match_text),($$does not contain$$))|| ||else|| ||define((exception_match_text),($$contains$$))|| ||endif|| ||endif|| ||endif|| | ||id|| ||ifequal||exception_readonly||true|| | ||else|| | ||endif|| | ||exception_header|| | ||exception_match_text|| | ||exception|| | ||if(and(g_spam_hold_hide,equal(exception_display,(request))))||quarantine||else|| ||exception_display|| ||endif|| | ||exception_destination||||exception_reason|| | $$edit$$ $$copy$$ ||end_list|| ||ifequal||last_action||and||||define((incomplete),(true))||||endif|| ||ifequal||last_action||or||||define((incomplete),(true))||||endif|| ||ifdef||incomplete||
Rule is incomplete, requires 'then' action.. ||endif||
$$Exceptions allow you to setup filters to tell the mail server what to do with specific messages. This allows you to move messages into folders and forward to other email addresses, bypassing the spam blocking features$$ ||ifequal||friends_only||true|| ||lang_get(friends_name)||, ||endif|| ||ifequal||user_centipaid||true|| $$centipaid$$, ||endif|| ||ifequal||spam_userconfig||true|| $$spam hold, reject, and vanish$$ ||endif|| $$for messages you are expecting.$$ $$You can form compound rules by using and and/or or. They are applied from left to right, there are no grouping operators. For example; (a and b or c) will be true when (a and b) or when (c), NOT, when (a) and (b or c)$$ ||iftrue(g_spam_hold_hide)|| $$You can choose to Accept*, Vanish*, or Reject* a message, or Quarantine* message (based on your friends settings a challenge email will be sent to confirm the sender is a person and not a spam robot, or the message will be placed in your Spam folder).$$ ||else|| $$You can choose to Accept*, Vanish*, or Reject* a message, or Request* a friends confirmation be sent to confirm the sender is a person and not a spam robot.$$ ||endif|| * $$Accept means receive the message.$$ * $$Reject do not accept the message, their server will notify them that you didn't get it.$$ * $$Vanish means throw the message away.$$ ||ifequal||friends_only||true|| ||iftrue(g_spam_hold_hide)|| * $$Quarantine means Friends pending quarantine and optionally challenge sender (based on Friends settings)$$ ||else|| * $$Request means send friends request to the sender. (won't apply to existing friend)$$ ||endif|| ||endif|| $$You can choose to Move* or Copy* messages to any one of your IMAP folders.$$ * $$Move will move messages to the specified IMAP folder. (circumventing friends etc)$$ * $$Copy will create a copy of the message in the specified IMAP folder, then continue delivering the original copy.$$ $$Exceptions are processed in the order they are listed in below, so the lower the ID the earlier the exception can be applied.$$ $$Exceptions try to match a specified email header to a value you specify, if the header contains the 'Contains' text then the action is carried out.$$ $$The 'Contains' field may contain wildcards * and ? if it does then the header contents must match the contains field exactly (using wild card matching where * means any number of any characters, and ? means any one character).$$ $$A 'Contains' field with consecutive * characters is treated literally. eg. **** matches a string with 4 stars in it.$$ $$There may be one or more global or domain exceptions configured, these are displayed with a 'g' or 'd' prefix to the id. $$

||include||na_pgend.htm||