Re: [vchkpw] Imap Access Disabled

2007-06-13 Thread Navid rasi

well

1. run this command
strace -ff -o /var/mydebug/ff 
/usr/local/libexec/couriertcpd -address=0 -maxprocs=40 -maxperip=4 -nodnslookup 
-noidentlookup 143 /usr/local/sbin/imaplogin /usr/local/bin/imapd Maildir


2.telnet 20 127.0.0.1 143




then this file come out in /var/mydeug
ff.8417
---

rt_sigaction(SIGCHLD, {SIG_DFL}, {0x8049e54, [CHLD], SA_RESTORER|SA_RESTART, 
0x6

41a48}, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [CHLD], NULL, 8) = 0
getsockname(4, {sa_family=AF_INET6, sin6_port=htons(143), 
inet_pton(AF_INET6, :

::127.0.0.1, sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, [28]) = 0
close(0)= 0
close(1)= 0
dup(4)  = 0
dup(4)  = 1
close(4)= 0
execve(/usr/local/sbin/imaplogin, [/usr/local/sbin/imaplogin, 
/usr/local/bi

n/imapd, Maildir], [/* 26 vars */]) = 0
uname({sys=Linux, node=TEST-MAIL, ...}) = 0
brk(0)  = 0x8b4f000
access(/etc/ld.so.preload, R_OK)  = -1 ENOENT (No such file or 
directory)
open(/usr/local/lib/courier-authlib/tls/i686/sse2/libcourierauthsasl.so.0, 
O_R

DONLY) = -1 ENOENT (No such file or directory)
stat64(/usr/local/lib/courier-authlib/tls/i686/sse2, 0xfee80718) = -1 
ENOENT (

No such file or directory)
open(/usr/local/lib/courier-authlib/tls/i686/libcourierauthsasl.so.0, 
O_RDONLY

) = -1 ENOENT (No such file or directory)
stat64(/usr/local/lib/courier-authlib/tls/i686, 0xfee80718) = -1 ENOENT 
(No su

ch file or directory)
open(/usr/local/lib/courier-authlib/tls/sse2/libcourierauthsasl.so.0, 
O_RDONLY

) = -1 ENOENT (No such file or directory)
stat64(/usr/local/lib/courier-authlib/tls/sse2, 0xfee80718) = -1 ENOENT 
(No su

ch file or directory)
open(/usr/local/lib/courier-authlib/tls/libcourierauthsasl.so.0, O_RDONLY) 
= -

1 ENOENT (No such file or directory)
stat64(/usr/local/lib/courier-authlib/tls, 0xfee80718) = -1 ENOENT (No 
such fi

le or directory)
open(/usr/local/lib/courier-authlib/i686/sse2/libcourierauthsasl.so.0, 
O_RDONL

Y) = -1 ENOENT (No such file or directory)
stat64(/usr/local/lib/courier-authlib/i686/sse2, 0xfee80718) = -1 ENOENT 
(No s

uch file or directory)
open(/usr/local/lib/courier-authlib/i686/libcourierauthsasl.so.0, 
O_RDONLY) =

-1 ENOENT (No such file or directory)
stat64(/usr/local/lib/courier-authlib/i686, 0xfee80718) = -1 ENOENT (No 
such f

ile or directory)
open(/usr/local/lib/courier-authlib/sse2/libcourierauthsasl.so.0, 
O_RDONLY) =

-1 ENOENT (No such file or directory)
stat64(/usr/local/lib/courier-authlib/sse2, 0xfee80718) = -1 ENOENT (No 
such f

ile or directory)
open(/usr/local/lib/courier-authlib/libcourierauthsasl.so.0, O_RDONLY) = 3
read(3, \177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0X\10\0\000..., 512) 
= 5

12
fstat64(3, {st_mode=S_IFREG|0755, st_size=7436, ...}) = 0
old_mmap(NULL, 10272, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) 
= 0x

f6ffd000
old_mmap(0xf6fff000, 4096, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYW

RITE, 3, 0x1000) = 0xf6fff000
close(3)= 0
open(/usr/local/lib/courier-authlib/libcourierauth.so.0, O_RDONLY) = 3
read(3, \177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\4!\0\000..., 512) 
= 51

2
fstat64(3, {st_mode=S_IFREG|0755, st_size=37420, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) 
= 0

xf6ffc000
old_mmap(NULL, 34884, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) 
= 0x

f6ff3000
old_mmap(0xf6ffb000, 4096, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYW

RITE, 3, 0x8000) = 0xf6ffb000
close(3)= 0
open(/usr/local/lib/courier-authlib/libc.so.6, O_RDONLY) = -1 ENOENT (No 
such

file or directory)
open(/etc/ld.so.cache, O_RDONLY)  = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=47991, ...}) = 0
old_mmap(NULL, 47991, PROT_READ, MAP_PRIVATE, 3, 0) = 0xf6fe7000
close(3)= 0
open(/lib/tls/libc.so.6, O_RDONLY)= 3
read(3, \177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0 \357b\000..., 512) 
= 5

12
fstat64(3, {st_mode=S_IFREG|0755, st_size=1512400, ...}) = 0
old_mmap(0x61a000, 1207532, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 
3, 0

) = 0x61a000
old_mmap(0x73b000, 16384, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWR

ITE, 3, 0x12) = 0x73b000
old_mmap(0x73f000, 7404, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMO

US, -1, 0) = 0x73f000
close(3)= 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) 
= 0

