From f3ea1f4ba66fe80a435b8224a8eb15e3c732e04b Mon Sep 17 00:00:00 2001 From: Chris Buechler Date: Sun, 23 Jan 2011 01:18:32 -0500 Subject: move dead packages into archive to clean this up a bit. I know there are some I missed if someone else would like to review --- config/sassassin.inc | 63 ---------------------------------------------------- 1 file changed, 63 deletions(-) delete mode 100644 config/sassassin.inc (limited to 'config/sassassin.inc') diff --git a/config/sassassin.inc b/config/sassassin.inc deleted file mode 100644 index 040f12ab..00000000 --- a/config/sassassin.inc +++ /dev/null @@ -1,63 +0,0 @@ - 0, 'attachment' => 1, 'plaintext' => 2); - $report_safe = $report_safe_array[$settings['send_spam']]; - - $local_cf = << 'wl', 'blacklist' => 'bl') as $list => $key) { - foreach ($config['installedpackages']["sassassin{$key}"]['config'] as $item) { - if (!empty($item)) - $local_cf .= "{$list}_from {$item['address']}\n"; - } - } - - file_put_contents('/usr/local/etc/mail/spamassassin/local.cf', $local_cf); - - restart_service('spamassassin'); - - if (get_pkg_id('p3scan') != -1) { - require_once('p3scan.inc'); - p3scan_resync(); - } -} - -function sassassin_validate_input($post, $input_errors) { - if (!is_numeric($post['threshold'])) - $input_errors[] = 'The field \'Spam threshold\' should contain a numeric value.'; -} -?> -- cgit v1.2.3