Displaying 5 results from an estimated 5 matches for "is_inetd".
2007 Dec 18
4
Dovecot + Cygwin the 2nd
Hi,
i still try to get dovecot to run under cygwin.
After a post on the cygwin list i am able tu run dovecot.
Under Cygwin you have to run dovecot by inetd. Starting the binary
"dovecot.exe" does not work.
Well the server is running but answers with a fatal error.
Account: 'localhost', Server: 'localhost', Protokoll: POP3,
Serveranswer: 'Fatal: EOF while reading
2005 Jan 15
1
STARTTLS and inetd
...2003-11-08 16:15:42.000000000 +0100
+++ src/login-common/main.c.new 2005-01-15 17:49:53.000000000 +0100
@@ -220,7 +220,7 @@
{
const char *name, *group_name;
struct ip_addr ip;
- int i, fd = -1, master_fd = -1;
+ int i, fd = -1, master_fd = -1, ssl = FALSE;
is_inetd = getenv("DOVECOT_MASTER") == NULL;
@@ -268,6 +268,7 @@
fd = ssl_proxy_new(fd, &ip);
if (fd == -1)
i_fatal("SSL initialization
failed");
+...
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 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
2008 Nov 08
1
dovecot Digest, Vol 67, Issue 19
...CP_WRAPPERS") != NULL;
greeting = getenv("GREETING");
if (greeting == NULL)
@@ -419,11 +469,12 @@
restrict_access_by_env() is called */
lib_init();
+ process_name = strrchr(argv[0], '/');
+ process_name = process_name == NULL ? argv[0] : process_name+1;
+
if (is_inetd) {
/* running from inetd. create master process before
dropping privileges. */
- process_name = strrchr(argv[0], '/');
- process_name = process_name == NULL ? argv[0] :
process_name+1;
group_name = t_strcut(process_name, '-');
for (i = 1; i < argc; i++) {
--- s...