Hi Larry,
I?m running dovecot2-2.2.22. ? I?ve tried to compile dovecot from the souce, and
I see the same error :/
Are you using sql auth in your setup?
root at beastie:/var/log # doveconf -n
# 2.2.22 (fe789d2): /usr/local/etc/dovecot/dovecot.conf
# Pigeonhole version 0.4.13 (7b14904)
# OS: FreeBSD 10.1-RELEASE-p6 amd64 zfs
auth_debug = yes
auth_debug_passwords = yes
auth_mechanisms = plain login
auth_verbose = yes
disable_plaintext_auth = no
hostname = beastie.***
info_log_path = /var/log/dovecot-info.log
mail_debug = yes
mail_location = maildir:/data/vmail/%d/%n
managesieve_notify_capability = mailto
managesieve_sieve_capability = fileinto reject envelope encoded-character
vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy
include variables body enotify environment mailbox date index ihave duplicate
mime foreverypart extracttext
namespace inbox {
inbox = yes
location mailbox Drafts {
special_use = \Drafts
}
mailbox Junk {
special_use = \Junk
}
mailbox Sent {
special_use = \Sent
}
mailbox "Sent Messages" {
special_use = \Sent
}
mailbox Trash {
special_use = \Trash
}
prefix }
passdb {
args = /usr/local/etc/dovecot/dovecot-sql.conf.ext
driver = sql
}
postmaster_address = postmaster@****
protocols = imap lmtp
service auth {
unix_listener /var/spool/postfix/private/auth {
group = postfix
mode = 0666
user = postfix
}
}
ssl = no
ssl_cert = </etc/ssl/certs/dovecot.pem
ssl_key = </etc/ssl/private/dovecot.pem
userdb {
args = uid=vmail gid=vmail home=/data/vmail/%d/%n
driver = static
}
verbose_proctitle = yes
verbose_ssl = yes
protocol lda {
mail_plugins }
/S?ren
From: Larry Rosenman [mailto:larryrtx at gmail.com]
Sent: 25. marts 2016 17:56
To: S?ren Andersen <SOAN at stofa.dk>
Cc: dovecot at dovecot.org
Subject: Re: Dovecot on FreeBSD 10.1
I'm running the latest dovecot2 port (and am the maintainer of
mail/dovecot2-pigeonhole). What version of dovecot are you
running? You should be using the ports version (mail/dovecot2).
It runs just fine out of the box. If you need help, ping me.
On Fri, Mar 25, 2016 at 11:20 AM, S?ren Andersen <SOAN at
stofa.dk<mailto:SOAN at stofa.dk>> wrote:
I'm experiencing the same problem as mentioned earlier in the mailing list.
- Is there some kind of workaround for this issue?
http://dovecot.org/pipermail/dovecot/2015-April/100549.html
/S?ren
--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 214-642-9640 (c) E-Mail: larryrtx at gmail.com<mailto:larryrtx
at gmail.com>
US Mail: 7011 W Parmer Ln, Apt 1115, Austin, TX 78729-6961
please give me the EXACT error you receive? And, what DB are you using? On Fri, Mar 25, 2016 at 1:32 PM, S?ren Andersen <SOAN at stofa.dk> wrote:> Hi Larry, > > > > I?m running dovecot2-2.2.22. ? I?ve tried to compile dovecot from the > souce, and I see the same error :/ > > > > Are you using sql auth in your setup? > > > > root at beastie:/var/log # doveconf -n > > # 2.2.22 (fe789d2): /usr/local/etc/dovecot/dovecot.conf > > # Pigeonhole version 0.4.13 (7b14904) > > # OS: FreeBSD 10.1-RELEASE-p6 amd64 zfs > > auth_debug = yes > > auth_debug_passwords = yes > > auth_mechanisms = plain login > > auth_verbose = yes > > disable_plaintext_auth = no > > hostname = beastie.*** > > info_log_path = /var/log/dovecot-info.log > > mail_debug = yes > > mail_location = maildir:/data/vmail/%d/%n > > managesieve_notify_capability = mailto > > managesieve_sieve_capability = fileinto reject envelope encoded-character > vacation subaddress comparator-i;ascii-numeric relational regex imap4flags > copy include variables body enotify environment mailbox date index ihave > duplicate mime foreverypart extracttext > > namespace inbox { > > inbox = yes > > location > > mailbox Drafts { > > special_use = \Drafts > > } > > mailbox Junk { > > special_use = \Junk > > } > > mailbox Sent { > > special_use = \Sent > > } > > mailbox "Sent Messages" { > > special_use = \Sent > > } > > mailbox Trash { > > special_use = \Trash > > } > > prefix > > } > > passdb { > > args = /usr/local/etc/dovecot/dovecot-sql.conf.ext > > driver = sql > > } > > postmaster_address = postmaster@**** > > protocols = imap lmtp > > service auth { > > unix_listener /var/spool/postfix/private/auth { > > group = postfix > > mode = 0666 > > user = postfix > > } > > } > > ssl = no > > ssl_cert = </etc/ssl/certs/dovecot.pem > > ssl_key = </etc/ssl/private/dovecot.pem > > userdb { > > args = uid=vmail gid=vmail home=/data/vmail/%d/%n > > driver = static > > } > > verbose_proctitle = yes > > verbose_ssl = yes > > protocol lda { > > mail_plugins > > } > > > > /S?ren > > > > *From:* Larry Rosenman [mailto:larryrtx at gmail.com] > *Sent:* 25. marts 2016 17:56 > *To:* S?ren Andersen <SOAN at stofa.dk> > *Cc:* dovecot at dovecot.org > *Subject:* Re: Dovecot on FreeBSD 10.1 > > > > I'm running the latest dovecot2 port (and am the maintainer of > mail/dovecot2-pigeonhole). What version of dovecot are you > > running? You should be using the ports version (mail/dovecot2). > > > > It runs just fine out of the box. If you need help, ping me. > > > > > > On Fri, Mar 25, 2016 at 11:20 AM, S?ren Andersen <SOAN at stofa.dk> wrote: > > I'm experiencing the same problem as mentioned earlier in the mailing > list. - Is there some kind of workaround for this issue? > > http://dovecot.org/pipermail/dovecot/2015-April/100549.html > > > /S?ren > > > > > > -- > > Larry Rosenman http://www.lerctr.org/~ler > Phone: +1 214-642-9640 (c) E-Mail: larryrtx at gmail.com > US Mail: 7011 W Parmer Ln, Apt 1115, Austin, TX 78729-6961 >-- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 214-642-9640 (c) E-Mail: larryrtx at gmail.com US Mail: 7011 W Parmer Ln, Apt 1115, Austin, TX 78729-6961
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
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