Test SASL authentication via telnet (or similar)

2019-03-28 Thread Alessio Cecchi via dovecot
Hi, I'm looking for a way to autenticate my email users via Dovecot SASL TCP connections from an external nodejs or python script. Dovecot configuration is fine, if I set in postfix smtpd_sasl_path = inet:127.0.0.1:12345 works fine. But if a try via "telnet 127.0.0.1 12345" to chat with SAS

Re: masteruser can not select INBOX

2019-04-09 Thread Alessio Cecchi via dovecot
Hi, you can do it via post-login script as explained in https://wiki.dovecot.org/Authentication/MasterUsers I have a post login script similar to: #!/bin/bash export USERNAME=${USER%@*} export DOMAIN=${USER#*@} exec "$@" and works fine. Ciao Il 09/04/19 09:46, Ludwig Wieland via dovecot ha

Error: o_stream_send_istream and Disconnected in APPEND

2019-07-11 Thread Alessio Cecchi via dovecot
Hi, I'm running some Dovecot servers configured with LVS + Director + Backend + NFS and version 2.2.36.3 (a7d78f5a2). In the last days I see an increased number of these error: Error: o_stream_send_istream(/nfs/mail/company.com/info/Maildir/.Sent/tmp/1562771349.M255624P9151.pop01) failed: B

Re: Error: o_stream_send_istream and Disconnected in APPEND

2019-07-11 Thread Alessio Cecchi via dovecot
rbird, version=60.7.2 <4ezjaFCNfJVQEudp> ==> name=Thunderbird, version=60.7.2 So seem a problem with only Thunderbird, but why? And can be mitigated by us? Thanks Il 11/07/19 09:13, Alessio Cecchi via dovecot ha scritto: Hi, I'm running some Dovecot servers configured with

Re: Sieve problem with duplicate and fileinto in the same set of rules

2019-07-15 Thread Alessio Cecchi via dovecot
Il 15/07/19 14:34, Gianluca Scaglia via dovecot ha scritto: Hi there, on my mail server (postfix, dovecot 2.2.27 in Debian 9) I have an automatic forwarding (with sender_bcc_maps in Postfix) for all the emails sent in smtp from the same server, that are then put in the Sent folder with a sie

Re: Error: o_stream_send_istream and Disconnected in APPEND

2019-07-15 Thread Alessio Cecchi via dovecot
Il 11/07/19 23:31, Timo Sirainen ha scritto: On 11 Jul 2019, at 10.13, Alessio Cecchi via dovecot mailto:dovecot@dovecot.org>> wrote: Hi, I'm running some Dovecot servers configured with LVS + Director + Backend + NFS and version 2.2.36.3 (a7d78f5a2). In the last days I see a

Dovecot Director upgrade from 2.2 to 2.3

2019-07-18 Thread Alessio Cecchi via dovecot
Hi, I have a setup with 3 Dovecot Director v2.2.36 and director_consistent_hashing = yes ;-) Now I would like to upgrade to 2.3.7, first only Director and after also Backend. Can works fine a ring of director with mixed 2.2 and 2.3 version? Mi idea is to setup a new Director server with 2.

Re: Dovecot Director upgrade from 2.2 to 2.3

2019-07-22 Thread Alessio Cecchi via dovecot
Il 18/07/19 21:42, Timo Sirainen ha scritto: On 18 Jul 2019, at 11.44, Alessio Cecchi via dovecot mailto:dovecot@dovecot.org>> wrote: Hi, I have a setup with 3 Dovecot Director v2.2.36 and director_consistent_hashing = yes ;-) Now I would like to upgrade to 2.3.7, first only Direct

Re: Dovecot Director upgrade from 2.2 to 2.3

2019-07-31 Thread Alessio Cecchi via dovecot
Hi Timo, here you can see two images with the load average and CPU usage with Dovecot 2.2 (Centos 6) and 2.3 (Centos 7) on the same hardware and same configuration: https://imgur.com/a/1hsItlc Load average increment is relevant but CPU usage is similar. Il 22/07/19 18:49, Timo Sirainen ha s

Re: Dovecot Director upgrade from 2.2 to 2.3

2019-09-10 Thread Alessio Cecchi via dovecot
Il 22/07/19 18:49, Timo Sirainen ha scritto: On 22 Jul 2019, at 17.45, Alessio Cecchi > wrote: one server of the ring is now running Dovecot 2.3.7 and works fine with the others Dovecot 2.2 since 3 days. I notice only that the load avarage of this CentOS 7 server is h

Re: Maildir compression

2023-04-18 Thread Alessio Cecchi via dovecot
Hi, the quota, reported by dovecot, will be the same before/after compression because dovecot calculate the quota based on the "original" size of the message, that is (should be) present in the name of the maildir file. Also, index file does not need to be updated, I did this several years

Re: last_login plugin and $remote_ip

2023-04-19 Thread Alessio Cecchi via dovecot
Ciao Fabrizio, set login_trusted_networks to point to the proxies in the backends. This way you’ll get the clients’ actual IP addresses logged instead of the proxy’s. https://doc.dovecot.org/settings/core/#core_setting-login_trusted_networks Il 19/04/23 09:18, Fabrizio Cuseo ha scritto: Goo