Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37788640
en ru br
ALT Linux repositórios
S:5.2.4-alt1
5.0: 4.4.1-alt1
4.1: 4.3.1-alt1
4.0: 4.1.2-alt1
3.0: 4.0.3-alt1

Group :: Sistema/Servidores
RPM: courier-imap

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Patch: courier-imap-4.0.3-alt-config.patch
Download


diff -ruN courier-imap-4.0.3.orig/imap/imapd.cnf.in courier-imap-4.0.3/imap/imapd.cnf.in
--- courier-imap-4.0.3.orig/imap/imapd.cnf.in	2005-05-24 01:05:01 +1100
+++ courier-imap-4.0.3/imap/imapd.cnf.in	2005-05-24 01:12:40 +1100
@@ -15,6 +15,14 @@
 O=Courier Mail Server
 OU=Automatically-generated IMAP SSL key
 CN=localhost
+# if you need more than one FQDN in the SSL cert
+#  replace CN=localhost with:
+# 1.CN=first-fqdn.domain.tld
+# 2.CN=second-fqdn.domain.tld 
+# ...
+# n.CN=host.another-domain.tld
+#  see man 5 sslconfig for details
+
 emailAddress=postmaster@example.com
 
 
diff -ruN courier-imap-4.0.3.orig/imap/imapd.dist.in courier-imap-4.0.3/imap/imapd.dist.in
--- courier-imap-4.0.3.orig/imap/imapd.dist.in	2005-05-24 01:05:01 +1100
+++ courier-imap-4.0.3/imap/imapd.dist.in	2005-05-24 01:05:36 +1100
@@ -21,7 +21,7 @@
 #
 # ADDRESS=127.0.0.1
 
-ADDRESS=0
+ADDRESS=127.0.0.1
 
 ##NAME: PORT:1
 #
@@ -57,14 +57,14 @@
 #
 #  Maximum number of connections to accept from the same IP address
 
-MAXPERIP=4
+MAXPERIP=10
 
 ##NAME: PIDFILE:0
 #
 #  File where couriertcpd will save its process ID
 #
 
-PIDFILE=@piddir@/imapd.pid
+PIDFILE=@piddir@/courier-imapd.pid
 
 ##NAME: TCPDOPTS:0
 #
@@ -182,7 +182,7 @@
 # server.
 #
 
-IMAP_CHECK_ALL_FOLDERS=0
+IMAP_CHECK_ALL_FOLDERS=1
 
 ##NAME: IMAP_OBSOLETE_CLIENT:0
 #
@@ -230,7 +230,7 @@
 #
 # IMAP_USELOCKS=1 is strongly recommended when shared folders are used.
 
-IMAP_USELOCKS=1
+IMAP_USELOCKS=0
 
 ##NAME: IMAP_SHAREDINDEXFILE:0
 #
@@ -289,7 +289,7 @@
 # in a stat() of every file in each folder, at login and logout.
 #
 
-IMAP_EMPTYTRASH=Trash:7
+IMAP_EMPTYTRASH=Trash:30
 
 ##NAME: IMAP_MOVE_EXPUNGE_TO_TRASH:0
 #
@@ -302,7 +302,7 @@
 # not affected.
 #
 
-IMAP_MOVE_EXPUNGE_TO_TRASH=0
+IMAP_MOVE_EXPUNGE_TO_TRASH=1
 
 
 ##NAME: OUTBOX:0
@@ -368,7 +368,7 @@
 # The default setting is going to be NO, so you'll have to manually flip
 # it to yes.
 
-IMAPDSTART=NO
+IMAPDSTART=YES
 
 ##NAME: MAILDIRPATH:0
 #
diff -ruN courier-imap-4.0.3.orig/imap/imapd-ssl.dist.in courier-imap-4.0.3/imap/imapd-ssl.dist.in
--- courier-imap-4.0.3.orig/imap/imapd-ssl.dist.in	2005-05-24 01:05:01 +1100
+++ courier-imap-4.0.3/imap/imapd-ssl.dist.in	2005-05-24 01:05:36 +1100
@@ -43,14 +43,14 @@
 #
 # SSLADDRESS=127.0.0.1
 
-SSLADDRESS=0
+SSLADDRESS=127.0.0.1
 
 ##NAME: SSLPIDFILE:0
 #
 # That's the SSL IMAP port we'll listen on.
 # Feel free to redefine MAXDAEMONS, TCPDOPTS, and MAXPERIP.
 
