Bug#377154: tcpd fails to exec imap-login when running dovecot from inetd

2006-07-10 Thread Pigeon
On Mon, Jul 10, 2006 at 06:55:56PM +0200, Marco d'Itri wrote: > On Jul 10, Pigeon <[EMAIL PROTECTED]> wrote: > > > In the case of dovecot, the daemon responding to the incoming imap > > (or pop3) connection is named "imap-login" (or "pop3-login"). > > Therefore, unless the entries in /etc/hosts.{

Bug#377154: tcpd fails to exec imap-login when running dovecot from inetd

2006-07-10 Thread Marco d'Itri
On Jul 10, Pigeon <[EMAIL PROTECTED]> wrote: > In the case of dovecot, the daemon responding to the incoming imap > (or pop3) connection is named "imap-login" (or "pop3-login"). > Therefore, unless the entries in /etc/hosts.{allow,deny} use the > daemon name "imap-login" instead of the obvious "i

Bug#377154: tcpd fails to exec imap-login when running dovecot from inetd

2006-07-09 Thread Pigeon
On Fri, Jul 07, 2006 at 11:32:43PM +0200, Marco d'Itri wrote: > FYI, I do not feel like working on this now. So if you want to see > progress before a few months, I suggest you debug it by yourself. OK, I've figured out what's going on, I think... hosts_access.c matches the entries in /etc/hosts.

Bug#377154: tcpd fails to exec imap-login when running dovecot from inetd

2006-07-08 Thread Pigeon
Further information: I have discovered that while my workaround does enable dovecot to be run from inetd the results are still slightly unexpected. If the access permissions in /etc/hosts.{allow,deny} are different for the imap and imaps services, the entry for imaps is ignored, and the permissions

Bug#377154: tcpd fails to exec imap-login when running dovecot from inetd

2006-07-07 Thread Pigeon
On Fri, Jul 07, 2006 at 09:44:19AM +0200, Marco d'Itri wrote: > On Jul 07, Pigeon <[EMAIL PROTECTED]> wrote: > > > /etc/hosts.allow and /etc/hosts.deny are set to allow connections from > > 192.168.1.4, and they work as expected where other services are > > concerned. Connecting from localhost pr

Bug#377154: tcpd fails to exec imap-login when running dovecot from inetd

2006-07-07 Thread Marco d'Itri
On Jul 07, Pigeon <[EMAIL PROTECTED]> wrote: > /etc/hosts.allow and /etc/hosts.deny are set to allow connections from > 192.168.1.4, and they work as expected where other services are > concerned. Connecting from localhost produces the same result. Hard to believe. Please show your complete and u

Bug#377154: tcpd fails to exec imap-login when running dovecot from inetd

2006-07-06 Thread Pigeon
Package:tcpd Version: 7.6.dbs-8 When running dovecot-imapd from inetd, tcpd fails to exec the imap-login binary, although "ps ax" suggests otherwise. The dovecot man page suggests that it is possible to run dovecot from inetd, and the dovecot wiki gives an a