Displaying 5 results from an estimated 5 matches for "process_per_connect".
2008 Nov 07
6
Cannot get the libwrap patch work
Hello there,
I have been trying to make the patch work for libwrap(TCP
Wrappers) posted on http://dovecot.org/patches
<http://dovecot.org/patches%20Patch%20of%201.1> Patch of 1.1 but could not
get it work. Any help will be highly appreciated. After compiling and
running it I get error "Error: login_tcp_wrappers can't be used because
Dovecot wasn't built with
2003 Jun 30
3
Configuration file changes
...ins.passwd
}
}
}
# (any setting changes here would affect only new groups below, otherwise
# the config file parsing would get difficult..)
group anonymous {
protocols = imap
ssl_disable = yes
login_dir = /var/run/dovecot/login/anonymous
login {
listen = anonymous.server.org
process_per_connection = no
processes_count = 1
}
auth anonymous {
mechanisms = plain anonymous
userdb = passwd-file /etc/anon.passwd
passdb = passwd-file /etc/anon.passwd
}
}
2003 Nov 04
0
PATCH: make local IP address available to auth modules
The attached patch makes the local IP address to which the client
connected available to the authentication modules; i.e., the local IP
address is available for substitution as %i for the mysql and pgsql
modules. We needed this feature to support thousands of our legacy
accounts which are authenticated by username/local_part (not the full
email address) and IP address (one per domain).
Timo,
2008 Nov 08
1
dovecot Digest, Vol 67, Issue 19
...cot-example.conf 2008-07-07 18:57:31.000000000 +0200
@@ -171,6 +171,11 @@
# Greeting message for clients.
#login_greeting = Dovecot ready.
+# Use TCP wrappers for incoming connection access checks. This requires
that
+# Dovecot was compiled with libwrap. Note that this setting requires
+# login_process_per_connection=yes.
+#login_tcp_wrappers = no
+
# Space-separated list of elements we want to log. The elements which have
# a non-empty variable value are joined together to form a comma-separated
# string.
--- src/imap-login/Makefile.am.orig 2008-06-12 08:45:10.000000000 +0200
+++ src/imap-login/Makefile....
2007 Nov 14
1
libwrap-ing IMAP and POP logins
...+
#include "common.h"
#include "ioloop.h"
#include "lib-signals.h"
@@ -18,6 +20,11 @@
#include <unistd.h>
#include <syslog.h>
+#ifdef LIBWRAP
+#include <tcpd.h>
+int allow_severity =0, deny_severity = 0;
+#endif
+
bool disable_plaintext_auth, process_per_connection, greeting_capability;
bool verbose_proctitle, verbose_ssl, verbose_auth;
const char *greeting, *log_format;
@@ -69,6 +76,10 @@
unsigned int remote_port, local_port;
struct client *client;
int fd;
+#ifdef LIBWRAP
+ struct request_info req;
+ char daemon[13] = "dovecot-";
+#endif...