/[smecontribs]/rpms/smeserver-wbl/contribs8/smeserver-wbl-0.1.0-WBLentry.patch
ViewVC logotype

Annotation of /rpms/smeserver-wbl/contribs8/smeserver-wbl-0.1.0-WBLentry.patch

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


Revision 1.1 - (hide annotations) (download)
Tue Jul 16 00:22:43 2013 UTC (11 years, 4 months ago) by unnilennium
Branch: MAIN
CVS Tags: smeserver-wbl-0_1_0-21_el5_sme, smeserver-wbl-0_1_0-22_el5_sme, smeserver-wbl-0_1_0-23_el5_sme, smeserver-wbl-0_1_0-19_el5_sme, smeserver-wbl-0_1_0-25_el5_sme, smeserver-wbl-0_1_0-26_el5_sme, smeserver-wbl-0_1_0-24_el5_sme, HEAD
* Mon Jul 15 2013 JP Pialasse <tests@pialasse.com> 0.1.0-19.sme
- apply locale 2013-07-15 patch
- fix for SME8 [SME: 7007]
- fix badmailfrom ignored by qpsmtpd, but without regex support [SME: 5085]

1 unnilennium 1.1 diff -up smeserver-wbl-0.1.0/createlinks.WBLentry smeserver-wbl-0.1.0/createlinks
2     --- smeserver-wbl-0.1.0/createlinks.WBLentry 2008-10-13 16:09:56.000000000 -0400
3     +++ smeserver-wbl-0.1.0/createlinks 2013-07-15 20:11:59.000000000 -0400
4     @@ -8,6 +8,7 @@ my $panel = "manager";
5     panel_link("wbl", $panel);
6    
7     templates2events("/var/qmail/control/badmailfrom", "email-update");
8     +templates2events("/var/service/qpsmtpd/config/badmailfrom", "email-update");
9     templates2events("/var/service/qpsmtpd/config/badhelo", "email-update");
10     templates2events("/var/service/qpsmtpd/config/whitelisthelo", "email-update");
11     templates2events("/var/service/qpsmtpd/config/whitelisthosts", "email-update");
12     diff -up smeserver-wbl-0.1.0/root/etc/e-smith/templates/var/service/qpsmtpd/config/badmailfrom/10wbl_badmailfrom.WBLentry smeserver-wbl-0.1.0/root/etc/e-smith/templates/var/service/qpsmtpd/config/badmailfrom/10wbl_badmailfrom
13     --- smeserver-wbl-0.1.0/root/etc/e-smith/templates/var/service/qpsmtpd/config/badmailfrom/10wbl_badmailfrom.WBLentry 2013-07-15 20:10:32.000000000 -0400
14     +++ smeserver-wbl-0.1.0/root/etc/e-smith/templates/var/service/qpsmtpd/config/badmailfrom/10wbl_badmailfrom 2007-01-05 16:33:27.000000000 -0500
15     @@ -0,0 +1,18 @@
16     +{
17     + use esmith::ConfigDB;
18     +
19     + my $wdb = esmith::ConfigDB->open_ro('wbl')
20     + || die "Unable to open wbl configuration dbase.";
21     + my %list = $wdb->get('badmailfrom')->props;
22     +
23     + $OUT = '';
24     + my $parameter = "";
25     + my $value = "";
26     + while (($parameter,$value) = each(%list)) {
27     + if ($parameter eq "type") {next;}
28     +
29     + if ($value eq "Black") {
30     + $OUT .= "$parameter\n";
31     + }
32     + }
33     +}

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