/[smeserver]/rpms/e-smith-email/sme8/e-smith-email-5.2.0-spamsubject.patch
ViewVC logotype

Annotation of /rpms/e-smith-email/sme8/e-smith-email-5.2.0-spamsubject.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Thu Nov 5 18:45:41 2009 UTC (15 years ago) by snetram
Branch: MAIN
CVS Tags: e-smith-email-5_2_0-24_el5_sme, e-smith-email-5_2_0-14_el5_sme, e-smith-email-5_2_0-16_el5_sme, e-smith-email-5_2_0-10_el5_sme, e-smith-email-5_2_0-13_el5_sme, e-smith-email-5_2_0-3_el5_sme, e-smith-email-5_2_0-9_el5_sme, e-smith-email-5_2_0-15_el5_sme, e-smith-email-5_2_0-6_el5_sme, e-smith-email-5_2_0-5_el5_sme, e-smith-email-5_2_0-12_el5_sme, e-smith-email-5_2_0-22_el5_sme, e-smith-email-5_2_0-7_el5_sme, e-smith-email-5_2_0-18_el5_sme, e-smith-email-5_2_0-19_el5_sme, e-smith-email-5_2_0-17_el5_sme, e-smith-email-5_2_0-20_el5_sme, e-smith-email-5_2_0-21_el5_sme, e-smith-email-5_2_0-27_el5_sme, e-smith-email-5_2_0-26_el5_sme, e-smith-email-5_2_0-8_el5_sme, e-smith-email-5_2_0-11_el5_sme, e-smith-email-5_2_0-28_el5_sme, e-smith-email--, e-smith-email-5_2_0-4_el5_sme, e-smith-email-5_2_0-23_el5_sme, e-smith-email-5_2_0-25_el5_sme, HEAD
* Wed Nov 4 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 5.2.0-3.sme
- Allow for changing SPAM subject tag through server-manager

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"));

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed