correct permissions /etc/dovecot ?

2017-08-15 Thread voytek
what permissions/ownership should /etc/dovecot/files have? keep seeing this error below, I can correct as per log, BUT, wanted first to check what it should be, rather than me 'fiddling' thanks, V SQL user is vmail first_valid_uid = 2000 last_valid_uid = 2000 # ls -al total 60 drwxr-xr-x 5 roo

Re: Cannot login with method=GSSAPI

2017-08-15 Thread Aki Tuomi
The disconnect (no auth attempts) means that the client did not see any reason to try logging in. You can use https://wiki.mozilla.org/MailNews:Logging to enable debug logging. Aki On 16.08.2017 09:50, Erik Haller wrote: > I am migrating an existing dovecot server to a new server. The existing

Cannot login with method=GSSAPI

2017-08-15 Thread Erik Haller
I am migrating an existing dovecot server to a new server. The existing server uses pam_krb5 and works with the plain and gssapi methods. The new server plain/pam_krb5 normal password authentication works. However, the gssapi (tickets) authentication is producing the following error: === Begin Err

Re: Failback mailboxes?

2017-08-15 Thread Dag Nygren
On Wednesday 16 August 2017 07:34:25 Steffen Kaiser wrote: > On Wed, 16 Aug 2017, Matt Bryant wrote: > > > hmm if message cannot be written to disk surely it remains on mda queue > > as not delviered and does not just disappear ? or am i reading this > > wrong ?! > > as Matt writes your MDA (aka

Re: v2.2.32 release candidate released

2017-08-15 Thread Alexey Asemov (Alex/AT)
Hello Timo, I am quite eager to test it, but I don't know if these changes can be applicable for my configuration (it is shared storage one, any mdbox on NFS can be accessed by multiple servers, I made it so it's mostly accessed by one, but at certain conditions multiple servers still access

Re: Failback mailboxes?

2017-08-15 Thread Dag Nygren
On Wednesday 16 August 2017 07:56:13 Matt Bryant wrote: > hmm if message cannot be written to disk surely it remains on mda queue > as not delviered and does not just disappear ? or am i reading this > wrong ?! That would be nice. ... I have the delivery chain postfix -> lda-dovecot and when post

Re: Question about mail_location

2017-08-15 Thread Aki Tuomi
On 16.08.2017 03:34, Laura Steynes wrote: > In using mysql, in the configuration file we need to specify, in the user > query, '/path/ as home, yet but in dovecot.conf, we also are setting > mail_location, the same thing is it not, so unless I've missed something, > do we still need to use the p

Re: Failback mailboxes?

2017-08-15 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 16 Aug 2017, Matt Bryant wrote: hmm if message cannot be written to disk surely it remains on mda queue as not delviered and does not just disappear ? or am i reading this wrong ?! as Matt writes your MDA (aka dovecot-lda) returns with an

Re: Question about mail_location

2017-08-15 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 16 Aug 2017, Laura Steynes wrote: In using mysql, in the configuration file we need to specify, in the user query, '/path/ as home, yet but in dovecot.conf, we also are setting mail_location, the same thing is it not, so unless I've missed

Question about mail_location

2017-08-15 Thread Laura Steynes
In using mysql, in the configuration file we need to specify, in the user query, '/path/ as home, yet but in dovecot.conf, we also are setting mail_location, the same thing is it not, so unless I've missed something, do we still need to use the path as home in the user query? Do we only need set t

Re: migrating 2.1 to 3.x, sql pass scheme, pass value?

2017-08-15 Thread voytek
On Wed, August 16, 2017 7:50 am, Noel Butler wrote: > On 15/08/2017 22:58, voy...@sbt.net.au wrote: > Use: CRYPT > This allows you to use whatever your system supports in your database > password fields, with modern OS's thats anything from md5 (shudder the > thought) to salted sha512 and proba

Re: namespace configuration error

2017-08-15 Thread Noel Butler
On 16/08/2017 04:31, Jeff Ross wrote: > namespace Snarf { > hidden = yes > list = no > location = mbox:/home/%u/mbox:INBOX=/var/spool/mail/%u:INDEX=MEMORY > prefix = ~~Snarfbox/ Is there supposed to be two tilde's here? (maybe perfectly valid, I haven't looked into it) > separator = / > } > nam

Re: Failback mailboxes?

2017-08-15 Thread Matt Bryant
hmm if message cannot be written to disk surely it remains on mda queue as not delviered and does not just disappear ? or am i reading this wrong ?! > Dag Nygren > 16 August 2017 at 7:14 am > Thanks for all the advice on how to configure systemd > not to loose my emails a

Re: migrating 2.1 to 3.x, sql pass scheme, pass value?

2017-08-15 Thread Noel Butler
On 15/08/2017 22:58, voy...@sbt.net.au wrote: > On Tue, August 15, 2017 10:27 pm, Noel Butler wrote: > >> HUH? >> Are you trying to login to mysql using the hash itself? > > Noel, thanks!! > > oops, misunderstood instruction... > > this is better: > > USER voy...@x.tld > +OK > PASS **

