[Dovecot] Re: Alpha4 pre-release, please upgrade

Mark Plaksin happy at usg.edu
Thu Oct 20 15:04:32 EEST 2005


Timo Sirainen <tss at iki.fi> writes:

> On Wed, 2005-10-19 at 23:45 -0400, Glenn Leavell wrote:
>
>> Does it make sense for him
>> to have to set these environment variables, or should PREAUTH imap read
>> dovecot.conf for relevent settings?
>
> "dovecot --exec-mail imap" reads the configuration file and executes the
> imap process. That's how it should be done. Although for some reason it
> doesn't seem to set MAIL environment right at least with me. Have to
> look at that..

This doesn't work at all for me (I'm the tester :)  I get "PREAUTH" and the
CAPABILITY string and then it dies as soon as I hit enter (whether or not
I type an IMAP command).  The end of the 'truss -f' output is below.  It
can't seem to find its pipes or socks.

25759:  open("/usr/platform/SUNW,Sun-Fire-280R/lib/libc_psr.so.1", O_RDONLY) = 3
25759:  mmap(0xFF3A0000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 
0xFF3A0000
25759:  close(3)                                        = 0
25759:  getustack(0xFFBFF35C)
25759:  getrlimit(RLIMIT_STACK, 0xFFBFF354)             = 0
25759:  getcontext(0xFFBFF190)
25759:  setustack(0xFF143A5C)
25759:  sysconfig(_CONFIG_SEM_VALUE_MAX)                = 2147483647
25759:  getuid()                                        = 115 [115]
25759:  time()                                          = 1129809582
25759:  brk(0x000A5810)                                 = 0
25759:  brk(0x000AF810)                                 = 0
25759:  uname(0xFFBFF0F8)                               = 1
25759:  getpid()                                        = 25759 [25758]
25759:  open64("/dev/urandom", O_RDONLY)                = 3
25759:  read(3, "C3EF IDC", 4)                          = 4
25759:  fcntl(3, F_GETFD, 0x00000000)                   = 0
25759:  fcntl(3, F_SETFD, 0x00000001)                   = 0
25759:  brk(0x000AF810)                                 = 0
25759:  brk(0x000B1810)                                 = 0
25759:  sigaction(SIGINT, 0xFFBFF5C0, 0x00000000)       = 0
25759:  pipe()                                          = 4 [5]
25759:  fcntl(4, F_GETFD, 0x00000000)                   = 0
25759:  fcntl(4, F_SETFD, 0x00000001)                   = 0
25759:  fcntl(5, F_GETFD, 0x00000000)                   = 0
25759:  fcntl(5, F_SETFD, 0x00000001)                   = 0
25759:  sigaction(SIGTERM, 0xFFBFF5C0, 0x00000000)      = 0
25759:  sigaction(SIGPIPE, 0xFFBFF5C0, 0x00000000)      = 0
25759:  lstat64("/home/happy/Mail", 0xFFBFF4C8)         = 0
25759:  lstat64("/home/happy/Mail", 0xFFBFF4C8)         = 0
25759:  lstat64("/home/happy/Mail", 0xFFBFF4C8)         = 0
25759:  fcntl(0, F_GETFL, 0x00000000)                   = 2
25759:  fcntl(0, F_SETFL, 0x00000082)                   = 0
25759:  fcntl(1, F_GETFL, 0x00000000)                   = 130
25759:  fcntl(1, F_SETFL, 0x00000082)                   = 0
25759:  fstat64(0, 0xFFBFF550)                          = 0
25759:  llseek(1, 0, SEEK_CUR)                          Err#29 ESPIPE
25759:  getsockname(1, 0xFFBFF4D0, 0xFFBFF4CC, 1)       = 0
25759:  brk(0x000B1810)                                 = 0
25759:  brk(0x000B3810)                                 = 0
25759:  brk(0x000B3810)                                 = 0
25759:  brk(0x000B5810)                                 = 0
25759:  brk(0x000B5810)                                 = 0
25759:  brk(0x000B7810)                                 = 0
25760:  poll(0x0003B7C0, 2, 2147483647)                 = 1
25759:  write(1, " *   P R E A U T H   [ C".., 146)     = 146
25760:  recv(5, " *   P R E A U T H   [ C".., 1024, 0)  = 146
25760:  write(1, " *   P R E A U T H   [ C".., 146)     = 146
25760:  write(4, " *   O K   [ R A W L O G".., 44)      = 44
25760:  write(4, " *   P R E A U T H   [ C".., 146)     = 146
25760:  poll(0x0003B7C0, 2, 2147483647) (sleeping...)
25759:  poll(0x000AF228, 2, 9995)       (sleeping...)
25759:  poll(0x000AF228, 2, 9995)                       = 0
25759:  poll(0x000AF228, 2, 0)                          = 0
25759:  poll(0x000AF228, 2, 9999)       (sleeping...)
25759:  poll(0x000AF228, 2, 9999)                       = 0
25759:  poll(0x000AF228, 2, 0)                          = 0
25760:  poll(0x0003B7C0, 2, 2147483647)                 = 1
25760:  recv(0, 0xFFBFF068, 1024, 0)                    Err#95 ENOTSOCK
25760:  close(3)                                        = 0
25760:  close(4)                                        = 0
25760:  close(0)                                        = 0
25760:  close(1)                                        = 0
25759:  poll(0x000AF228, 2, 9999)                       = 1
25760:  close(5)                                        = 0
25759:  read(0, 0x000B6278, 4096)                       = 0
25759:  close(3)                                        = 0
25759:  close(4)                                        = 0
25759:  close(5)                                        = 0
25760:  _exit(0)
25759:  _exit(0)



More information about the dovecot mailing list