1 |
snetram |
1.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 |
|
|
+ |