-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hello,
I built Dovecot (0.99.5) from Ports on FreeBSD 5.0. The mail client (Kmail) cannot login and it complains that authentication process died. The only thing in the logs is: Feb 2 18:13:01 karo imap-login: Disconnected [client-ip]
I tried also passwd authentication method, but its symptoms are the very same.
My configure can be found at http://people.jyu.fi/~kaeesalm/dovecot.conf
I also tried CVS version in hope of fix and more comprehensive debug messages. The compilation failes when it tries to look for passwd.h even though I set
- --disable-passwd and --without-passwd to configure parameters. Could someone fix that.
Karo Salminen -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD)
iD8DBQE+PUX0vt6lNXuj7xcRAp70AJ0R+zhmgF+WBaXaX2V2j+07eVyJRACgh6Ze Pmep2Uy2OnVe/EVuo9O3b80= =eqOO -----END PGP SIGNATURE-----
On Sun, 2003-02-02 at 18:23, Karo Salminen wrote:
I also tried CVS version in hope of fix and more comprehensive debug messages. The compilation failes when it tries to look for passwd.h even though I set
- --disable-passwd and --without-passwd to configure parameters. Could someone fix that.
You said shadow.h in IRC :) --without-shadow would have disabled that. Does FreeBSD really have getspnam() function elsewhere? Anyway I added now check to configure to check for shadow.h too before assuming it exists.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Monday 03 February 2003 07:17, Timo Sirainen wrote:
You said shadow.h in IRC :) --without-shadow would have disabled that. Does FreeBSD really have getspnam() function elsewhere? Anyway I added now check to configure to check for shadow.h too before assuming it exists.
I was mixing the terms. Sorry for that. I mean shadow.h of course and source='passdb-shadow.c' object='passdb-shadow.o' libtool=no
- --without-shadow. I did configure with: ./configure --prefix=/opt/dovecot --without-shadow
- --without-pop3d --disable-ipv6 ran make and get:
depfile='.deps/passdb-shadow.Po' tmpdepfile='.deps/passdb-shadow.TPo'
depmode=gcc3 /bin/sh ../../depcomp gcc -DHAVE_CONFIG_H -I. -I. -I../..
passdb-shadow.c:13:20: shadow.h: No such file or directory
- -I../../src/lib -I../../src/lib-settings -g -O2 -Wall -W
- -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts
- -Wformat=2 -Wbad-function-cast -c
test -f passdb-shadow.c || echo './'
passdb-shadow.c
passdb-shadow.c: In function shadow_verify_plain': passdb-shadow.c:28: warning: implicit declaration of function
getspnam'
passdb-shadow.c:28: warning: assignment makes pointer from integer without a
cast
passdb-shadow.c:38: dereferencing pointer to incomplete type
passdb-shadow.c:38: dereferencing pointer to incomplete type
passdb-shadow.c:38: dereferencing pointer to incomplete type
passdb-shadow.c:41: dereferencing pointer to incomplete type
passdb-shadow.c:48: dereferencing pointer to incomplete type
passdb-shadow.c:48: dereferencing pointer to incomplete type
passdb-shadow.c:51: dereferencing pointer to incomplete type
passdb-shadow.c:51: dereferencing pointer to incomplete type
passdb-shadow.c: In function shadow_deinit': passdb-shadow.c:65: warning: implicit declaration of function
endspent'
*** Error code 1
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)
iD8DBQE+PpUVvt6lNXuj7xcRAl2xAJ9CRJPD1/ul0HtaECQmCsSkz2TQowCgiHf8 zB8A/+ilTJeP5mCwzbBBzHA= =3jvm -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Tuesday 04 February 2003 02:36, Timo Sirainen wrote:
I was mixing the terms. Sorry for that. I mean shadow.h of course and
- --without-shadow.
Whops, cvs update for fix :)
You should fix this too: If building with --without-pop3d dovecot still looks for pop3-login executable at startup. The prefix for -login bins should also be put as examples referring to $PREFIX set when building instead of /usr/libexec.
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD)
iD8DBQE+P2RDvt6lNXuj7xcRAjiPAJ4h3T+JCSAwFR3LrhKurDLm7XvaUwCfUtS/ H0oB3+cikZSqvvs8hWbaGOE= =jVA9 -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Tuesday 04 February 2003 08:57, Karo Salminen wrote:
You should fix this too:
And this: base_dir variable has $PREFIX/var/run/dovecot as its value by default. Shouldn't it be /var/run/dovecot? -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD)
iD8DBQE+P2Tovt6lNXuj7xcRAgXgAKCDa3BVBdXiNJd8TqIlVKnsWNilaQCfQ3RQ 5fPGBq+sRkbadmv7K/87dtg= =9PEz -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Tuesday 04 February 2003 08:59, Karo Salminen wrote:
And this: base_dir variable has $PREFIX/var/run/dovecot as its value by default. Shouldn't it be /var/run/dovecot?
i built Dovecot again, but with --with-pop3d in order to get it running. It seems to execute fine, but it isn't running after all and there are a couple of critical lines in logs: Feb 4 09:11:49 karo dovecot: fcntl(F_GETFD) failed: Bad file descriptor Feb 4 09:11:49 karo imap-login: fd_send() failed: Broken pipe
Looks fun.
Karo Salminen GSM: +358 45 6728280 WWW: http://www.cc.jyu.fi/~kaeesalm/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD)
iD8DBQE+P2igvt6lNXuj7xcRAtE8AJ9VNv9DdZWpyheN8YSKO68Hfy/S0wCdFhEw hbSa9wdcO78FUAWd9jbxkRU= =yAj3 -----END PGP SIGNATURE-----
On Tuesday 04 February 2003 09:15, Karo Salminen wrote:
i built Dovecot again, but with --with-pop3d in order to get it running. It seems to execute fine, but it isn't running after all and there are a couple of critical lines in logs: Feb 4 09:11:49 karo dovecot: fcntl(F_GETFD) failed: Bad file descriptor Feb 4 09:11:49 karo imap-login: fd_send() failed: Broken pipe
Still no advices?
Karo Salminen GSM: +358 45 6728280 WWW: http://www.cc.jyu.fi/~kaeesalm/
On Wed, 2003-02-05 at 22:21, Karo Salminen wrote:
i built Dovecot again, but with --with-pop3d in order to get it running. It seems to execute fine, but it isn't running after all and there are a couple of critical lines in logs: Feb 4 09:11:49 karo dovecot: fcntl(F_GETFD) failed: Bad file descriptor Feb 4 09:11:49 karo imap-login: fd_send() failed: Broken pipe
Still no advices?
Does it happen right after startup or only after trying to log in? I'll probably install FreeBSD 5 soon myself too so I can try then..
Le jeudi, 6 fév 2003, à 03:35 Europe/Paris, Timo Sirainen a écrit :
On Wed, 2003-02-05 at 22:21, Karo Salminen wrote:
i built Dovecot again, but with --with-pop3d in order to get it running. It seems to execute fine, but it isn't running after all and there are a couple of critical lines in logs: Feb 4 09:11:49 karo dovecot: fcntl(F_GETFD) failed: Bad file descriptor Feb 4 09:11:49 karo imap-login: fd_send() failed: Broken pipe
Still no advices?
Does it happen right after startup or only after trying to log in? I'll probably install FreeBSD 5 soon myself too so I can try then..
I had such thing with FreeBSD 4.7-RELEASE-p2 on alpha with a old dovecot (0.98.4) using the freebsd port ...
Maybe it has been updated. I will have a look at that.
/Xavier
Xavier Beaudouin - Unix System Administrator & Projects Leader. Please visit http://caudium.net/, home of Caudium & Camas projects O ascii ribbon campaign against html email |\ and Microsoft attachments
On Tue, 2003-02-04 at 08:57, Karo Salminen wrote:
You should fix this too: If building with --without-pop3d dovecot still looks for pop3-login executable at startup.
Or rather only if protocols setting contains it. Added that check.
The prefix for -login bins should also be put as examples referring to $PREFIX set when building instead of /usr/libexec.
No, they would just look stupid there. The beginning of the config file says what paths are being used, and those are the preferred locations that package maintainers should use.
participants (3)
-
Karo Salminen
-
Timo Sirainen
-
Xavier Beaudouin