Re: banning, was Re: Non-user logins?

2022-01-08 Thread Ken Wright
On Sat, 2022-01-08 at 11:22 -0500, Dave McGuire wrote: >    I wasn't asking for a critique of my configuration; I explained my > approach to a new user who came here looking for help. > >    Which is the last time I'll do THAT on this list, by the way. Dave, on behalf of all the n00bs who come he

Re: Can't log in from Evolution or Roundcube

2022-01-08 Thread Ken Wright
On Sat, 2022-01-08 at 11:05 -0500, Dave McGuire wrote: > On 1/8/22 12:28 AM, Ken Wright wrote: > > > > > > When I try to log in to my mail server (ubuntu 20.04, > > > > > > Postfix 3.4.13, Dovecot 2.3.7.2) I get a response saying > > > > &g

Re: Can't log in from Evolution or Roundcube

2022-01-07 Thread Ken Wright
On Fri, 2022-01-07 at 23:59 -0500, Dave McGuire wrote: > On 1/7/22 11:58 PM, Ken Wright wrote: > > > > When I try to log in to my mail server (ubuntu 20.04, Postfix > > > > 3.4.13, Dovecot 2.3.7.2) I get a response saying "Source stream > > > > re

Re: Can't log in from Evolution or Roundcube

2022-01-07 Thread Ken Wright
On Fri, 2022-01-07 at 23:50 -0500, Dave McGuire wrote: > On 1/7/22 11:46 PM, Ken Wright wrote: > > When I try to log in to my mail server (ubuntu 20.04, Postfix > > 3.4.13, Dovecot 2.3.7.2) I get a response saying "Source stream > > returned no data”.  At least to m

Can't log in from Evolution or Roundcube

2022-01-07 Thread Ken Wright
When I try to log in to my mail server (ubuntu 20.04, Postfix 3.4.13, Dovecot 2.3.7.2) I get a response saying "Source stream returned no data”. At least to me, that's not particularly informative. Is it any more informative to anyone else? Ken

Re: Non-user logins?

2022-01-07 Thread Ken Wright
On Fri, 2022-01-07 at 23:27 -0500, Dave McGuire wrote: > On 1/7/22 11:24 PM, Ken Wright wrote: > > My Dovecot issues continue.  Right now I see at least two issues: > > first, my logs consistently show non-users trying (and failing) to > > log in, and I'm still unab

Non-user logins?

2022-01-07 Thread Ken Wright
My Dovecot issues continue. Right now I see at least two issues: first, my logs consistently show non-users trying (and failing) to log in, and I'm still unable to log in from my email client (Evolution or Roundcube, either one). I'll post about the second issue later; right now I wonder why I'm

Re: TLS connection closed unexpectedly

2022-01-07 Thread Ken Wright
On Fri, 2022-01-07 at 18:50 +0100, John Fawcett wrote: > > it may or may not be related to the tls issue, but I think you will > want to investigate that message about the SQL query syntax error. > You are not going to be able to login if the query is giving errors. > Check the log doesn't reveal

Re: TLS connection closed unexpectedly

2022-01-07 Thread Ken Wright
On Fri, 2022-01-07 at 10:02 +0100, Christian Kivalo wrote: > > > On January 7, 2022 9:51:20 AM GMT+01:00, Ken Wright > wrote: > > I reinstalled Dovecot this evening, because I haven't been able to > > receive emails recently.  After configuring and adjusting for t

TLS connection closed unexpectedly

2022-01-07 Thread Ken Wright
I reinstalled Dovecot this evening, because I haven't been able to receive emails recently. After configuring and adjusting for the use of PostfixAdmin, I get the following error message in Evolution:; Failed to open folder. The reported error was "Failed to authenticate: TLS connection closed un

Re: Doveadm auth test fails

2022-01-06 Thread Ken Wright
On Thu, 2022-01-06 at 14:05 -0800, Joseph Tam wrote: > On Wed, 5 Jan 2022, Ken Wright wrote: > > > Jan  5 22:09:30 grace dovecot: auth: Debug: client passdb out: > > FAIL#0111#011user=m...@mydomain.com > > Just a wild ass guess, but does your password backend expect "

