/[smeserver]/rpms/e-smith-imap/sme8/e-smith-imap-2.2.0-always_enable_imap.patch
ViewVC logotype

Contents of /rpms/e-smith-imap/sme8/e-smith-imap-2.2.0-always_enable_imap.patch

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


Revision 1.1 - (show annotations) (download)
Sun Jun 23 18:21:27 2013 UTC (10 years, 11 months ago) by vip-ire
Branch: MAIN
CVS Tags: e-smith-imap-2_2_0-9_el5_sme, e-smith-imap-2_2_0-7_el5_sme, e-smith-imap-2_2_0-8_el5_sme, e-smith-imap-2_2_0-5_el5_sme, HEAD
* Fri Jun 21 2013 Daniel Berteaud <daniel@firewall-services.com> 2.2.0-5.sme
- Always enable imap, listen on the loopback if disabled [SME: 7676]

1 diff -Nur e-smith-imap-2.2.0/createlinks e-smith-imap-2.2.0-imap_loopback/createlinks
2 --- e-smith-imap-2.2.0/createlinks 2013-06-21 12:41:59.911528911 +0200
3 +++ e-smith-imap-2.2.0-imap_loopback/createlinks 2013-06-21 12:43:38.558546648 +0200
4 @@ -30,7 +30,7 @@
5 network-delete
6 ))
7 {
8 - safe_symlink("sigusr1",
9 + safe_symlink("sighup",
10 "root/etc/e-smith/events/$event/services2adjust/imap");
11 safe_symlink("sigusr1",
12 "root/etc/e-smith/events/$event/services2adjust/imaps");
13 diff -Nur e-smith-imap-2.2.0/root/etc/e-smith/templates/var/service/imap/config/LISTENIP e-smith-imap-2.2.0-imap_loopback/root/etc/e-smith/templates/var/service/imap/config/LISTENIP
14 --- e-smith-imap-2.2.0/root/etc/e-smith/templates/var/service/imap/config/LISTENIP 1970-01-01 01:00:00.000000000 +0100
15 +++ e-smith-imap-2.2.0-imap_loopback/root/etc/e-smith/templates/var/service/imap/config/LISTENIP 2013-06-21 12:43:08.286311701 +0200
16 @@ -0,0 +1,7 @@
17 +{
18 +
19 +my $ip = (($imap{'access'} || 'private') eq 'localhost') ?
20 + '127.0.0.1':'0';
21 +$OUT .= "LISTENIP=$ip\n";
22 +
23 +}

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