Another test, with:

exec /usr/local/bin/softlimit -m 3800000 \ /usr/local/bin/sslserver -u 89 -g
89 -v -R -H -l 0 0 995 ktrace -f /tmp/ktrace.out /var/qmail/bin/qmail-popup
\ nesys.it /home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir 2>&1

Now I've resolved the .tmp files problem. Now I haven't the
open-smtp.tmp<num>.
But my open-smtp is blank. It's fine that directory (as permissions)?

observe# ls -la
total 10
drwxr-xr-x  2 root      wheel   1024 Jan 15 01:24 .
drwxr-xr-x  8 root      wheel    512 Jan 12 01:10 ..
-rw-r--r--  1 root      wheel     25 Jan 12 12:13 inc_deps
-rw-r--r--  1 root      wheel     34 Jan 12 12:13 lib_deps
-rw-r--r--  1 vpopmail  vchkpw     0 Jan 15 00:40 open-smtp
-rw-r--r--  1 root      wheel      0 Jan 15 01:22 open-smtp.lock
-rw-r--r--  1 root      wheel    454 Jan 12 01:07 tcp.smtp
-rw-r--r--  1 root      wheel   2352 Jan 15 00:59 tcp.smtp.cdb
-rw-r--r--  1 vpopmail  vchkpw  1107 Jan 12 01:09 vlimits.default

My test
-------
Connect with Outlook --> 995, user [EMAIL PROTECTED], pass test
There's an email, I've downloaded that. But no roaming enabled.

Result
------
 31443 ktrace   RET   ktrace 0
 31443 ktrace   CALL  execve(0xcfbfd862,0xcfbfd800,0xcfbfd818)
 31443 ktrace   NAMI  "/var/qmail/bin/qmail-popup"
 31443 qmail-popup EMUL  "native"
 31443 qmail-popup RET   execve 0
 31443 qmail-popup CALL  open(0x10e5,0,0)
 31443 qmail-popup NAMI  "/usr/libexec/ld.so"
 31443 qmail-popup RET   open 3
 31443 qmail-popup CALL  read(0x3,0xcfbfda34,0x20)
 31443 qmail-popup GIO   fd 3 read 32 bytes
       "[EMAIL PROTECTED] \0\0\0\0\0\0\0\0\0\0
\0\0\0\0\0\0\0\0\0\0\0"
 31443 qmail-popup RET   read 32/0x20
 31443 qmail-popup CALL  mmap(0,0xf000,0x5,0x2,0x3,0,0,0)
 31443 qmail-popup RET   mmap 1073762304/0x40005000
 31443 qmail-popup CALL  mmap(0x40012000,0x2000,0x7,0x12,0x3,0,0xd000,0)
 31443 qmail-popup RET   mmap 1073815552/0x40012000
 31443 qmail-popup CALL  issetugid
 31443 qmail-popup RET   issetugid 0
 31443 qmail-popup CALL  __sysctl(0xcfbfd8a4,0x2,0x40013a08,0xcfbfd8a0,0,0)
 31443 qmail-popup RET   __sysctl 0
 31443 qmail-popup CALL  mmap(0,0x8000,0x3,0x1004,0xffffffff,0,0,0)
 31443 qmail-popup RET   mmap 1073823744/0x40014000
 31443 qmail-popup CALL  open(0x40006b74,0,0)
 31443 qmail-popup NAMI  "/var/run/ld.so.hints"
 31443 qmail-popup RET   open 4
 31443 qmail-popup CALL  fstat(0x4,0xcfbfd84c)
 31443 qmail-popup RET   fstat 0
 31443 qmail-popup CALL  mmap(0,0x1bcb,0x1,0x4,0x4,0,0,0)
 31443 qmail-popup RET   mmap 1073856512/0x4001c000
 31443 qmail-popup CALL  open(0x4001d093,0,0)
 31443 qmail-popup NAMI  "/usr/lib/libc.so.29.0"
 31443 qmail-popup RET   open 5
 31443 qmail-popup CALL  read(0x5,0xcfbfd92c,0x20)
 31443 qmail-popup GIO   fd 5 read 32 bytes
       "[EMAIL PROTECTED]
