Group :: Sistema/Servidores
RPM: courier-imap
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Patch: courier-imap-4.0.2-alt-config.patch
Download
Download
diff -ruN courier-imap-4.0.2.orig/imap/imapd.cnf.in courier-imap-4.0.2/imap/imapd.cnf.in
--- courier-imap-4.0.2.orig/imap/imapd.cnf.in 2005-03-27 20:32:40 +1100
+++ courier-imap-4.0.2/imap/imapd.cnf.in 2005-03-27 20:33:09 +1100
@@ -20,3 +20,10 @@
[ cert_type ]
nsCertType = server
+# for generate one SSL cert with multiply host names
+#subjectAltName=@our_dns_names
+#
+#[ our_dns_names ]
+#DNS.1=mail.secondary-domain.tld
+#DNS.2=mail.another-secondary-domain.tld
+#DNS.3=mail.yet-another-secondary-domain.tld
diff -ruN courier-imap-4.0.2.orig/imap/imapd.dist.in courier-imap-4.0.2/imap/imapd.dist.in
--- courier-imap-4.0.2.orig/imap/imapd.dist.in 2005-03-27 20:32:40 +1100
+++ courier-imap-4.0.2/imap/imapd.dist.in 2005-03-27 20:33:55 +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
#
@@ -175,7 +175,7 @@
# server.
#
-IMAP_CHECK_ALL_FOLDERS=0
+IMAP_CHECK_ALL_FOLDERS=1
##NAME: IMAP_OBSOLETE_CLIENT:0
#
@@ -223,7 +223,7 @@
#
# IMAP_USELOCKS=1 is strongly recommended when shared folders are used.
-IMAP_USELOCKS=1
+IMAP_USELOCKS=0
##NAME: IMAP_SHAREDINDEXFILE:0
#
@@ -282,7 +282,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
#
@@ -295,7 +295,7 @@
# not affected.
#
-IMAP_MOVE_EXPUNGE_TO_TRASH=0
+IMAP_MOVE_EXPUNGE_TO_TRASH=1
##NAME: OUTBOX:0
@@ -361,7 +361,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.2.orig/imap/imapd-ssl.dist.in courier-imap-4.0.2/imap/imapd-ssl.dist.in
--- courier-imap-4.0.2.orig/imap/imapd-ssl.dist.in 2005-03-27 20:32:40 +1100
+++ courier-imap-4.0.2/imap/imapd-ssl.dist.in 2005-03-27 20:33:09 +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.2.orig/imap/pop3d.cnf.in courier-imap-4.0.2/imap/pop3d.cnf.in
--- courier-imap-4.0.2.orig/imap/pop3d.cnf.in 2005-03-27 20:32:40 +1100
+++ courier-imap-4.0.2/imap/pop3d.cnf.in 2005-03-27 20:33:09 +1100
@@ -17,6 +17,12 @@
CN=localhost
emailAddress=postmaster@example.com
-
[ cert_type ]
nsCertType = server
+# for generate one SSL cert with multiply host names
+#subjectAltName=@our_dns_names
+#
+#[ our_dns_names ]
+#DNS.1=mail.secondary-domain.tld
+#DNS.2=mail.another-secondary-domain.tld
+#DNS.3=mail.yet-another-secondary-domain.tld
diff -ruN courier-imap-4.0.2.orig/imap/pop3d.dist.in courier-imap-4.0.2/imap/pop3d.dist.in
--- courier-imap-4.0.2.orig/imap/pop3d.dist.in 2005-03-27 20:32:40 +1100
+++ courier-imap-4.0.2/imap/pop3d.dist.in 2005-03-27 20:33:09 +1100
@@ -13,7 +13,7 @@
##NAME: PIDFILE:0
#
-PIDFILE=@piddir@/pop3d.pid
+PIDFILE=@piddir@/courier-pop3d.pid
##NAME: MAXDAEMONS:0
#
@@ -86,7 +86,7 @@
#
# IP address to listen on. 0 means all IP addresses.
-ADDRESS=0
+ADDRESS=127.0.0.1
##NAME: TCPDOPTS:0
#
@@ -112,7 +112,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.2.orig/imap/pop3d-ssl.dist.in courier-imap-4.0.2/imap/pop3d-ssl.dist.in
--- courier-imap-4.0.2.orig/imap/pop3d-ssl.dist.in 2005-03-27 20:32:40 +1100
+++ courier-imap-4.0.2/imap/pop3d-ssl.dist.in 2005-03-27 20:33:09 +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
#