RE: Dovecot proxy with ldap, complains about 'host not given'

2019-11-24 Thread Marc Roos via dovecot
My query? Is dovecot not getting this field automatically? -Original Message- Subject: Re: Dovecot proxy with ldap, complains about 'host not given' On 23 Nov 2019, at 16:11, Marc Roos wrote: > It looks like the dovecot proxy can authenticate correctly but fails > then on with this

RE: Dovecot proxy with ldap, complains about 'host not given'

2019-11-24 Thread Aki Tuomi via dovecot
You need to specify fields you want. Fields are not imported automatically. See https://doc.dovecot.org/configuration_manual/authentication/ldap/ Aki On 24/11/2019 11:34 Marc Roos via dovecot < dovecot@dovecot.org> wrote:

RE: Dovecot proxy with ldap, complains about 'host not given'

2019-11-24 Thread Marc Roos via dovecot
Thanks!! Added this. pass_attrs = uid=user,userPassword=password,host=host -Original Message- Subject: RE: Dovecot proxy with ldap, complains about 'host not given' You need to specify fields you want. Fields are not imported automatically. See https://doc.dovecot.org/configuratio

Virtual mailboxes: errors after renaming a folder

2019-11-24 Thread André Rodier via dovecot
Hello, I have a dovecot server, running fine, on Debian Stretch. Virtual folders are set up, and works correctly. For instance, I have Unread, All and Conversations, and everything works fine. However, when I rename a folder, I have error messages from Dovecot. For instance, I had a folder INBOX

Re: [Sieve] Multiple email recipients, how?

2019-11-24 Thread Tom Hendrikx via dovecot
On 23-11-19 18:40, Ralph Seichter via dovecot wrote: * Tom Hendrikx via dovecot: There are nice tricks you can do with virtual alias maps and pcre within postfix to split email to specific user accounts, which could also accommodate other alias schemes than standard subaddressing (such as yo

Health check curl example

2019-11-24 Thread Marc Roos via dovecot
I am not understanding how this health check[1] script should work. From the commandline it works fine when I type a PING I get a PONG. But how do I do a curl to this 5001 port? Tried something like this: bash-5.0# curl http://localhost:5001/ curl: (56) Recv failure: Connection reset by peer

Re: Health check curl example

2019-11-24 Thread Aki Tuomi via dovecot
Your health check script should implement HTTP protocol. Then you can use passthrough mode and use cURL.  The provided script does not speak HTTP. Aki On 24/11/2019 15:12 Marc Roos via dovecot < dovecot@dovecot.org> wrote:

RE: Health check curl example

2019-11-24 Thread Marc Roos via dovecot
I think I already have that, I am having this configured service health-check { # this is the default configuration using the simple PING->PONG # example health-check. executable = script -p /bin/health-check.sh inet_listener health-check { port = 5001 } } bash-5.0# /bin/health-

RE: Health check curl example

2019-11-24 Thread Aki Tuomi via dovecot
Yes. The passthrough option is rather new. Aki On 24/11/2019 15:28 Marc Roos via dovecot < dovecot@dovecot.org> wrote: I think I already have that, I am having this configured service hea

RE: Health check curl example

2019-11-24 Thread Marc Roos via dovecot
How do I check the standard script then on this port 5001 from the command line? This one of alpine linux also does not have it yet bash-5.0# dovecot --version 2.3.7.2 (3c910f64b) -Original Message- Subject: RE: Health check curl example Yes. The passthrough option is rather new.

Proxy GSSAPI + PLAIN authentication

2019-11-24 Thread Sam via dovecot
Hi, I try to configure a proxy accepting GSSAPI and PLAIN authentication. When authenticating with Kerberos, Dovecot uses master user and password to authenticate to backends (backends can be Cyrus or Exchange servers too) When authenticating with PLAIN passwords, Dovecot sends user's login and p

Re: Proxy GSSAPI + PLAIN authentication

2019-11-24 Thread Aki Tuomi via dovecot
If your dovecot is recent enough you can use mechanisms setting on passdb block. See https://doc.dovecot.org/configuration_manual/authentication/password_databases_passdb/ On 24/11/2019 17:17 Sam via dovecot wrote: Hi,

lmtp proxy 'Invalid FROM: Missing domain'

2019-11-24 Thread Marc Roos via dovecot
Looks like I have a correct working proxy on pop3. On both backend servers I can run cat /tmp/test.msg | /usr/libexec/dovecot/lmtp Giving 250 2.1.5 OK 354 OK Info: Disconnect from local: Connection closed (in DATA) However if I run the same command on the proxy, I am getting this error 'Inv

RE: lmtp proxy 'Invalid FROM: Missing domain'

2019-11-24 Thread Marc Roos via dovecot
If I add a domain, error changes in: connection.c: line 380 (connection_update_properties): assertion failed: (conn->remote_port != 0) -Original Message- Subject: lmtp proxy 'Invalid FROM: Missing domain' Looks like I have a correct working proxy on pop3. On both backend servers I c

Lmtp proxy help assertion failed: (conn->remote_port != 0

2019-11-24 Thread Marc Roos via dovecot
I have this in my 20-lmtp.conf file and created passdb-file, this should be enough to route a message to svr1? The port 24 is reachable from the proxy. bash-5.0# cat 20-lmtp.conf lmtp_proxy = yes protocol lmtp { # Space separated list of plugins to load (default is global mail_plugins).

Dovecot FINs after sending "NO Not showing other users' quota"

2019-11-24 Thread Gene Smith via dovecot
When I do imap getquota on a shared folder I see the NO response. That's OK but then often dovecot disconnects (sends FIN) to the client right after this. The client acks the disconnect and creates a new connection and continues on. Should dovecot disconnect after this type of imap "NO" respons