-SSLPIDFILE=@piddir@/imapd-ssl.pid
+SSLPIDFILE=@piddir@/courier-imaps.pid
 
 ##NAME: IMAPDSSLSTART:0
 #
@@ -65,7 +65,7 @@
 #
 #  Whether or not to start IMAP over SSL on simap port:
 
-IMAPDSSLSTART=NO
+IMAPDSSLSTART=YES
 
 ##NAME: IMAPDSTARTTLS:0
 #
@@ -97,7 +97,7 @@
 ##NAME: COURIERTLS:0
 #
 
-COURIERTLS=@bindir@/couriertls
+COURIERTLS=@sbindir@/couriertls
 
 ##NAME: TLS_PROTOCOL:0
 # 
diff -ruN courier-imap-4.0.3.orig/imap/pop3d.cnf.in courier-imap-4.0.3/imap/pop3d.cnf.in
--- courier-imap-4.0.3.orig/imap/pop3d.cnf.in	2005-05-24 01:05:01 +1100
+++ courier-imap-4.0.3/imap/pop3d.cnf.in	2005-05-24 01:13:25 +1100
@@ -15,8 +15,14 @@
 O=Courier Mail Server
 OU=Automatically-generated POP3 SSL key
 CN=localhost
+# if you need more than one FQDN in the SSL cert
+#  replace CN=localhost with:
+# 1.CN=first-fqdn.domain.tld
+# 2.CN=second-fqdn.domain.tld 
+# ...
+# n.CN=host.another-domain.tld
+#  see man 5 sslconfig for details
 emailAddress=postmaster@example.com
 
-
 [ cert_type ]
 nsCertType = server
diff -ruN courier-imap-4.0.3.orig/imap/pop3d.dist.in courier-imap-4.0.3/imap/pop3d.dist.in
--- courier-imap-4.0.3.orig/imap/pop3d.dist.in	2005-05-24 01:05:01 +1100
+++ courier-imap-4.0.3/imap/pop3d.dist.in	2005-05-24 01:05:36 +1100
@@ -13,7 +13,7 @@
 ##NAME: PIDFILE:0
 #
 
-PIDFILE=@piddir@/pop3d.pid
+PIDFILE=@piddir@/courier-pop3d.pid
 
 ##NAME: MAXDAEMONS:0
 #
@@ -93,7 +93,7 @@
 #
 # IP address to listen on.  0 means all IP addresses.
 
-ADDRESS=0
+ADDRESS=127.0.0.1
 
 ##NAME: TCPDOPTS:0
 #
@@ -119,7 +119,7 @@
 # with enough platforms so that people get annoyed with having to flip it to
 # YES every time.
 
-POP3DSTART=NO
+POP3DSTART=YES
 
 ##NAME: MAILDIRPATH:0
 #
diff -ruN courier-imap-4.0.3.orig/imap/pop3d-ssl.dist.in courier-imap-4.0.3/imap/pop3d-ssl.dist.in
--- courier-imap-4.0.3.orig/imap/pop3d-ssl.dist.in	2005-05-24 01:05:01 +1100
+++ courier-imap-4.0.3/imap/pop3d-ssl.dist.in	2005-05-24 01:05:36 +1100
@@ -43,20 +43,20 @@
 #
 # SSLADDRESS=127.0.0.1
 
-SSLADDRESS=0
+SSLADDRESS=127.0.0.1
 
 ##NAME: SSLPIDFILE:0
 #
 #
 #
 
-SSLPIDFILE=@piddir@/pop3d-ssl.pid
+SSLPIDFILE=@piddir@/courier-pop3s.pid
 
 ##NAME: POP3DSSLSTART:0
 #
 #  Whether or not to start POP3 over SSL on spop3 port:
 
-POP3DSSLSTART=NO
+POP3DSSLSTART=YES
 
 ##NAME: POP3_STARTTLS:0
 #
@@ -84,7 +84,7 @@
 # at your own risk.  Only the basic SSL/TLS functionality is known to be
 # working. Keep this in mind as you play with the following variables.
 
-COURIERTLS=@bindir@/couriertls
+COURIERTLS=@sbindir@/couriertls
 
 ##NAME: TLS_PROTOCOL:0
 # 
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009