Dovecot on FreeBSD 10.1

Søren Andersen SOAN at stofa.dk
Sat Mar 26 21:11:59 UTC 2016


Cool!

I tried to use truss -p $pidof dovecot process, and I got the following. - (Complete trace here: http://pastebin.com/pwL5EU3q)

For me it doesn't seem right. - Have you guys seen anything like this before?

read(55,"\0",64)				 = 1 (0x1)
sigprocmask(SIG_SETMASK,0x0,0x0)		 = 0 (0x0)
wait4(-1,{ EXITED,val=89 },WNOHANG,0x0)		 = 19061 (0x4a75)
write(59,"28 19061 DEFAULT-FATAL service(a"...,84) = 84 (0x54)
write(13,"KILL\t19061\n",11)			 = 11 (0xb)
write(59,"28 19061 BYE\n",13)			 = 13 (0xd)
sendto(6,"<19>Mar 26 22:05:15 dovecot: mas"...,105,0x0,NULL,0x0) = 105 (0x69)
accept(45,{ AF_UNIX "" },0x7fffffff983c)	 = 156 (0x9c)
close(156)					 = 0 (0x0)
accept(45,0x7fffffff9840,0x7fffffff983c)	 ERR#35 'Resource temporarily unavailable'
accept(46,0x7fffffff9840,0x7fffffff983c)	 ERR#35 'Resource temporarily unavailable'
accept(47,0x7fffffff9840,0x7fffffff983c)	 ERR#35 'Resource temporarily unavailable'
accept(48,0x7fffffff9840,0x7fffffff983c)	 ERR#35 'Resource temporarily unavailable'
accept(49,0x7fffffff9840,0x7fffffff983c)	 ERR#35 'Resource temporarily unavailable'
accept(50,0x7fffffff9840,0x7fffffff983c)	 ERR#35 'Resource temporarily unavailable'
accept(51,0x7fffffff9840,0x7fffffff983c)	 ERR#35 'Resource temporarily unavailable'
wait4(-1,{ SIGNALED,sig=SIGINT },WNOHANG,0x0)	 = 0 (0x0)
kevent(57,0x0,0,0x801464000,64,{31.999741000 })	 ERR#4 'Interrupted system call'
SIGNAL 20 (SIGCHLD)
write(56,"\0",1)				 = 1 (0x1)


 
/Søren

-----Original Message-----
From: Larry Rosenman [mailto:larryrtx at gmail.com] 
Sent: 25. marts 2016 19:46
To: Søren Andersen <SOAN at stofa.dk>
Cc: dovecot <dovecot at dovecot.org>
Subject: Dovecot on FreeBSD 10.1

I'll take a look when I get home

> Hi Larry, I’m getting this error: cat /var/log/maillog Mar 25 19:39:56 beastie dovecot: auth: Error: auth: environment corrupt; missing value for DOVECOT_ Mar 25 19:39:56 beastie dovecot: auth: Fatal: unsetenv(RESTRICT_SETUID) failed: Bad address Mar 25 19:39:56 beastie dovecot: master: Error: service(auth): command startup failed, throttling for 2 secs cat /var/log/dovecot-info.log Mar 25 19:39:41 auth: Debug: Loading modules from directory: /usr/local/lib/dovecot/auth Mar 25 19:39:41 auth: Debug: Read auth token secret from /var/run/dovecot/auth-token-secret.dat Mar 25 19:39:41 imap-login: Info: Disconnected: Auth process broken (disconnected before auth was ready, waited 0 secs): user=<>, rip=::1, lip=::1, secured, session= Mar 25 19:39:49 master: Info: Dovecot v2.2.22 (fe789d2) starting up for imap, lmtp Mar 25 19:39:56 auth: Debug: Loading modules from directory: /usr/local/lib/dovecot/auth Mar 25 19:39:56 auth: Debug: Wrote new auth token secret to /var/run/dovecot/auth-token-secret.dat Mar 25 19:39:56 imap-login: Info: Disconnected: Auth process broken (disconnected before auth was ready, waited 0 secs): user=<>, rip=::1, lip=::1, secured, session= I’m running mariadb100-server-10.0.23, and I tried to recompile every dependencies for dovecot, postfix, mariadb-server without any luck. /Søren


More information about the dovecot mailing list