1 |
vip-ire |
1.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 |
|
|
+} |