[Dovecot] Dovecot auth problem on FreeBSD 4.10
Hello. I am trying to setup Dovecot on an Alpha running FreeBSD 4.10. I am simply trying the imap/pop3 protocols at this time. But with both protocols the log message I get is:
pop3-login: fd_send(5) failed: Bad file descriptor dovecot: child 275 (login) returned error 89
or
imap-login: fd_send(5) failed: Bad file descriptor dovecot: child 275 (login) returned error 89
I have tried various combinations of:
auth = default|plain|pam auth_userdb = passwd auth_passdb = passwd|shadow|pam|passwd-file
but nothing works. What am I doing wrong? Thanks.
Viren Patel University of Texas at Austin
Your auth_userdb and your auth_passdb need to be set to something Dovecot can read. For example:
auth = plain digest-md5 <-- (This should be space seperated not | seperated) auth_userdb passwd-file /path/to/passwd/file auth_passdb passwd-file /path/to/passwd/file
Let me know if that helps.
Viren Patel wrote:
Hello. I am trying to setup Dovecot on an Alpha running FreeBSD 4.10. I am simply trying the imap/pop3 protocols at this time. But with both protocols the log message I get is:
pop3-login: fd_send(5) failed: Bad file descriptor dovecot: child 275 (login) returned error 89
or
imap-login: fd_send(5) failed: Bad file descriptor dovecot: child 275 (login) returned error 89
I have tried various combinations of:
auth = default|plain|pam auth_userdb = passwd auth_passdb = passwd|shadow|pam|passwd-file
but nothing works. What am I doing wrong? Thanks.
Viren Patel University of Texas at Austin
Thanks for your suggestion. I have tried
auth = default auth_userdb passwd_file /path/to/passwd/file auth_passdb passwd_file /path/to/passwd/file
and
auth = plain auth_userdb passwd_file /path/to/passwd/file auth_passdb passwd_file /path/to/passwd/file
but it still does not work - I get the same errors.
Your auth_userdb and your auth_passdb need to be set to something Dovecot can read. For example:
auth = plain digest-md5 <-- (This should be space seperated not | seperated) auth_userdb passwd-file /path/to/passwd/file auth_passdb passwd-file /path/to/passwd/file
Let me know if that helps.
Viren Patel wrote:
Hello. I am trying to setup Dovecot on an Alpha running FreeBSD 4.10. I am simply trying the imap/pop3 protocols at this time. But with both protocols the log message I get is:
pop3-login: fd_send(5) failed: Bad file descriptor dovecot: child 275 (login) returned error 89
or
imap-login: fd_send(5) failed: Bad file descriptor dovecot: child 275 (login) returned error 89
I have tried various combinations of:
auth = default|plain|pam auth_userdb = passwd auth_passdb = passwd|shadow|pam|passwd-file
but nothing works. What am I doing wrong? Thanks.
Viren Patel University of Texas at Austin
This e-mail was scanned by RAV Antivirus. (www.ravantivirus.com)
Hello.
Sorry if I'm incorrect here, but before you get into scratching heads over something that might be subtle...
Viren Patel wrote:
Thanks for your suggestion. I have tried
auth = default auth_userdb passwd_file /path/to/passwd/file auth_passdb passwd_file /path/to/passwd/file
and
auth = plain auth_userdb passwd_file /path/to/passwd/file auth_passdb passwd_file /path/to/passwd/file
but it still does not work - I get the same errors.
don't auth_userdb and auth_passdb need a "=" between the keyword and the arguments?
ie: auth = plain auth_userdb = passwd_file /path/to/passwd/file auth_passdb = passwd_file /path/to/passwd/file ^ (missing that equal there)
It might be the parser trying to get to find an auth-type "/path/to/passwd/file" or something.
Brian
Sorry my typo in the email. The conf file does contain the '='.
Hello.
Sorry if I'm incorrect here, but before you get into scratching heads over something that might be subtle...
Viren Patel wrote:
Thanks for your suggestion. I have tried
auth = default auth_userdb passwd_file /path/to/passwd/file auth_passdb passwd_file /path/to/passwd/file
and
auth = plain auth_userdb passwd_file /path/to/passwd/file auth_passdb passwd_file /path/to/passwd/file
but it still does not work - I get the same errors.
don't auth_userdb and auth_passdb need a "=" between the keyword and the arguments?
ie: auth = plain auth_userdb = passwd_file /path/to/passwd/file auth_passdb = passwd_file /path/to/passwd/file ^ (missing that equal there)
It might be the parser trying to get to find an auth-type "/path/to/passwd/file" or something.
Brian This e-mail was scanned by RAV Antivirus. (www.ravantivirus.com)
On Thu, 2004-07-22 at 17:38, Viren Patel wrote:
Hello. I am trying to setup Dovecot on an Alpha running FreeBSD 4.10. I am simply trying the imap/pop3 protocols at this time. But with both protocols the log message I get is:
pop3-login: fd_send(5) failed: Bad file descriptor dovecot: child 275 (login) returned error 89
Hmm. Yet another problem with fd_send().. Code in src/lib/fdpass.c isn't working right with your system. This is a bit difficult to fix without access to the system since I can only guess what could go wrong.
Does FreeBSD define CMSG_LEN, CMSG_SPACE and CMSG_ALIGN macros somewhere under /usr/include/? What are they? How is "struct cmsghdr" defined?
participants (5)
-
Brian Chu
-
Timo Sirainen
-
Tom Ray [Lists]
-
Viren Patel
-
Viren Patel