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

Contents of /rpms/e-smith-email/sme8/e-smith-email-5.2.0-transparent.patch

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


Revision 1.1 - (show annotations) (download)
Sun Sep 26 16:28:36 2010 UTC (14 years, 1 month ago) by slords
Branch: MAIN
CVS Tags: e-smith-email-5_2_0-24_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-12_el5_sme, e-smith-email-5_2_0-20_el5_sme, e-smith-email-5_2_0-16_el5_sme, e-smith-email-5_2_0-21_el5_sme, e-smith-email-5_2_0-22_el5_sme, e-smith-email-5_2_0-27_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-23_el5_sme, e-smith-email-5_2_0-11_el5_sme, e-smith-email-5_2_0-25_el5_sme, e-smith-email-5_2_0-26_el5_sme, e-smith-email-5_2_0-14_el5_sme, e-smith-email-5_2_0-15_el5_sme, e-smith-email-5_2_0-28_el5_sme, e-smith-email-5_2_0-18_el5_sme, HEAD
* Sun Sep 25 2010 Shad L. Lords <slords@mail.com> 5.2.0-10.sme
- Change enabled to transparent for mail proxy [SME: 5574]

1 diff -ruN e-smith-email-5.2.0.old/root/etc/e-smith/db/configuration/migrate/20smtpProxy e-smith-email-5.2.0/root/etc/e-smith/db/configuration/migrate/20smtpProxy
2 --- e-smith-email-5.2.0.old/root/etc/e-smith/db/configuration/migrate/20smtpProxy 1969-12-31 17:00:00.000000000 -0700
3 +++ e-smith-email-5.2.0/root/etc/e-smith/db/configuration/migrate/20smtpProxy 2010-09-26 10:14:36.000000000 -0600
4 @@ -0,0 +1,5 @@
5 +{
6 + my $proxy = $DB->get_prop('smtpd','Proxy');
7 +
8 + $DB->set_prop('smtpd','Proxy', 'blocked') if $proxy eq 'enabled';
9 +}
10 diff -ruN e-smith-email-5.2.0.old/root/etc/e-smith/templates/etc/rc.d/init.d/masq/90adjustSMTPProxy e-smith-email-5.2.0/root/etc/e-smith/templates/etc/rc.d/init.d/masq/90adjustSMTPProxy
11 --- e-smith-email-5.2.0.old/root/etc/e-smith/templates/etc/rc.d/init.d/masq/90adjustSMTPProxy 2010-09-26 09:56:50.000000000 -0600
12 +++ e-smith-email-5.2.0/root/etc/e-smith/templates/etc/rc.d/init.d/masq/90adjustSMTPProxy 2010-09-26 10:17:29.000000000 -0600
13 @@ -14,7 +14,7 @@
14
15 $OUT .= " /sbin/iptables --flush SMTPProxy\n";
16
17 - if (${smtpd}{'Proxy'} eq 'enabled')
18 + if (${smtpd}{'Proxy'} eq 'transparent')
19 {
20 $OUT .= " /sbin/iptables --table nat --replace SMTPProxy $rule\\\n";
21 $OUT .= "\t-p TCP -j DNAT --to $LocalIP:25\n";

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