--- functions.php.original 2005-04-03 16:15:07.000000000 -0600 +++ functions.php 2007-06-29 22:26:12.000000000 -0600 @@ -3,7 +3,7 @@ * This is where I put stuff that is specific to this plugin.. but * does not belong in the class. Most of the output screens are done * here. This is also where you can customize how errors are handled. - * + * * @license http://opensource.org/licenses/gpl-license.php GNU Public License * @author Jared Watkins 2003 * @package amavisnewsql @@ -11,6 +11,10 @@ */ /** + * Customized by Gary V, mr88talent at yahoo dot com + */ + +/** * Handles all error output */ function amavisnewsql_ErrorOut($err, $fatal=false) { @@ -265,7 +269,7 @@
" . _("Whitelist / Blacklist") . "

" . - _("Here you may list the addresses you wish to protect and those you wish to block. Please keep in mind that spammers often have throw-away or fake addresses so blacklisting these is pointless. The listed addresses appear in the same order as they will be applied by the mail server. Please read the section on priority to understand why this is important.") . " + _("Here you may list the addresses you wish to protect and those you wish to block. Please keep in mind that spammers often have throw-away or fake addresses so blacklisting these is pointless. Also note that it is the 'Envelope Sender' that is acted on. This is not always the same as the 'From' address. Contact the postmaster if your setting does not appear to make any difference. The listed addresses appear in the same order as they will be applied by the mail server. Please read the section on priority to understand why this is important.") . "
" . _("Priority") . "

" . @@ -375,10 +379,10 @@ - \n - \n + \n + \n \n - \n + \n "; for($i=0; $i < count($policyList); $i++) { @@ -386,7 +390,8 @@ echo "\n \n - \n"; + \n + \n"; } echo " @@ -401,8 +406,8 @@ - + - + -
" . _("Your Current Policy") . "" . _("Tag Level") . "$tag2_label
".$myPolicy[0]["policy_name"]."".$myPolicy[0]["tag2_level"]."".$myPolicy[0]["kill_level"]."
" . _("Your Current Policy") . "" . _("Tag2 Level") . "$tag2_label" . _("Cutoff Level") . "
".$myPolicy[0]["policy_name"]."".$myPolicy[0]["tag2_level"]."".$myPolicy[0]["kill_level"]."".$myPolicy[0]["spam_quarantine_cutoff_level"]."

" . _("Predefined Policies") . "
(" . _("Click To Select") . ")
" . _("Tag Level") . "$tag2_label
" . _("Predefined Policies") . "
(" . _("Click To Select") . ")
" . _("Tag2 Level") . "$tag2_label" . _("Cutoff Level") . "
$setlink".$policyList[$i]["tag2_level"]."".$policyList[$i]["kill_level"]."
".$policyList[$i]["kill_level"]."".$policyList[$i]["spam_quarantine_cutoff_level"]."
" . _("Custom Policy") . " -
+
@@ -418,11 +423,14 @@
" . _("Policies") . "

" . _("You may select from one of several predefined scoring policies or you may define your own. Each email is assigned a numerical score based on the characteristics it shares with those common to spam.") . "
" . _("Tag Level") . "

" . - _("The tag level is the numerical score required to identify a message as being spam. This will cause *SPAM* to be added to the subject line and the X-Spam-Flag header to be set to YES.") . " +
" . _("Tag2 Level") . "

" . + _("If a message scores at or above Tag2 Level, that message will be marked as spam. This will cause Spam> to be prefixed to the Subject line, the X-Spam-Flag header set to YES and the message directed to your Spam folder. The minimum setting is 4. Messages in your Spam folder need to be reviewed and either moved to another folder, or deleted. They will automatically be deleted after 24 days.") . " +
$tag2_label

" . + _("If a message scores at or above ") . _("$tag2_label") . _(", that message will be placed in quarantine. This level should be higher or equal to Tag2 Level and high enough to avoid quarantining legitimate mail. The minimum setting is 6.5. Messages in the quarantine are deleted after 24 days so please review them regularly. Set ") . _("$tag2_label") . _(" high if you wish to avoid spam quarantine.") . "
$tag2_label

" . - _("The ") . _("$tag2_label") . _(" is the numerical score required to prevent delivery of a message at the server. This level should be higher or equal to Tag Level and high enough to avoid catching legitimate email. As your custom whitelist grows you should adjust these two levels to tag and block more spam.") . " +
" . _("Cutoff Level") . "

" . + _("The Cutoff Level is the score at which a message is permanently deleted. This level must be higher or equal to Kill Level and high enough to avoid deleting legitimate mail. The minimum setting is 8, but a higher setting is strongly advised because you will occasionally delete legitimate mail at that level. Somewhere around 14 would be much safer. Set cutoff level high if you wish to avoid spam deletion.") . "