||include||charset.htm|| ||lang_get(page_title)|| ||include||style.htm|| ||define||sw_onload||spam_onload();|| ||define||sw_menu||true|| ||include||na_pgstart.htm|| #
((Surgeweb sw_spam.htm user.cgi template))
#||include||na_smenu.htm|| # Allow friends settings to be saved from the cmd_user_spam_save command # All required friends and spam fields, any commented out here will be explicitly defined as inputs later on the page instead # # # # # # # # # # Special surgeweb fields ||include||na_reqd.htm|| ||include||na_wpage.htm|| ||if(or(equal(friend_mode,(disabled)),not(equal(recent_out_auto,(checked))) ))||
Friends system is currently disabled. It is strongly recommended to make use of the "Safe Sender Whitelist". This will prevent false postivies (ie. non spam messages being identified as spam) from people you have previously emailed.
||endif|| ||ifdef||__junk__|| ||define((spam_handling),(none))|| ||if(or(greater_than(spam_store,(0)),greater_than(spam_bounce,(0)),greater_than(spam_vanish,(0)) ))|| ||define((spam_handling),(hold))|| ||endif||
Spam handling is disabled. All email will be delivered to your inbox without being marked in any way as spam.
For small amounts of spam, it is recommended that both settings below are set the same, dependent on your personal preferences either to "mark & deliver to inbox" or "deliver to Spam folder".
As you receive more spam, it is recommended that your spam handling is split into:
"almost certainly spam" - which you probably need never look at
"likely spam" - which is likely to contain some false positives so you should check occasionally
This will challenge all email that looks like it might be spam.
Warning: This may catch the first email you receive from someone. In this case, the message will be pending in the Spam folder until the sender replies to the friends bounce. (or the messsage is manually marked as not spam)
Email is only accepted from people on your safe sender list for this account.
A custom spam configuration is being used which is configurable via Advanced Settings.
You may want to try one of the recommended "One step spam control" configurations above.
||endif|| $$Action to take on almost certainly* spam$$: ||define((spam_handling),(none))|| ||if(or(greater_than(spam_store,(0)),greater_than(spam_bounce,(0)),greater_than(spam_vanish,(0)) ))|| ||define((spam_handling),(hold))|| ||endif|| ||include||table.htm|| $$Message delivery:$$ $$Action to take on likely* spam$$:
(valid options are enabled dependent on 'almost certainly spam' setting) ||define((spam_handling),(none))|| ||if(or(greater_than(spam_store,(0)),greater_than(spam_bounce,(0)),greater_than(spam_vanish,(0)) ))|| ||define((spam_handling),(hold))|| ||endif|| ||include||table.htm|| $$Message delivery:$$
This is not implemented as a "feature" yet, but can be achieved by creating a filter rule to move messages with a high spam rating to a particular folder. The above selection box will revert to 'Deliver to INBOX' once you press save.
This is cannot be set from here yet but can be enabled on the 'Unknown Sender Controls' page. The above selection box will revert to 'Deliver to INBOX' once you press save.
All unknown senders blocked by 'Unknown Sender Controls'. Note the account can receive email from anyone on the friends whitelist.
  ||ifdef||message|| ||message|| ||ifdef||message2||(||message2||)||endif|| ||endif||     * Note: almost certainly = spam rating of ||rating_certain||,   likely = spam rating of ||rating_probable||
||if(not(istrue(spam_hide_advanced)))|| Advanced Settings ||endif|| ||ifndef||default_user|| ||ifdef||spam_private|| ||ifequal||allow_spampriv||true||   $$SpamPrivate Alias features$$ $$Email addressed to your private alias (user--PRIVATESETTING@domain.com) will bypass spam and SPF rules. You should be very careful with this private address, DO NOT enter it into web pages or use it when joining mailing lists or posting to news groups/web pages.$$ # ||include||table.htm|| # # ||endif|| ||endif|| ||endif|| ||ifdef||user_virus_scan|| $$VIRUS features$$ ||ifndef||default_user|| ||endif||   # ||ifndef||default_user|| # # ||endif|| ||else|| ||endif||   $$Friends settings$$ $$Friends system actions that do not actually send out "challenge unknown sender" emails.$$ ||include||table.htm|| ||ifequal||friend_mode||disabled||
$$Disabled - NOT RECOMMENDED!$$
||endif||
$$Apply whitelist, mark suspected spam and deliver to inbox$$
$$Place mail from unknown senders in Spam folder if $$: $$or greater.$$ ($$Recommended$$)
$$Do one of several "challenge unknown sender" actions.$$
  $$Spam override rules$$ ||if(or(greater_than(spam_store,(0)),greater_than(spam_vanish,(0))))|| $$Based on the spam rating you can choose to hold, reject, or vanish a message before you even see it.$$ ||else|| $$Based on the spam rating you can choose to reject a message before you even see it.$$ ||endif|| ||include||table.htm|| $$Reject when rating is$$ The sender is notified you did not receive the email. This only applies if the sender is not on your whitelist. This action is performed before any 'challenge' actions. ||if(or(greater_than(spam_store,(0)),greater_than(spam_vanish,(0))))|| $$Hold when rating is$$
$$Not recommended: More effective spam control method is to request a Friends confirmation for messages that are almost certainly spam.$$ release held messages
$$Vanish* when rating is$$ ||else|| ||endif||   ||ifdef||message|| ||message|| ||ifdef||message2||(||message2||)||endif|| ||endif||       $$Temporarily disable spam filtering$$ ||ifequal||friend_temp_status||notblocking|| ||else|| ||endif|| # #   # # $$Some guff on "defaults button"$$ # # # # ||ifndef||default_user|| # # ||endif||   # * $$Hold means the message is kept for 2 weeks, in which time you can view the message(s) and choose to receive specific messages.$$
# * $$Reject means do not accept the message, their server will notify them that you didn't get it.$$
# * $$Vanish means throw the message away, sender doesn't know you didn't get it.$$

Note 1: * $$SERVER DEFAULT is subject to change$$ #
# $$Note 2: The vanish option is not recommended because the sender is not notified when the message is not delivered.$$
Raw user.cgi settings (directly editable via advanced settings):
||if(equal(spam_handling,(hold)))|| # ||endif|| # Special surgeweb fields (only required for display of spam page) ||include||na_pgend.htm||