xf6fe6000
mprotect(0x73b000, 8192, PROT_READ) = 0
mprotect(0x616000, 4096, PROT_READ) = 0
set_thread_area({entry_number:-1 - 6, base_addr:0xf6fe66c0, limit:1048575, 
seg_
32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, 
usea

ble:1}) = 0
munmap(0xf6fe7000, 47991)

[vchkpw] Imap Access Disabled

2007-06-12 Thread Navid rasi
hi 
i used Qmail Toaster great how to and install qmail+vpopmail+courier imap

pop3 and smtp works great but Courier IMAP has problem 
when is use telnet to test it it reporte that imap access is disabled fo users 
?!
telnet 127.0.0.1 143

* OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THRE
AD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION STARTTLS] Courier-IMAP ready. Copyr
ight 1998-2005 Double Precision, Inc.  See COPYING for distribution information.
a login [EMAIL PROTECTED] pass
a OK LOGIN Ok.
* BYE IMAP access disabled for this account.
Connection closed by foreign host.

i check my /var/log/maillog 
nothing reports?!
just like this 

Jun 12 05:48:43 Refatec-BWM authdaemond: stopping authdaemond children
Jun 12 05:48:45 Refatec-BWM authdaemond: modules=authvchkpw, daemons=5
Jun 12 05:48:45 Refatec-BWM authdaemond: Installing libauthvchkpw
Jun 12 05:48:45 Refatec-BWM authdaemond: Installation complete: authvchkpw
Jun 12 05:49:19 Refatec-BWM imapd: Connection, ip=[:::127.0.0.1]

i use fedora core 3 what is the problem ?


Re: [vchkpw] Imap Access Disabled

2007-06-12 Thread Navid rasi
Yes i use bill shupp and my service is running 


  is your auth services running? did u use the qmail toaster from bill shupp?

  just my 2 cents, 
  Remo

  Navid rasi wrote: 
hi 
i used Qmail Toaster great how to and install qmail+vpopmail+courier imap

pop3 and smtp works great but Courier IMAP has problem 
when is use telnet to test it it reporte that imap access is disabled fo users 
?!
telnet 127.0.0.1 143

* OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THRE
AD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION STARTTLS] Courier-IMAP ready. Copyr
ight 1998-2005 Double Precision, Inc.  See COPYING for distribution information.
a login [EMAIL PROTECTED] pass
a OK LOGIN Ok.
* BYE IMAP access disabled for this account.
Connection closed by foreign host.

i check my /var/log/maillog 
nothing reports?!
just like this 

Jun 12 05:48:43 Refatec-BWM authdaemond: stopping authdaemond children
Jun 12 05:48:45 Refatec-BWM authdaemond: modules=authvchkpw, daemons=5
Jun 12 05:48:45 Refatec-BWM authdaemond: Installing libauthvchkpw
Jun 12 05:48:45 Refatec-BWM authdaemond: Installation complete: authvchkpw
Jun 12 05:49:19 Refatec-BWM imapd: Connection, ip=[:::127.0.0.1]

i use fedora core 3 what is the problem ?


!DSPAM:466eaf1f282474275821350!

  

Re: [vchkpw] Imap Access Disabled

2007-06-12 Thread Navid rasi

did u run the --redhat switch during the installation of courier imap?

Remo
yes i compile with --with-redhat 

make and
strace
on courier-authlib.
you'll see when it get glibc error

sorry but how ?


Re: [vchkpw] Imap Access Disabled

2007-06-12 Thread Navid rasi

I use authmysql now and a hack in the authlib to bend permissions to
vpopmail.

can you help me how to switch to authmysql with vpopmail ?
i can do that before start using by my clients and making users  .