[11:55] Mmmmmh. iron-clad, locked down, systemd-cgroup-containerized, apparmored, unprivileged (no root master) nginx server running on Bionic. Tastes like a million dollars. With a side dish of occasional CVE corrosion in that iron, but eh... [11:56] Ooh! Ooh! Running atop of LUKS encrypted ZFS root. [13:55] can someone help me troubleshoot my mail server? I tried to configure postfix and courier with ldap, but thunderbird can't connect to a user I defined in ldap... no idea what debugging tools are available to pinpoint the problem. they are listening on 465 and 993 on all interfaces and I can open a TCP connection to these ports from the computer with thunderbird on it. [13:56] thunderbird supports ldap? i had no idea [14:02] compdoc: no, postfix and courier do [14:04] my problem description was crap. in thunderbird, I'm trying to add an ccount. I entered the smtp and imap hostnames, selected ssl/tls for both, but when I click on "Re-test" it says "Thunderbird failed to find the settings for your mail account" [14:05] seems like an odd error. like its trying to autoconfigure instead of accepting your settings [14:05] by the way, the reason I'm trying to set up courier is that "apt-get install dovecot" fails. the install scripts seem not to add some users and groups they should be adding... anyone know this problem? [14:05] I'm on LTS [14:07] anyway, Im no expert on ldap, and its early yet. hang out and ask again. maybe someone will know. mught also ask in ##networking [14:07] oh, when I manually select some auth options in thunderbird, the error message becomes "username or password invalid". I guess that's a step forward [14:07] ok thanks :) [14:10] taylan: begin with postfix and dovecot errors, they must've logged what went wrong [14:10] ohwait... courier.... [14:11] blackflow: see above: I couldn't install dovecot :( [14:11] taylan: ok one problem at a time. dovecot installed just fine here on bionic. dovecot-imapd thatis [14:12] it first erred out because the "dovecot" group didn't exist. I added it manually. then it said the user "dovenull" doesn't exist, and I didn't want to continue trying to fix things manually... [14:12] which package though? dovecot per se doesn't exist, you must be explicit about which compoentn you install [14:13] I think it was the core package that caused the errors already. let me retry. [14:13] bionic or xenial? because it just installed fine on bionic [14:14] silly question but what's the quickest way to find out? I think I'm on 16.04, whatever codename that has. [14:14] lsb_release -sc [14:14] thanks. xenial it is. [14:18] doesn't seem like anything like this has been reported for dovecot as bug. I wonder if there's a permission problem preventing install scripts from creating the group and the user [14:19] at any rate, dovecot is strongly recommended for postfix, especially for sasl. [14:20] I just found this: https://www.mail-archive.com/ubuntu-server-bugs@lists.ubuntu.com/msg147608.html [14:22] sadly the mails by the original reporter don't seem to be in the archive. the subsequent reply indicates that they were able to solve the problem somehow [14:23] status: Invalid, no wonder it didn't show for me in search [14:23] bug #1785584 [14:23] bug 1785584 in dovecot (Ubuntu) "package dovecot-core 1:2.2.33.2-1ubuntu4.1 failed to install/upgrade: installed dovecot-core package post-installation script subprocess returned error exit status 1" [Undecided,Invalid] https://launchpad.net/bugs/1785584 [14:24] ah neat, that has the full contents [14:26] hmm, it's not the same issue though. my /etc/group and /etc/passwd are clean. [14:35] oh damn, found the problem, and it's crazy [14:35] taylan: what is it? [14:36] I have a ~/bin/adduser and ~/bin in my PATH. it does something completely different than /usr/sbin/adduser [14:37] hmm, one could say 'apt-get' shouldn't be affected by that... anyway, I'll rename it. [14:44] taylan: it reminds me of the Dwarf Fortress game causing havoc in Debian, because its binary is `df` and was in PATH before /bin/df [14:44] hahaha [14:45] so now that you got to the root of it, pun intended, install dovecot. dovecot > courier, especially for sasl. then check the logs, enable auth verbosity for dovecot. [14:49] yeah, installed it already. checking out how to configure it for ldap