[Bps-public-commit] rt-extension-spamassassin branch, master, updated. f1b5b7559343cab45ed56be97499833ca38cd88a
? sunnavy
sunnavy at bestpractical.com
Sat Aug 21 05:16:02 EDT 2010
The branch, master has been updated
via f1b5b7559343cab45ed56be97499833ca38cd88a (commit)
via a373854792a44487d165d340b1935dfa1b7146fb (commit)
from 0b80d8f306bce353a13fca1700f227b00c8e5d90 (commit)
Summary of changes:
README | 25 -------------------------
lib/RT/Extension/SpamAssassin.pm | 6 ++++++
2 files changed, 6 insertions(+), 25 deletions(-)
delete mode 100644 README
- Log -----------------------------------------------------------------
commit a373854792a44487d165d340b1935dfa1b7146fb
Author: sunnavy <sunnavy at bestpractical.com>
Date: Sat Aug 21 17:13:48 2010 +0800
no more README in repo
diff --git a/README b/README
deleted file mode 100644
index c3d4541..0000000
--- a/README
+++ /dev/null
@@ -1,25 +0,0 @@
-NAME
- RT::Extension::SpamAssassin - Spam filter for RT
-
-SYNOPSIS
- # in RT config
- Set(@Plugins, 'RT::Extension::SpamAssassin', ...other plugins...);
- Set(@MailPlugins, 'RT::Extension::SpamAssassin', ...other filters...);
- Set(%SpamAssassinOptions, debug => ..., userprefs_filename => ...);
-
-DESCRIPTION
- This plugin checks to see if an incoming mail is spam (using
- "spamassassin") and if so, rewrites its headers. If the mail is very
- definitely spam - 1.5x more hits than required - then it is dropped on
- the floor; otherwise, it is passed on as normal.
-
-AUTHOR
- sunnavy "<sunnavy at bestpractical.com>"
-
-LICENCE AND COPYRIGHT
- RT-Extension-SpamAssassin is Copyright 2010 Best Practical Solutions,
- LLC.
-
- This program is free software; you can redistribute it and/or modify it
- under the same terms as Perl itself.
-
commit f1b5b7559343cab45ed56be97499833ca38cd88a
Author: sunnavy <sunnavy at bestpractical.com>
Date: Sat Aug 21 17:18:23 2010 +0800
more doc
diff --git a/lib/RT/Extension/SpamAssassin.pm b/lib/RT/Extension/SpamAssassin.pm
index 40dc0b9..b72f3f4 100644
--- a/lib/RT/Extension/SpamAssassin.pm
+++ b/lib/RT/Extension/SpamAssassin.pm
@@ -42,10 +42,16 @@ RT::Extension::SpamAssassin - Spam filter for RT
# in RT config
Set(@Plugins, 'RT::Extension::SpamAssassin', ...other plugins...);
Set(@MailPlugins, 'RT::Extension::SpamAssassin', ...other filters...);
+
+ # options here will be transfered to Mail::SpamAssassin's new method
+ # as a hashref.
Set(%SpamAssassinOptions, debug => ..., userprefs_filename => ...);
=head1 DESCRIPTION
+It was RT::Interface::Email::Filter::SpamAssassin in RT core, when we
+removed it from core since 3.9, this plugin was born.
+
This plugin checks to see if an incoming mail is spam (using
C<spamassassin>) and if so, rewrites its headers. If the mail is very
definitely spam - 1.5x more hits than required - then it is dropped on
-----------------------------------------------------------------------
More information about the Bps-public-commit
mailing list