Hello, 
  i'm still trying to configure the postfix + courier-imap (pop3d) +
mysql and my configurations do not work.... 
  Now, i have put the strace software to debug the daemons (pop3login
and authmysql). When i login by telnet in port 110 (from other host or
from localhost), the pop3login daemon is started, and i follow it. The
pop3login receives the "user" and the "password", and after some strange
messages about "Resource temporarily unavailable", it call the
authdaemon (write to the authdameon's socket), and exits.  I have some
window with strance in my authdaemon, that appears the "username" and
the "password" that i did pass, so the pop3login did his jog. :) 
here is the fragment (initial) from strace to authdaemond.mysql: 
... 
select(9, [5 8], NULL, NULL, NULL)      = 1 (in [8]) 
accept(8, {sin_family=AF_UNIX, path=@}, [16]) = 4 
fcntl(4, F_SETFL, O_RDONLY)             = 0 
select(5, [4], NULL, NULL, {10, 0})     = 1 (in [4]) 
read(4, "AUTH 27\npop3\nlogin\ngisele\nbundch"..., 1024) = 36 
open("/etc/authmysqlrc", O_RDONLY)      = 6 
fstat(6, {st_mode=S_IFREG|0640, st_size=5850, ...}) = 0 
break(0x8059000)                        = 0 


But the final of the debug is the problem... the daemon look for my dns
server (i did install one named in my FreeBSD machine to fix this, but
do not work), but do not look for mysql in no moment! 
  I have in my resolv.conf the address to my dns server, but as i don't
know what to do, i did configure one dns server ( that is working) in my
FreeBSD box... 
  But why the look for the DNS??? and why the daemon do not try access
the mysql tables??? What the daemon is trying to resolv????

Here is the rest of the log that i did. 
Thanks!!!! 
***** after some read in /etc/authysqlrc and some other files********** 
... 
open("/etc/hosts", O_RDONLY)            = 9 
fstat(9, {st_mode=S_IFREG|0644, st_size=121, ...}) = 0 
read(9, "# 127.0.0.1\t\tlocalhost.mydomain "..., 512) = 121 
read(9, "", 512)                        = 0 
close(9)                                = 0 
issetugid(0x28143664)                   = 0 
issetugid(0x28143664)                   = 0 
kqueue(0x28143664)                      = 9 
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 10 
connect(10, {sin_family=AF_INET, sin_port=htons(53),
sin_addr=inet_addr("127.0.0 
.1")}}, 16) = 0 
sendto(10, "\230$\1\0\0\1\0\0\0\0\0\0\nlocalhost\t\10mydomain"..., 37,
0, NULL, 
0) = 37 
gettimeofday({1025019004, 226851}, NULL) = 0 
kevent(0x9, 0xbfbfe16c, 0x1, 0xbfbfe16c, 0x1, 0xbfbfe150) = 1 
recvfrom(10, "\230$\205\203\0\1\0\0\0\1\0\0\nlocalhost\t\10mydomain"...,
1024, 0 
, {sin_family=AF_INET, sin_port=htons(53),
sin_addr=inet_addr("127.0.0.1")}}, [1 
6]) = 92 
close(10)                               = 0 
close(9)                                = 0 
kqueue(0x28143664)                      = 9 
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 10 
connect(10, {sin_family=AF_INET, sin_port=htons(53),
sin_addr=inet_addr("127.0.0 
.1")}}, 16) = 0 
sendto(10, "\230%\1\0\0\1\0\0\0\0\0\0\nlocalhost\t\0\0\1\0\1", 28, 0,
NULL, 0) = 
28 
gettimeofday({1025019004, 228184}, NULL) = 0 
kevent(0x9, 0xbfbfe16c, 0x1, 0xbfbfe16c, 0x1, 0xbfbfe150) = 1 
recvfrom(10, "\230%\201\202\0\1\0\0\0\0\0\0\nlocalhost\t\0\0\1\0\1",
1024, 0, {s 
in_family=AF_INET, sin_port=htons(53),
sin_addr=inet_addr("127.0.0.1")}}, [16]) 
= 28 
close(10)                               = 0 
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 10 
sendto(10, "\230%\1\0\0\1\0\0\0\0\0\0\nlocalhost\t\0\0\1\0\1", 28, 0,
{sin_famil 
y=AF_INET, sin_port=htons(53), sin_addr=inet_addr("10.124.67.8")}}, 16)
= 28 
gettimeofday({1025019004, 229060}, NULL) = 0 
kevent(0x9, 0xbfbfe16c, 0x1, 0xbfbfe16c, 0x1, 0xbfbfe150) = 1 
recvfrom(10, "\230%\201\202\0\1\0\0\0\0\0\0\nlocalhost\t\0\0\1\0\1",
1024, 0, {s 
in_family=AF_INET, sin_port=htons(53),
sin_addr=inet_addr("10.124.67.8")}}, [16] 
) = 28 
close(10)                               = 0 
close(9)                                = 0 
shutdown(6, 2 /* send and receive */)   = 0 
close(6)                                = 0 
close(4)                                = 0 
close(4)                                = 0 
select(9, [5 8], NULL, NULL, NULL <unfinished ...> 

  With my dns server (real) in /etc/resolv.conf i get the same problem!
Tries to resolv (access) one DNS server... and no access to my mysql
server.

 Thanks

-- 
------------------------------------------------------------------------
FreeShell's master                           http://omestre.freeshel.org
------------------------------------------------------------------------



-------------------------------------------------------
This sf.net email is sponsored by: Jabber Inc.
Don't miss the IM event of the season | Special offer for OSDN members! 
JabConf 2002, Aug. 20-22, Keystone, CO http://www.jabberconf.com/osdn
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to