1 |
snetram |
1.1 |
diff -up e-smith-email-5.2.0/root/etc/e-smith/locale/en-us/etc/e-smith/web/functions/emailsettings.spamsubject e-smith-email-5.2.0/root/etc/e-smith/locale/en-us/etc/e-smith/web/functions/emailsettings |
2 |
|
|
--- e-smith-email-5.2.0/root/etc/e-smith/locale/en-us/etc/e-smith/web/functions/emailsettings.spamsubject 2009-11-04 11:20:18.000000000 +0100 |
3 |
|
|
+++ e-smith-email-5.2.0/root/etc/e-smith/locale/en-us/etc/e-smith/web/functions/emailsettings 2009-11-04 11:40:16.000000000 +0100 |
4 |
|
|
@@ -437,6 +437,20 @@ sender. |
5 |
|
|
</trans> |
6 |
|
|
</entry> |
7 |
|
|
|
8 |
|
|
+ <entry> |
9 |
|
|
+ <base>LABEL_SPAM_SUBJECT</base> |
10 |
|
|
+ <trans>SPAM subject prefix</trans> |
11 |
|
|
+ </entry> |
12 |
|
|
+ |
13 |
|
|
+ <entry> |
14 |
|
|
+ <base>DESC_SPAM_SUBJECT</base> |
15 |
|
|
+ <trans> |
16 |
|
|
+ You can enable to add a tag to the subject of each |
17 |
|
|
+ message that is classified as SPAM. |
18 |
|
|
+ The value for this tag can be defined below. |
19 |
|
|
+ </trans> |
20 |
|
|
+ </entry> |
21 |
|
|
+ |
22 |
|
|
<entry> |
23 |
|
|
<base>LABEL_SPAM_SENSITIVITY</base> |
24 |
|
|
<trans>Spam sensitivity</trans> |
25 |
|
|
diff -up e-smith-email-5.2.0/root/etc/e-smith/web/functions/emailsettings.spamsubject e-smith-email-5.2.0/root/etc/e-smith/web/functions/emailsettings |
26 |
|
|
--- e-smith-email-5.2.0/root/etc/e-smith/web/functions/emailsettings.spamsubject 2007-12-26 20:48:39.000000000 +0100 |
27 |
|
|
+++ e-smith-email-5.2.0/root/etc/e-smith/web/functions/emailsettings 2009-11-04 11:37:25.000000000 +0100 |
28 |
|
|
@@ -439,6 +439,15 @@ __DATA__ |
29 |
|
|
options=" 'enabled'=>'ENABLED', 'disabled'=>'DISABLED' " |
30 |
|
|
value="get_prop('spamassassin','SubjectTag')"> |
31 |
|
|
<label>LABEL_SPAM_SUBJECTTAG</label> |
32 |
|
|
+ <description>DESC_SPAM_SUBJECT</description> |
33 |
|
|
+ </field> |
34 |
|
|
+ |
35 |
|
|
+ <field |
36 |
|
|
+ type="text" |
37 |
|
|
+ id="SpamSubject" |
38 |
|
|
+ display="get_prop('spamassassin', 'type')" |
39 |
|
|
+ value="get_prop('spamassassin','Subject')"> |
40 |
|
|
+ <label>LABEL_SPAM_SUBJECT</label> |
41 |
|
|
</field> |
42 |
|
|
|
43 |
|
|
<field |
44 |
|
|
diff -up e-smith-email-5.2.0/root/usr/lib/perl5/site_perl/esmith/FormMagick/Panel/emailsettings.pm.spamsubject e-smith-email-5.2.0/root/usr/lib/perl5/site_perl/esmith/FormMagick/Panel/emailsettings.pm |
45 |
|
|
--- e-smith-email-5.2.0/root/usr/lib/perl5/site_perl/esmith/FormMagick/Panel/emailsettings.pm.spamsubject 2008-10-07 19:35:33.000000000 +0200 |
46 |
|
|
+++ e-smith-email-5.2.0/root/usr/lib/perl5/site_perl/esmith/FormMagick/Panel/emailsettings.pm 2009-11-04 11:23:03.000000000 +0100 |
47 |
|
|
@@ -373,6 +373,7 @@ sub change_settings_filtering |
48 |
|
|
TagLevel |
49 |
|
|
RejectLevel |
50 |
|
|
SortSpam |
51 |
|
|
+ Subject |
52 |
|
|
SubjectTag) ) |
53 |
|
|
{ |
54 |
|
|
$db->set_prop('spamassassin', $param, $q->param("Spam$param")); |