Re: Failback mailboxes?

2017-08-15 Thread Dag Nygren
Thanks for all the advice on how to configure systemd not to loose my emails after every update. Much appreciated. But there could be other reasons for the mailboxes not being writable and what I am really asking for is for dovecot-lda not to loose the incoming emails into thin air in these cases

v2.2.32 release candidate released

2017-08-15 Thread Timo Sirainen
https://dovecot.org/releases/2.2/rc/dovecot-2.2.32.rc1.tar.gz https://dovecot.org/releases/2.2/rc/dovecot-2.2.32.rc1.tar.gz.sig There are various changes in this release that can be used to significantly reduce disk IO with: 1) NFS storage especially, but I guess also other remote filesystems and

namespace configuration error

2017-08-15 Thread Jeff Ross
I've got a few errors I'm trying to track down, probably all related... Aug 15 14:03:14 xyzzy dovecot: imap-login: Login: user=, method=PLAIN, rip=100.8.22.62, lip=132.238.254.34, mpid=4803, TLS, session= Aug 15 14:03:14 xyzzy dovecot: imap(jeff): Error: namespace configuration error: Duplicate na

Re: migrating 2.1 to 3.x, sql pass scheme, pass value?

2017-08-15 Thread voytek
On Tue, August 15, 2017 10:27 pm, Noel Butler wrote: > HUH? > Are you trying to login to mysql using the hash itself? Noel, thanks!! oops, misunderstood instruction... this is better: USER voy...@x.tld +OK PASS ** +OK Logged in. LIST +OK 0 messages: > That wont work, and its not w

Re: migrating 2.1 to 3.x, sql pass scheme, pass value?

2017-08-15 Thread Noel Butler
On 15/08/2017 22:23, Noel Butler wrote: > On 15/08/2017 21:25, voy...@sbt.net.au wrote: > >> On Tue, August 15, 2017 8:03 pm, Sami Ketola wrote: >> On 15 Aug 2017, at 2.50, voy...@sbt.net.au wrote: >> >> how do I generate hashed string from my password ? >> use this sql command: >> >> GRANT SE

Re: migrating 2.1 to 3.x, sql pass scheme, pass value?

2017-08-15 Thread Noel Butler
On 15/08/2017 21:25, voy...@sbt.net.au wrote: > On Tue, August 15, 2017 8:03 pm, Sami Ketola wrote: > On 15 Aug 2017, at 2.50, voy...@sbt.net.au wrote: > > how do I generate hashed string from my password ? > use this sql command: > > GRANT SELECT ON vmail TO 'vmail'@'127.0.0.1' IDENTIFIED BY >

Re: migrating 2.1 to 3.x, sql pass scheme, pass value?

2017-08-15 Thread voytek
On Tue, August 15, 2017 9:31 pm, Ivan Warren wrote: > MariaDB [test]> GRANT SELECT on test to 'test'@'127.0.0.1' identified by > >> pasword('test1234'); ERROR 1064 (42000): You have an error in your SQL >> syntax; check the manual that corresponds to your MariaDB server version >> for the right syn

Re: migrating 2.1 to 3.x, sql pass scheme, pass value?

2017-08-15 Thread voytek
> the other one gives syntax error: > > MariaDB [(none)]> GRANT SELECT on test to 'test'@'127.0.0.1' identified > by pasword('test1234'); ERROR 1046 (3D000): No database selected > MariaDB [(none)]> use test; > Database changed > MariaDB [test]> GRANT SELECT on test to 'test'@'127.0.0.1' identifie

Re: migrating 2.1 to 3.x, sql pass scheme, pass value?

2017-08-15 Thread voytek
On Tue, August 15, 2017 8:03 pm, Sami Ketola wrote: > >> On 15 Aug 2017, at 2.50, voy...@sbt.net.au wrote: >> >> >> how do I generate hashed string from my password ? > > use this sql command: > > GRANT SELECT ON vmail TO ‘vmail’@‘127.0.0.1’ IDENTIFIED BY > PASSWORD(‘yourpassword’); > > > or if yo

Re: migrating 2.1 to 3.x, sql pass scheme, pass value?

2017-08-15 Thread Sami Ketola
> On 15 Aug 2017, at 2.50, voy...@sbt.net.au wrote: > > how do I generate hashed string from my password ? use this sql command: GRANT SELECT ON vmail TO ‘vmail’@‘127.0.0.1’ IDENTIFIED BY PASSWORD(‘yourpassword’); or if you just want to see the hash: SELECT PASSWORD(‘yourpassword’); Sami

Re: Metrics service

2017-08-15 Thread Sami Ketola
> On 14 Aug 2017, at 18.16, Matt Simpson wrote: > > >> On Aug 14, 2017, at 5:42 AM, Aki Tuomi wrote: >> >> Hi! >> >> We are open for any feedback, questions or comments for this service. >> > > Two questions. First one is I guess just a newbie configuration question. > My existing dovec