\0\0\0\0\0\0\0\0\0\0\0"
 31443 qmail-popup RET   read 32/0x20
 31443 qmail-popup CALL  mmap(0,0xbd6f0,0x5,0x4,0x5,0,0,0)
 31443 qmail-popup RET   mmap 1073864704/0x4001e000
 31443 qmail-popup CALL  mprotect(0x400a4000,0x9000,0x7)
 31443 qmail-popup RET   mprotect 0
 31443 qmail-popup CALL
mmap(0x400ad000,0x2e6f0,0x3,0x1014,0xffffffff,0,0,0)
 31443 qmail-popup RET   mmap 1074450432/0x400ad000
 31443 qmail-popup CALL  close(0x5)
 31443 qmail-popup RET   close 0
 31443 qmail-popup CALL  __sysctl(0xcfbfd854,0x2,0x400abb6c,0xcfbfd850,0,0)
 31443 qmail-popup RET   __sysctl 0
 31443 qmail-popup CALL  __sysctl(0xcfbfd854,0x2,0x400abb70,0xcfbfd850,0,0)
 31443 qmail-popup RET   __sysctl 0
 31443 qmail-popup CALL  __sysctl(0xcfbfd854,0x2,0x400abb74,0xcfbfd850,0,0)
 31443 qmail-popup RET   __sysctl 0
 31443 qmail-popup CALL  __sysctl(0xcfbfd854,0x2,0x400abb78,0xcfbfd850,0,0)
 31443 qmail-popup RET   __sysctl 0
 31443 qmail-popup CALL  __sysctl(0xcfbfd854,0x2,0x400abb7c,0xcfbfd850,0,0)
 31443 qmail-popup RET   __sysctl 0
 31443 qmail-popup CALL  __sysctl(0xcfbfd854,0x2,0x400abb80,0xcfbfd850,0,0)
 31443 qmail-popup RET   __sysctl 0
 31443 qmail-popup CALL  __sysctl(0xcfbfd854,0x2,0x400abb84,0xcfbfd850,0,0)
 31443 qmail-popup RET   __sysctl 0
 31443 qmail-popup CALL  __sysctl(0xcfbfd854,0x2,0x400abb88,0xcfbfd850,0,0)
 31443 qmail-popup RET   __sysctl 0
 31443 qmail-popup CALL  munmap(0x4001c000,0x1bcb)
 31443 qmail-popup RET   munmap 0
 31443 qmail-popup CALL  close(0x4)
 31443 qmail-popup RET   close 0
 31443 qmail-popup CALL  close(0x3)
 31443 qmail-popup RET   close 0
 31443 qmail-popup CALL  __sysctl(0xcfbfd9dc,0x2,0x400db6e8,0xcfbfd9d8,0,0)
 31443 qmail-popup RET   __sysctl 0
 31443 qmail-popup CALL  readlink(0x400655f6,0xcfbfd934,0x3f)
 31443 qmail-popup NAMI  "/etc/malloc.conf"
 31443 qmail-popup RET   readlink -1 errno 2 No such file or directory
 31443 qmail-popup CALL  issetugid
 31443 qmail-popup RET   issetugid 0
 31443 qmail-popup CALL  mmap(0,0x1000,0x3,0x1002,0xffffffff,0,0,0)
 31443 qmail-popup RET   mmap 1073856512/0x4001c000
 31443 qmail-popup CALL  break(0x5558)
 31443 qmail-popup RET   break 0
 31443 qmail-popup CALL  break(0x5558)
 31443 qmail-popup RET   break 0
 31443 qmail-popup CALL  break(0x7000)
 31443 qmail-popup RET   break 0
 31443 qmail-popup CALL  break(0x7000)
 31443 qmail-popup RET   break 0
 31443 qmail-popup CALL  break(0x8000)
 31443 qmail-popup RET   break 0
 31443 qmail-popup CALL  mmap(0,0x1000,0x3,0x1002,0xffffffff,0,0,0)
 31443 qmail-popup RET   mmap 1073860608/0x4001d000
 31443 qmail-popup CALL  mprotect(0x4001d000,0x1000,0x1)
 31443 qmail-popup RET   mprotect 0
 31443 qmail-popup CALL  mprotect(0x4001d000,0x1000,0x3)
 31443 qmail-popup RET   mprotect 0
 31443 qmail-popup CALL  mprotect(0x4001d000,0x1000,0x1)
 31443 qmail-popup RET   mprotect 0
 31443 qmail-popup CALL  sigaction(0xe,0xcfbfd9ec,0)
 31443 qmail-popup RET   sigaction 0
 31443 qmail-popup CALL  sigaction(0xd,0xcfbfd9ec,0)
 31443 qmail-popup RET   sigaction 0
 31443 qmail-popup CALL  getpid
 31443 qmail-popup RET   getpid 31443/0x7ad3
 31443 qmail-popup CALL  gettimeofday(0xcfbfd9c8,0)
 31443 qmail-popup RET   gettimeofday 0
 31443 qmail-popup CALL  select(0x2,0,0xcfbfd948,0,0xcfbfd940)
 31443 qmail-popup RET   select 1
 31443 qmail-popup CALL  write(0x1,0x54b8,0x21)
 31443 qmail-popup GIO   fd 1 wrote 33 bytes
       "+OK <[EMAIL PROTECTED]>\r
       "
 31443 qmail-popup RET   write 33/0x21
 31443 qmail-popup CALL  select(0x1,0xcfbfd908,0,0,0xcfbfd900)
 31443 qmail-popup RET   select 1
 31443 qmail-popup CALL  read(0,0x5338,0x80)
 31443 qmail-popup GIO   fd 0 read 20 bytes
       "USER [EMAIL PROTECTED]
       "
 31443 qmail-popup RET   read 20/0x14
 31443 qmail-popup CALL  select(0x2,0,0xcfbfd8e8,0,0xcfbfd8e0)
 31443 qmail-popup RET   select 1
 31443 qmail-popup CALL  write(0x1,0x54b8,0x6)
 31443 qmail-popup GIO   fd 1 wrote 6 bytes
       "+OK \r
       "
 31443 qmail-popup RET   write 6
 31443 qmail-popup CALL  select(0x1,0xcfbfd908,0,0,0xcfbfd900)
 31443 qmail-popup RET   select 1
 31443 qmail-popup CALL  read(0,0x5338,0x80)
 31443 qmail-popup GIO   fd 0 read 11 bytes
       "PASS test\r
       "
 31443 qmail-popup RET   read 11/0xb
 31443 qmail-popup CALL  fcntl(0x1,0x3,0)
 31443 qmail-popup RET   fcntl 2
 31443 qmail-popup CALL  close(0x2)
 31443 qmail-popup RET   close 0
 31443 qmail-popup CALL  fcntl(0x1,0,0x2)
 31443 qmail-popup RET   fcntl 2
 31443 qmail-popup CALL  close(0x3)
 31443 qmail-popup RET   close -1 errno 9 Bad file descriptor
 31443 qmail-popup CALL  pipe(0xcfbfd9c0)
 31443 qmail-popup RET   pipe 0
 31443 qmail-popup CALL  fork
 31443 qmail-popup RET   fork 12128/0x2f60
 31443 qmail-popup CALL  close(0x3)
 31443 qmail-popup RET   close 0
 31443 qmail-popup CALL  write(0x4,0x52b8,0x2f)
 31443 qmail-popup GIO   fd 4 wrote 47 bytes
       "[EMAIL PROTECTED]<[EMAIL PROTECTED]>\0"
 31443 qmail-popup RET   write 47/0x2f
 31443 qmail-popup CALL  close(0x4)
 31443 qmail-popup RET   close 0
 31443 qmail-popup CALL  wait4(0x2f60,0xcfbfd9bc,0,0)
 31443 qmail-popup RET   wait4 12128/0x2f60
 31443 qmail-popup CALL  exit(0x1)

Thank you very much for your advices
Regards
Andrea

Reply via email to