forked from pool/courier-imap
This commit is contained in:
parent
1053507f93
commit
6edab1ad29
28
courier-imap-ulimit_conf.diff
Normal file
28
courier-imap-ulimit_conf.diff
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
--- imap/pop3d.dist.in
|
||||||
|
+++ imap/pop3d.dist.in
|
||||||
|
@@ -28,6 +28,25 @@
|
||||||
|
|
||||||
|
MAXPERIP=4
|
||||||
|
|
||||||
|
+##NAME: POP3_ULIMITD:0
|
||||||
|
+#
|
||||||
|
+# POP3_ULIMITD sets the maximum size of the data segment of the server
|
||||||
|
+# process. The value of POP3_ULIMITD is simply passed to the "ulimit -d"
|
||||||
|
+# command (or ulimit -v). The argument to ulimi sets the upper limit on the
|
||||||
|
+# size of the data segment of the server process, in kilobytes. The default
|
||||||
|
+# value of 65536 sets a very generous limit of 64 megabytes, which should
|
||||||
|
+# be more than plenty for anyone.
|
||||||
|
+#
|
||||||
|
+# This feature is used as an additional safety check that should stop
|
||||||
|
+# any potential denial-of-service attacks that exploit any kind of
|
||||||
|
+# a memory leak to exhaust all the available memory on the server.
|
||||||
|
+# It is theoretically possible that obscenely huge folders will also
|
||||||
|
+# result in the server running out of memory when doing server-side
|
||||||
|
+# sorting (by my calculations you have to have at least 100,000 messages
|
||||||
|
+# in a single folder, for that to happen).
|
||||||
|
+
|
||||||
|
+POP3_ULIMITD=65536
|
||||||
|
+
|
||||||
|
##NAME: POP3AUTH:1
|
||||||
|
#
|
||||||
|
# To advertise the SASL capability, per RFC 2449, uncomment the POP3AUTH
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Nov 21 10:33:13 CET 2007 - mskibbe@suse.de
|
||||||
|
|
||||||
|
- Bug 342601 - courier-imap rc and config bugs
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Nov 16 08:32:29 CET 2007 - mskibbe@suse.de
|
Fri Nov 16 08:32:29 CET 2007 - mskibbe@suse.de
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@ Requires: fam-server
|
|||||||
Url: http://www.courier-mta.org/imap/
|
Url: http://www.courier-mta.org/imap/
|
||||||
Summary: An IMAP and POP3 Server for Maildir MTAs
|
Summary: An IMAP and POP3 Server for Maildir MTAs
|
||||||
Version: 4.1.3
|
Version: 4.1.3
|
||||||
Release: 59
|
Release: 62
|
||||||
License: GPL v2 or later
|
License: GPL v2 or later
|
||||||
Conflicts: imap qpopper
|
Conflicts: imap qpopper
|
||||||
Group: Productivity/Networking/Email/Servers
|
Group: Productivity/Networking/Email/Servers
|
||||||
@ -32,6 +32,7 @@ Source8: %name.firewall
|
|||||||
Source9: %name-ssl.firewall
|
Source9: %name-ssl.firewall
|
||||||
Patch: %{name}-4.0.6.diff
|
Patch: %{name}-4.0.6.diff
|
||||||
Patch1: %{name}-4.1.1.diff
|
Patch1: %{name}-4.1.1.diff
|
||||||
|
Patch2: %{name}-ulimit_conf.diff
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
Prefix: /usr
|
Prefix: /usr
|
||||||
%define _sysconfdir /etc/courier
|
%define _sysconfdir /etc/courier
|
||||||
@ -52,6 +53,7 @@ delivers to maildir format mailboxes.
|
|||||||
%setup -q
|
%setup -q
|
||||||
%patch
|
%patch
|
||||||
%patch1
|
%patch1
|
||||||
|
%patch2
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{suse_update_config}
|
%{suse_update_config}
|
||||||
@ -174,6 +176,8 @@ exit 0
|
|||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Nov 21 2007 - mskibbe@suse.de
|
||||||
|
- Bug 342601 - courier-imap rc and config bugs
|
||||||
* Fri Nov 16 2007 - mskibbe@suse.de
|
* Fri Nov 16 2007 - mskibbe@suse.de
|
||||||
- Bug 341267 - courier-imap-ssl configuration problems
|
- Bug 341267 - courier-imap-ssl configuration problems
|
||||||
* Mon Oct 22 2007 - sbrabec@suse.cz
|
* Mon Oct 22 2007 - sbrabec@suse.cz
|
||||||
|
Loading…
Reference in New Issue
Block a user