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: 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

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

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,

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: 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.

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=

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

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.

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 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 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

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-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 "

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: 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

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

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: 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

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: 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

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-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: 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

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

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.

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-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-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 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 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: Dovecot 2.4.0 fails to start with exit code 89

2025-02-09 Thread Ken Wright via dovecot
On Sun, 2025-02-09 at 23:24 +0200, Aki Tuomi wrote: > >   > > > > > On 09/02/2025 22:33 EET Ken Wright via dovecot > > wrote: > > > >   > > > >   > > > > I've been trying to upgrade to 2.4.0. I've g

How do I change the password encryption scheme?

2025-02-09 Thread Ken Wright via dovecot
Still working through difficulties upgrading to Dovecot 2.4. Right now I'm having trouble getting my mail client (Evolution) to connect; I keep getting "temporary authentication failures." Before upgrading I was using the ARGON2I encryption scheme, so all my users' passwords are stored that way.

Dovecot 2.4.0 fails to start with exit code 89

2025-02-09 Thread Ken Wright via dovecot
I've been trying to upgrade to 2.4.0. I've gone through the conf files, changing variables per the upgrade instructions. When I try to run sudo systemctl start dovecot.service, I get error 89. Journalctl shows me the error in question is "File name too long." I think it's coming from where 10-s

Mustiple domains

2025-02-10 Thread Ken Wright via dovecot
I host two email servers, example1.com and example2.net. How can I configure Dovecot 2.4 to distinguish between the two? Ken ___ dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-le...@dovecot.org

Re: Bad Signature - Mustiple domains

2025-02-10 Thread Ken Wright via dovecot
> I think you need proxy solution on top of dovecot, e.g create two > > subdomains allocating one for each server and configure dovecot > > with > > each, and use haproxy to forward each subdomain requests to each > > server > > mta or mail server(imap, pop3) i.e. d

Re: Bad Signature - Mustiple domains

2025-02-11 Thread Ken Wright via dovecot
On Tue, 2025-02-11 at 10:14 +0200, Timo Sirainen wrote: > On 11. Feb 2025, at 2.09, Ken Wright via dovecot > wrote: > > > > Sorry, I sent that this morning just before running off to my job. > > Here's the section of dovecot.conf that I'm working on:

Re: Bad Signature - Multiple domains

2025-02-13 Thread Ken Wright via dovecot
On Thu, 2025-02-13 at 07:55 +0200, Timo Sirainen wrote: > On 13. Feb 2025, at 1.42, Ken Wright wrote: > > > > > > On Wed, 2025-02-12 at 07:32 +0200, Aki Tuomi wrote: > > > Do you have something under conf.d? > > > > > > Here are all the fi

Userdb lookup problems

2025-02-14 Thread Ken Wright via dovecot
I finally got my new Dovecot 2.4 installation going to the point I can log in from Evolution, but for some reason it won't accept my password. Here are the pertinent sections from the dovecot.conf, 10-mail.conf, and dovecot-sql.conf.ext files: dovecot.conf: userdb sql { query = SELECT home, uid

Re: Userdb lookup problems

2025-02-15 Thread Ken Wright via dovecot
On Sat, 2025-02-15 at 20:24 +0200, Aki Tuomi wrote: > >   > > > > > On 15/02/2025 18:29 EET Ken Wright via dovecot > > wrote: > > > >   > > > >   > > > > On Sat, 2025-02-15 at 17:53 +0200, Aki Tuomi wrote: > &g

Re: Userdb lookup problems

2025-02-15 Thread Ken Wright via dovecot
On Sat, 2025-02-15 at 18:31 -0500, Doug via dovecot wrote: > " Access denied for user.. 'dovecot'@'localhost' " > > Is a mysql error. mysql isn't allowing the user dovecot to open the > database to run your SQL query.  Until you can open the database, you > aren't even retrieving the account pass

Re: Bad Signature - Multiple domains

2025-02-11 Thread Ken Wright via dovecot
somewhere before the section with the cert files, but I don't see any. Does anyone see what I've missed? Ken On Tue, 2025-02-11 at 10:14 +0200, Timo Sirainen wrote: > On 11. Feb 2025, at 2.09, Ken Wright via dovecot > wrote: > > > > Sorry, I sent that this morning j

Re: Userdb lookup problems

2025-02-15 Thread Ken Wright via dovecot
On Sat, 2025-02-15 at 08:59 +0200, Timo Sirainen wrote: > On 15. Feb 2025, at 0.06, Ken Wright via dovecot > wrote: > > > > driver = mysql > > connect = host=localhost dbname=postfixadmin user=postfixadmin > > password=hidden > > userdb_default_password

Re: Userdb lookup problems

2025-02-15 Thread Ken Wright via dovecot
On Sat, 2025-02-15 at 17:53 +0200, Aki Tuomi wrote: > > > On 15/02/2025 17:39 EET Ken Wright via dovecot > > wrote: > > > >   > > On Sat, 2025-02-15 at 08:59 +0200, Timo Sirainen wrote: > > > On 15. Feb 2025, at 0.06, Ken Wright via dovecot > >

Can someone explain this to me, please?

2025-02-18 Thread Ken Wright via dovecot
The last time I checked my mail.log I found the following line: 2025-02-18T22:41:31.175798-05:00 grace dovecot: imap-login: Login aborted: Connection closed (auth failed, 1 attempts in 8 secs) (auth_failed): user=, method=PLAIN, rip=192.168.1.1, lip=192.168.1.10, TLS, session= Is this a password

Re: Userdb lookup problems

2025-02-17 Thread Ken Wright via dovecot
On Mon, 2025-02-17 at 15:49 +0200, Timo Sirainen wrote: On 16. Feb 2025, at 17.03, Ken Wright via dovecot wrote: mysql localhost {   user = something   password = MYPASSWORD   dbname = something } .. According to the logs

Re: Instructions for upgrading to a newer version returns 404

2025-03-13 Thread Ken Wright via dovecot
Try this link:  https://doc.dovecot.org/2.4.0/installation/upgrade/2.3-to-2.4.html On Mon, 2025-03-10 at 16:42 +, Jose Celestino via dovecot wrote: > Hi, > > https://doc.dovecot.org/2.4.0/installation/upgrading.html > > returns a 404. > > Best regards, > José Celestino > >

Re: Bad Signature - Multiple domains

2025-02-12 Thread Ken Wright via dovecot
On Wed, 2025-02-12 at 07:32 +0200, Aki Tuomi wrote: > > Do you have something under conf.d? Here are all the files under conf.d with almost all the superfluous comments deleted. 10-auth.conf: passdb sql { query = SELECT username AS user, password FROM mailbox WHERE username = '%{user}' AND act

Re: Userdb lookup problems

2025-02-16 Thread Ken Wright via dovecot
On Sun, 2025-02-16 at 09:30 +0200, Timo Sirainen wrote: > On 16. Feb 2025, at 6.33, Ken Wright via dovecot > wrote: > > > > On Sat, 2025-02-15 at 18:31 -0500, Doug via dovecot wrote: > > > " Access denied for user.. 'dovecot'@'localhost' "