/[smeserver]/rpms/smeserver-qpsmtpd/sme7/smeserver-qpsmtpd-2.0.0-spamsubject.patch
ViewVC logotype

Contents of /rpms/smeserver-qpsmtpd/sme7/smeserver-qpsmtpd-2.0.0-spamsubject.patch

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


Revision 1.1 - (show annotations) (download)
Fri Nov 6 08:11:55 2009 UTC (15 years ago) by snetram
Branch: MAIN
CVS Tags: smeserver-qpsmtpd-2_0_0-5_el4_sme, smeserver-qpsmtpd-2_0_0-8_el4_sme, smeserver-qpsmtpd-2_0_0-6_el4_sme, smeserver-qpsmtpd-2_0_0-4_el4_sme, smeserver-qpsmtpd-2_0_0-9_el4_sme, smeserver-qpsmtpd-2_0_0-7_el4_sme, HEAD
* Fri Nov 6 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0.0-4.sme
- Add qpsmtpd template fragment for custom SPAM subject prefix [SME: 5567]

1 diff -up smeserver-qpsmtpd-2.0.0/root/etc/e-smith/templates/var/service/qpsmtpd/config/subject_prefix/10subject.spamsubject smeserver-qpsmtpd-2.0.0/root/etc/e-smith/templates/var/service/qpsmtpd/config/subject_prefix/10subject
2 --- smeserver-qpsmtpd-2.0.0/root/etc/e-smith/templates/var/service/qpsmtpd/config/subject_prefix/10subject.spamsubject 2009-11-06 08:32:22.000000000 +0100
3 +++ smeserver-qpsmtpd-2.0.0/root/etc/e-smith/templates/var/service/qpsmtpd/config/subject_prefix/10subject 2009-11-06 08:41:19.000000000 +0100
4 @@ -0,0 +1,13 @@
5 +{
6 +
7 + use esmith::ConfigDB;
8 +
9 + my $db = esmith::ConfigDB->open_ro ||
10 + die 'Could not open configuration database';
11 +
12 + my $subject = $db->get_prop('spamassassin', 'Subject') || '';
13 +
14 + $OUT = $subject;
15 +
16 +}
17 +

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