Re: Doveadm auth test fails

2022-01-05 Thread Ken Wright
On Thu, 2022-01-06 at 04:46 +0100, John Fawcett wrote: > It looks like a mismatch between your dovecot and postfixadmin > password ARGON2I in dovecot and are using a MD5-crypt scheme in > postfixadmin. Therefore when you set the password in postfixadmin it > is saving the password with a different

Re: Doveadm auth test fails

2022-01-05 Thread Ken Wright
On Thu, 2022-01-06 at 03:44 +0100, John Fawcett wrote: > On 06/01/2022 01:16, Ken Wright wrote: > > I've been having trouble logging into my email server (postfix > > 3.4.13, dovecot 2.3.7.2, postfixadmin 3.3.8).  I decided to try the > > doveadm auth test, an

Doveadm auth test fails

2022-01-05 Thread Ken Wright
I've been having trouble logging into my email server (postfix 3.4.13, dovecot 2.3.7.2, postfixadmin 3.3.8). I decided to try the doveadm auth test, and got the following result: kwright@grace:~$ sudo doveadm auth test m...@mydomain.com Password: passdb: m...@mydomain.com auth failed extra field

Re: Doveadm auth fails

2022-01-04 Thread Ken Wright
On Tue, 2022-01-04 at 23:16 -0500, dove...@ptld.com wrote: > > Error: auth-client: conn unix:/var/run/dovecot/auth-client: > > connect(/var/run/dovecot/auth-client) failed: Permission denied > > (euid=1000(kwright) egid=1000(kwright) missing +r perm: > > > It might be failing you at the prompt be

Doveadm auth fails

2022-01-04 Thread Ken Wright
I'm still troubleshooting a faulty email server, and got the following results when I tried doveadm: kwright@grace:/etc/dovecot/conf.d$ doveadm auth lookup m...@mydomain.com Error: auth-master: passdb lookup(m...@mydomain.com): Auth PASS lookup failed Error: passdb lookup failed for m...@mydomain.

Stats-writer permission denied

2022-01-03 Thread Ken Wright
I've got a new Dovecot error (well, new to me, at least)! I ran tail /var/log/mail.err and got the following: net_connect_unix(/var/run/dovecot/stats-writer) failed: Permission denied I checked the file, and it's owned by www-data and the www-data group, with read and write permissions for owner

Client Passdb out

2022-01-03 Thread Ken Wright
I've been trying to log into Dovecot without success, and this is what I found in /var/log/mail.log: Jan 3 02:47:33 grace dovecot: auth: Debug: client passdb out: FAIL#0111#011user=m...@mydomain.com Jan 3 02:47:33 grace dovecot: imap-login: Disconnected (auth failed, 1 attempts in 6 secs): user=

Re: Can't connect to database

2022-01-02 Thread Ken Wright
On Mon, 2022-01-03 at 00:44 +0200, Aki Tuomi wrote: > Maybe MySQL is not running, or perhaps something is blocking > connecting to it? Check dmesg and (if on redhat based system) > /var/log/audit/audit.log When I ran systemctl status mysql, it tells me mariadb.service is active and running.

Can't connect to database

2022-01-02 Thread Ken Wright
Dovecot has been giving me problems for the past week or so. Today the error log showed me this: Jan 2 13:33:39 grace dovecot: auth-worker(3250): Error: mysql(localhost): Connect failed to database (postfix): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) -

Re: Permission denied

2022-01-01 Thread Ken Wright
On Thu, 2021-12-30 at 00:20 +0100, Christian Kivalo wrote: > The override.conf goes to /etc/systemd/system/dovecot.service.d/ to > be included. > Issue systemctl daemon-reload before restarting dovecot. > systemctl cat dovecot.service shows you the content of the involved > conf files Tried this,

Re: Permission denied

