Hi,
I've installed Dovecot on a freshly installed machine running Freebsd 13.4.
Configuration was copied from an earlier installation, which worked perfectly, until I screwed an update.
AFAICS things are working, except replication. I see tons of Errors on the remote and the local machine
Oct 31 16:15:30 freebsd dovecot[3248]: doveadm(xxx@xx.de): Fatal: connect(213.239.197.36:54321) failed: Interrupted system call
and some
Oct 31 16:47:33 freebsd dovecot[5509]: auth:
cram-md5(xxx@xx.de,176.199.241.57,
Oct 31 16:47:28 freebsd dovecot[5509]: doveadm(xxx@yy.de): Fatal: connect(213.239.197.36:54321) failed: Connection refused
and we also get
Oct 31 18:17:17 freebsd dovecot[934]:
imap(xxx@wxxx.de)<1649>
not to forget
Oct 31 18:18:33 freebsd dovecot[934]: doveadm(xxx@xxx): Fatal: connect(213.239.197.36:54321) failed: Connection refused
Users are authenticating with ldap.
I'm clueless, and I don't have any clue, if it is a misconfiguration of dovecot or my freebsd-install.
Any ideas appreciated
Here is the output of doveconf -n
# 2.3.17 (e2aa53df5b): /usr/local/etc/dovecot/dovecot.conf
# Pigeonhole version 0.5.17 (054dddfa)
# OS: FreeBSD 13.0-RELEASE-p4 amd64
# Hostname: freebsd.bruecko.de
auth_mechanisms = plain login digest-md5 cram-md5 apop
auth_username_chars = abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890+.-_@
auth_verbose = yes
doveadm_password = # hidden, use -P to show it
doveadm_port = 54321
lda_mailbox_autocreate = yes
lda_mailbox_autosubscribe = yes
lda_original_recipient_header = X-Original-To
lmtp_save_to_detail_mailbox = yes
mail_location = mdbox:~/mdbox
mail_plugins = " quota fts fts_xapian trash zlib notify replication acl"
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 {
hidden = no
ignore_on_failure = no
inbox = no
list = children
location = mdbox:%%h/mdbox
prefix = shared/%%u/
separator = /
subscriptions = yes
type = shared
}
namespace {
location = mdbox:/virtualmail/public:INDEXPVT=%h/mdbox/Public
prefix = Public/
separator = /
subscriptions = yes
type = public
}
namespace inbox {
inbox = yes
location =
mailbox Drafts {
auto = subscribe
special_use = \Drafts
}
mailbox Sent {
auto = subscribe
special_use = \Sent
}
mailbox "Sent Messages" {
special_use = \Sent
}
mailbox Trash {
auto = subscribe
special_use = \Trash
}
prefix = INBOX/
separator = /
}
passdb {
args = /usr/local/etc/dovecot/master-users
driver = passwd-file
master = yes
pass = yes
}
passdb {
args = /usr/local/etc/dovecot/dovecot-ldap.conf.ext
driver = ldap
}
plugin {
acl = vfile
acl_anyone = allow
acl_shared_dict = file:/virtualmail/shared-mailboxes.db
fts = xapian
fts_autoindex = yes
fts_autoindex_exclude = \Trash
fts_enforced = yes
fts_xapian = partial=3 full=20 verbose=0
mail_replica = tcps:mail.bruecko.de
quota = dict:User quota::file:%h/dovecot-quota
quota_exceeded_message = Storage quota for this account has been exceeded, please try again later.
quota_grace = 250M
quota_rule = *:storage=2500M
quota_rule2 = INBOX/Trash:storage=+10%%
quota_status_nouser = DUNNO
quota_status_overquota = 552 5.2.2 Mailbox is full / Mailbox ist voll
quota_status_success = DUNNO
quota_warning = storage=95%% quota-warning 95 %u
quota_warning2 = storage=80%% quota-warning 80 %u
quota_warning3 = storage=75%% quota-warning 75 %u
sieve = ~/dovecot.sieve
sieve_dir = ~/sieve
sieve_global_dir = /virtualmail
sieve_max_actions = 0
sieve_max_redirects = 128
sieve_max_script_size = 0
sieve_quota_max_scripts = 0
trash = /usr/local/etc/dovecot/dovecot-trash.conf.ext
}
postmaster_address = admin@bruecko.de
protocols = imap pop3 lmtp sieve
replication_dsync_parameters = -d -N -l 30 -U -x Public
service aggregator {
fifo_listener replication-notify-fifo {
user = vmail
}
unix_listener replication-notify {
user = vmail
}
}
service auth {
unix_listener /var/spool/postfix/private/auth {
mode = 0666
}
unix_listener auth-userdb {
group = vmail
user = vmail
}
}
service decode2text {
executable = script /usr/local/libexec/dovecot/decode2text.sh
unix_listener decode2text {
mode = 0666
}
user = dovecot
}
service doveadm {
inet_listener {
port = 54321
ssl = yes
}
vsz_limit = 0
}
service imap-login {
inet_listener imap {
port = 143
}
inet_listener imaps {
port = 993
ssl = yes
}
}
service indexer-worker {
vsz_limit = 2 G
}
service lmtp {
inet_listener lmtp {
address = 127.0.0.1
port = 24
}
user = vmail
}
service managesieve-login {
inet_listener sieve {
port = 4190
}
inet_listener sieve_deprecated {
port = 2000
}
}
service pop3-login {
inet_listener pop3 {
port = 110
}
inet_listener pop3s {
port = 995
ssl = yes
}
}
service quota-status {
client_limit = 1
executable = quota-status -p postfix
inet_listener {
port = 12340
}
}
service quota-warning {
executable = script /usr/local/bin/quota-warning.sh
unix_listener quota-warning {
user = vmail
}
user = vmail
}
service replicator {
process_min_avail = 1
unix_listener replicator-doveadm {
mode = 0666
}
}
ssl_cert =
Regards
Hanns
Hi, me again,
Hanns Mattes hanns@hannsmattes.de schrieb:
I stand corrected and forgot to remove
things are working, except replication.
no, they don't.
Regards Hanns
Hi,
Am 31.10.21 um 18:30 schrieb Hanns Mattes:
Hi, me again, Hanns Mattes hanns@hannsmattes.de schrieb: I stand corrected and forgot to remove
things are working, except replication. no, they don't.
okay, imap logins are working again.
Replication still failing. My guess is, that my master-user configuration is the culprit.
Any Ideas?
Regards
does 2.3.17_1 from ports fix the problem?
On 01.11.21 00:01, Hanns Mattes wrote:
Hi,
Am 31.10.21 um 18:30 schrieb Hanns Mattes:
Hi, me again, Hanns Matteshanns@hannsmattes.de schrieb: I stand corrected and forgot to remove
things are working, except replication. no, they don't. okay, imap logins are working again.
Replication still failing. My guess is, that my master-user configuration is the culprit.
Any Ideas?
Regards
Hi,
Am 01.11.21 um 00:27 schrieb infoomatic:
does 2.3.17_1 from ports fix the problem?
I'm building own packages with poudriere and "pkg info dovecot" says it's 2.3.17_1
Given the fact that this version is dated 2021-10-28 I'm not sure, if its part of the problem or the solution.
Regards Hanns
Hi,
Am 01.11.21 um 00:51 schrieb Hanns Mattes:
Hi,
Am 01.11.21 um 00:27 schrieb infoomatic:
does 2.3.17_1 from ports fix the problem?
I'm building own packages with poudriere and "pkg info dovecot" says it's 2.3.17_1
Given the fact that this version is dated 2021-10-28 I'm not sure, if its part of the problem or the solution.
I'll do a complete reinstallation of the server, there are obviously more problems. For example: I can ssh to both servers (and i can connect from them to my server at home) but they refuse to talk to each other. Same with telnet etc. No idea why, so I'll start over and recheck things.
Regards Hanns
please inform the mailing list if problems persist, thank you!
I am about to migrate to FreeBSD ...
On 01.11.21 13:53, Hanns Mattes wrote:
Hi,
Am 01.11.21 um 00:51 schrieb Hanns Mattes:
Hi,
Am 01.11.21 um 00:27 schrieb infoomatic:
does 2.3.17_1 from ports fix the problem? I'm building own packages with poudriere and "pkg info dovecot" says it's 2.3.17_1
Given the fact that this version is dated 2021-10-28 I'm not sure, if its part of the problem or the solution.
I'll do a complete reinstallation of the server, there are obviously more problems. For example: I can ssh to both servers (and i can connect from them to my server at home) but they refuse to talk to each other. Same with telnet etc. No idea why, so I'll start over and recheck things.
Regards Hanns
Hi,
Am 01.11.21 um 18:00 schrieb infoomatic:
please inform the mailing list if problems persist, thank you!
I am about to migrate to FreeBSD ...
it does. Fresh install with a config, that used to work:
# doveadm sync -u xxx@zzz.de tcps:mail.bruecko.de doveadm(xxx@zzz.de): Panic: file array.c: line 10 (array_idx_modifiable_i): assertion failed: (idx < array->buffer->used / array->element_size) Abort
I'm clueless.
Regards Hanns
participants (2)
-
Hanns Mattes
-
infoomatic