Re: Permission denied UNIX perms appear ok (ACL/MAC wrong?))

2022-08-30 Thread Aki Tuomi
If you are running gocryptfs with Dovecot, you need to ensure that Dovecot has access to the files even when you are not logged in. Perhaps gocryptfs is blocking access to processes not originating from your session? Aki > On 31/08/2022 07:14 EEST Austin Witmer wrote: > > > No, I am

Re: Permission denied UNIX perms appear ok (ACL/MAC wrong?))

2022-08-30 Thread Austin Witmer
No, I am manually mounting it when I start my server. I then start dovecot. Austin Witmer > On Aug 30, 2022, at 9:40 PM, pe...@chubb.wattle.id.au wrote: > >  >> >> "Austin" == Austin Witmer writes: > > > Austin> So, the location of my mail storage > Austin>

Re: Permission denied UNIX perms appear ok (ACL/MAC wrong?))

2022-08-30 Thread peter
> "Austin" == Austin Witmer writes: Austin> So, the location of my mail storage Austin> (/mnt/volume1/mailserver/plain/maildir/%d/%n/) is a filesystem Austin> mounted by gocryptfs. Do you think gocryptfs could be at fault Austin> here? Is it automounted? I've seen issues where dovecot

Re: multiple / backup sql servers for sql server access

2022-08-30 Thread Jack Snodgrass
I prefer to use a 2 db approach where I specify 2 different Database servers as opposed to HAproxy. I see on:

Re: where to setup virtual_mailbox_maps

2022-08-30 Thread dovecot
On 08-30-2022 9:36 pm, frakass wrote: I have a domain in virtual_mailbox_domains: aaa.com I have also the virtual_alias_domains which include: bbb.com I know how to forward x...@bbb.com to y...@aaa.com by setting up the file "virtual_alias_maps": x...@bbb.com y...@aaa.com But, how can I setup

where to setup virtual_mailbox_maps

2022-08-30 Thread frakass
Hello, I have a domain in virtual_mailbox_domains: aaa.com I have also the virtual_alias_domains which include: bbb.com I know how to forward x...@bbb.com to y...@aaa.com by setting up the file "virtual_alias_maps": x...@bbb.com y...@aaa.com (and run postmap after the changes.) But, how

Re: Permission denied UNIX perms appear ok (ACL/MAC wrong?))

2022-08-30 Thread Austin Witmer
See below . . . > On Aug 30, 2022, at 1:41 PM, spi wrote: > > > > Am 30.08.22 um 20:43 schrieb Austin Witmer: >> I’m am still getting the errors I mentioned previously. Maybe half a dozen >> of them per day . . . >> >> So, the location of my mail storage >>

Re: multiple / backup sql servers for sql server access

2022-08-30 Thread Brendan Kearney
presumably, you would have the same database parameters on different hosts, so only adding an additional "host=" parameter should suffice.  i would only add the additional parameters that are unique or different, and that should work. connect = "host= host= dbname= user= password=" sorry

Re: Permission denied UNIX perms appear ok (ACL/MAC wrong?))

2022-08-30 Thread spi
Am 30.08.22 um 20:43 schrieb Austin Witmer: I’m am still getting the errors I mentioned previously. Maybe half a dozen of them per day . . . So, the location of my mail storage (/mnt/volume1/mailserver/plain/maildir/%d/%n/) is a filesystem mounted by gocryptfs. Do you think gocryptfs could be

Re: Permission denied UNIX perms appear ok (ACL/MAC wrong?))

2022-08-30 Thread Austin Witmer
I’m am still getting the errors I mentioned previously. Maybe half a dozen of them per day . . . So, the location of my mail storage (/mnt/volume1/mailserver/plain/maildir/%d/%n/) is a filesystem mounted by gocryptfs. Do you think gocryptfs could be at fault here? Austin Witmer > On Aug 24,

Re: Dovecot mail-crypt webmail can't read encrypted messages

2022-08-30 Thread Serveria Support
That's exactly what I'm trying to do. Both userdb and passwdb are referring to dovecot-mysql.conf: userdb { args = /etc/dovecot/dovecot-mysql.conf driver = sql } passdb { args = /etc/dovecot/dovecot-mysql.conf driver = sql } dovecot-mysql.conf contains the following query only:

Re: Dovecot mail-crypt webmail can't read encrypted messages

2022-08-30 Thread Aki Tuomi
You need to return the private password in your passdb query, like SELECT '%w' AS userdb_mail_crypt_private_password ... not in your userdb query, as %w will not be available there. Aki > On 30/08/2022 15:33 EEST Serveria Support wrote: > > > Update: I managed to remove the master

Re: Dovecot mail-crypt webmail can't read encrypted messages

2022-08-30 Thread Serveria Support
Update: I managed to remove the master user query so users are not getting marked as master_user on login. However, that doesn't seem to affect anything. I'm still unable to read encoded emails in webmail. No new errors are showing up in the log. I have even created a brand new user and all

Re: multiple / backup sql servers for sql server access

2022-08-30 Thread Brendan Kearney
per https://doc.dovecot.org/configuration_manual/authentication/sql/, you can add more than one "host=" parameter in the "connect" directive, and leave dovecot to do round-robin load balancing. there will probably be a delay in processing while a failed database connection attempt times out.

Re: multiple / backup sql servers for sql server access

2022-08-30 Thread Sami Ketola
> On 30. Aug 2022, at 5.13, Jack Snodgrass wrote: > > > > I am using this file: > > dovecot-sql.conf.ext > > and in there I have a > > connect = "host= dbname= user= password=" > > > > My was down and I lost mail access for a few days before I > realized that there was an issue.