2021-12-29 Thread Ken Wright
On Wed, 2021-12-29 at 18:34 +0200, Aki Tuomi wrote: > > > On 29/12/2021 18:09 Ken Wright wrote: > >   > > On Wed, 2021-12-29 at 09:51 +0200, Aki Tuomi wrote: > > > > > > > On 29/12/2021 05:22 Ken Wright wrote: > > > > > > > >

Re: Permission denied

2021-12-29 Thread Ken Wright
On Wed, 2021-12-29 at 09:51 +0200, Aki Tuomi wrote: > > > On 29/12/2021 05:22 Ken Wright wrote: > > > > Any further information available upon request! > > Maybe systemd is blocking it? > > If systemd unit has ProtectSystem=strict or ProtectSystem=full

Permission denied

2021-12-28 Thread Ken Wright
My server has been running just fine for over a year, until I upgraded PostfixAdmin and somehow messed things up. Now I can't log in, and my mail client (Evolution, if it matters) keeps popping up an authentication request. The server is Ubuntu 20.04, my Dovecot is version 2.3.7.2, and Evolution

Re: MariaDB database for users and passwords?

2019-11-08 Thread Ken Wright via dovecot
On 11/8/19 3:40 PM, Alexander Dalloz via dovecot wrote: > Am 08.11.2019 um 21:23 schrieb Ken Wright via dovecot: >> >> On 11/8/19 3:14 PM, @lbutlr via dovecot wrote: >>> On 08 Nov 2019, at 11:56, Ken Wright wrote: >>>> Nov  8 13:28:53 grace dovecot: auth: Fa

Re: MariaDB database for users and passwords?

2019-11-08 Thread Ken Wright via dovecot
On 11/8/19 3:14 PM, @lbutlr via dovecot wrote: > On 08 Nov 2019, at 11:56, Ken Wright wrote: >> Nov 8 13:28:53 grace dovecot: auth: Fatal: Unknown passdb driver ‘ > You do not have Dovecot compiled with support for mysql' > But the dovecot-mysql package is installed! W

Re: MariaDB database for users and passwords?

2019-11-08 Thread Ken Wright via dovecot
On 11/8/19 2:52 PM, John Stoffel via dovecot wrote: >>>>>> "Ken" == Ken Wright via dovecot writes: >>>>>> >>>>>> Ken> Nov  8 13:28:53 grace dovecot: auth: Fatal: Unknown passdb driver >>>>>> 'mysql'

Re: MariaDB database for users and passwords?

2019-11-08 Thread Ken Wright via dovecot
On 11/8/19 1:05 PM, @lbutlr via dovecot wrote: > On 07 Nov 2019, at 23:00, Ken Wright wrote: >> I'm getting an error message saying "user unknown" when I send test >> emails to my server. > You need to look at the logs. Here's what I see: *** root@grace:/e

Re: MariaDB database for users and passwords?

2019-11-07 Thread Ken Wright via dovecot
On 11/7/19 3:26 AM, Ken Wright via dovecot wrote: > On 11/7/19 2:11 AM, Felix Zielcke via dovecot wrote: >> Am Mittwoch, den 06.11.2019, 22:23 -0500 schrieb Ken Wright via >> dovecot: >>> Greetings, All! >>> >>> I've got an email server set up with

Re: MariaDB database for users and passwords?

2019-11-07 Thread Ken Wright via dovecot
On 11/7/19 2:11 AM, Felix Zielcke via dovecot wrote: > Am Mittwoch, den 06.11.2019, 22:23 -0500 schrieb Ken Wright via > dovecot: >> Greetings, All! >> >> I've got an email server set up with Postfix and Dovecot, but Dovecot >> can't find any users.

MariaDB database for users and passwords?

2019-11-06 Thread Ken Wright via dovecot
Greetings, All! I've got an email server set up with Postfix and Dovecot, but Dovecot can't find any users.  I'd ilke to use the database I set up in MariaDB for users (referenced by Postfix), but I'm just not sure how to do it.  There's a line in dovecot.conf specifying /etc/dovecot/passwd.db, bu