IPv6 auth failed

2020-08-08 Thread Lefteris Tsintjelis
I am using latest Windows Thunderbird 68.11.0 and dovecot 2.3.10.1_2 with FreeBSD 12.1-RELEASE-p8. Whenever I enable dovecot IPv6 and I try to login I get auth failed. Aug 09 08:36:11 imap-login: Info: Disconnected: Inactivity (auth failed, 2 attempts in 180 secs): user=, method=CRAM-MD5, rip

Re: IPv6 auth failed

2020-08-08 Thread Lefteris Tsintjelis
On 9/8/2020 9:51, Aki Tuomi wrote: On 09/08/2020 09:15 Lefteris Tsintjelis wrote: I am using latest Windows Thunderbird 68.11.0 and dovecot 2.3.10.1_2 with FreeBSD 12.1-RELEASE-p8. Whenever I enable dovecot IPv6 and I try to login I get auth failed. Aug 09 08:36:11 imap-login: Info

Re: IPv6 auth failed

2020-08-09 Thread Lefteris Tsintjelis
On 9/8/2020 9:57, Aki Tuomi wrote: On 09/08/2020 09:53 Lefteris Tsintjelis wrote: On 9/8/2020 9:51, Aki Tuomi wrote: On 09/08/2020 09:15 Lefteris Tsintjelis wrote: I am using latest Windows Thunderbird 68.11.0 and dovecot 2.3.10.1_2 with FreeBSD 12.1-RELEASE-p8. Whenever I

Timeout/Event leak

2021-01-19 Thread Lefteris Tsintjelis
Hi, any idea what all this is? Jan 19 18:23:00 master: Warning: Killed with signal 15 (by pid=33729 uid=0 code=kill) Jan 19 18:23:03 config: Warning: Killed with signal 15 (by pid=1 uid=0 code=kill) Jan 19 18:23:03 stats: Warning: Killed with signal 15 (by pid=1 uid=0 code=kill) Jan 19 18:23:0

Re: Timeout/Event leak

2021-01-20 Thread Lefteris Tsintjelis
Version 2.3.13 (89f716dc2). I have never seen them before. Lefteris On 20 Jan 2021, at 8:33 AM, Aki Tuomi wrote: What version is this? But this was probably caused by aborted authentication attempts when you restarted dovecot. Aki > On 19/01/2021 20:45 Lefteris Tsintjelis wr

IPv4/v6 based access checking and logging

2021-11-12 Thread Lefteris Tsintjelis
Hi, I am currently using postfix/dovecot with postfix admin and I track the last login date already by using this: https://doc.dovecot.org/configuration_manual/lastlogin_plugin/ Besides last login date, I would like to also implement IPv4 and IPv6 last login tracking also and if possible, IP

Re: IPv4/v6 based access checking and logging

2021-11-12 Thread Lefteris Tsintjelis
meddelande ---- Från: Lefteris Tsintjelis Datum: 2021-11-12 18:48 (GMT+01:00) Till: dovecot@dovecot.org Ämne: IPv4/v6 based access checking and logging Hi, I am currently using postfix/dovecot with postfix admin and I track the last login date already by using this: https://doc.d

Re: IPv4/v6 based access checking and logging

2021-11-12 Thread Lefteris Tsintjelis
Exactly what I was looking for and the script as well! Thank you very much Julio On 12/11/2021 20:33, julio covolato wrote: Em 12/11/2021 14:47, Lefteris Tsintjelis escreveu: Hi, I am currently using postfix/dovecot with postfix admin and I track the last login date already by using this

Re: Strategies for protecting IMAP (e.g. MFA)

2021-11-14 Thread Lefteris Tsintjelis
On 13/11/2021 23:16, Tyler Montney wrote: With the world of ransomware as it is today (aka attacks seem more vicious and commonplace), anything I expose to WAN must have additional protection. I've seen a few posts to this list on it. The only thing that helped was that Dovecot supports OAuth.

Re: Strategies for protecting IMAP (e.g. MFA)

2021-11-14 Thread Lefteris Tsintjelis
On 14/11/2021 14:50, Kees van Vloten wrote: Apart from a really nice firewall firehol also supplies a good set of ip-blacklists. For public exposure of email ports, I am using the combination of firehol-firewall, firehol-blacklist, fail2ban and a whitelist based on geo-ip. The mail-client p

Disable sieve redirection

2021-11-26 Thread Lefteris Tsintjelis
Hi, is there a way to control sieve redirection or even disable it completely?

Re: Disable sieve redirection

2021-11-26 Thread Lefteris Tsintjelis
On 26/11/2021 23:42, Stephan Bosch wrote: On 26/11/2021 21:50, Lefteris Tsintjelis wrote: Hi, is there a way to control sieve redirection or even disable it completely? https://doc.dovecot.org/settings/pigeonhole/#sieve-max-redirects Missed that one! Thank you

Save user passwords in clear text

2016-08-05 Thread Lefteris Tsintjelis
Is it possible to save user passwords as clear text through dovecot? I am currently using MD5 passwords and I allow only "plain and login” mechanisms but I want to switch my database to clear text as this will give me the ability to use more mechanisms such as CRAM-MD5. Is this possible? Thank

Re: Save user passwords in clear text

2016-08-13 Thread Lefteris Tsintjelis
> On 13 Aug 2016, at 08:17, Thomas Leuxner wrote: > > * Lefteris Tsintjelis 2016.08.05 21:01: > >> Is it possible to save user passwords as clear text through dovecot? > > Have a look at how schemes can be converted using postlogin scripts: > >

Include IMAP Junk folder to pop3 clients.

2016-07-18 Thread Lefteris Tsintjelis
Hi, I would like to include all new mails of Junk box (I have a global sieve filtering set) folder to pop3 clients. Is this possible? This is my current configuration. # 2.2.25 (7be1766): /usr/local/etc/dovecot/dovecot.conf # Pigeonhole version 0.4.15 (97b3da0) # OS: FreeBSD 9.3-RELEASE-p43 a

Virtual mailboxes

2016-07-19 Thread Lefteris Tsintjelis
I have been banging my head to the walls for the past couple of days to make virtual mailboxes work and I finally found the problem. It seems when prefetch is used the user_query is not working at all. However, I have not found any reference to this one. http://wiki.dovecot.org/Plugins/Virtual

Re: Doveadm error

2016-07-23 Thread Lefteris Tsintjelis
On 23 Jul 2016, at 11:05, Alessio Cecchi wrote: > > Il 15.07.2016 16:03 aki.tu...@dovecot.fi ha scritto: >>> On July 12, 2016 at 4:30 PM László Károlyi wrote: >>> Hey everyone, >>> I've got a weird error since I upgraded to the latest dovecot on my FreeBSD >>> box: >>> root@postfixjail /# dovea

Feature request - blacklistd interaction

2019-05-04 Thread Lefteris Tsintjelis via dovecot
Would be really really REALLY nice to have dovecot interact directly with blacklistd! Makes a huge difference on busy systems and beats log parsing by far. Thank you

Re: Feature request - blacklistd interaction

2019-05-04 Thread Lefteris Tsintjelis via dovecot
On 4/5/2019 21:02, Aki Tuomi via dovecot wrote: On 4 May 2019 20:55 Lefteris Tsintjelis via dovecot wrote: Would be really really REALLY nice to have dovecot interact directly with blacklistd! Makes a huge difference on busy systems and beats log parsing by far. Thank you Dovecot

Sieve scripting

2019-05-13 Thread Lefteris Tsintjelis via dovecot
I want to monitor a special folder and execute a shell script each time I put an email to it. I would like to automate that way the process of SPAM reporting (SPAMCop). Is that possible with sieve? Lefteris

Re: Sieve scripting

2019-05-13 Thread Lefteris Tsintjelis via dovecot
On 13/5/2019 11:45, Aki Tuomi via dovecot wrote: On 13.5.2019 11.14, Lefteris Tsintjelis via dovecot wrote: I want to monitor a special folder and execute a shell script each time I put an email to it. I would like to automate that way the process of SPAM reporting (SPAMCop). Is that possible

Re: Sieve scripting

2019-05-13 Thread Lefteris Tsintjelis via dovecot
On 13/5/2019 11:45, Aki Tuomi via dovecot wrote: On 13.5.2019 11.14, Lefteris Tsintjelis via dovecot wrote: I want to monitor a special folder and execute a shell script each time I put an email to it. I would like to automate that way the process of SPAM reporting (SPAMCop). Is that possible

Permissions fix

2019-05-15 Thread Lefteris Tsintjelis via dovecot
Is there a fast way for dovecot to set and/or fix its directory permissions?

Re: Permissions fix

2019-05-15 Thread Lefteris Tsintjelis via dovecot
On 15/5/2019 21:19, Tanstaafl via dovecot wrote: On Wed May 15 2019 12:58:39 GMT-0400 (Eastern Standard Time), Lefteris Tsintjelis via dovecot wrote: Is there a fast way for dovecot to set and/or fix its directory permissions? I don't think so. I suggested dovecot implement something

Find last day of login

2019-05-17 Thread Lefteris Tsintjelis via dovecot
I am using dovecot virtual maildir accounts. Is it possible to find last day of login for an account by checking the last modification time of the maildir files? Lefteris

Re: Find last day of login

2019-05-18 Thread Lefteris Tsintjelis via dovecot
even if user is not logging in. Cheers/DP On Fri, May 17, 2019, 18:21 Lefteris Tsintjelis via dovecot wrote: I am using dovecot virtual maildir accounts. Is it possible to find last day of login for an account by checking the last modification time of the maildir files? Lefteris

Re: Find last day of login

2019-05-18 Thread Lefteris Tsintjelis via dovecot
On 18/05/2019 19:47, Aki Tuomi via dovecot wrote: Or you can use last_login plugin, bundled with dovecot. https://wiki.dovecot.org/Plugins/LastLogin Aki That is a very nice one Aki, thank you. This is what I needed. I only wish I had that before. Lefteris

Merging existing mailboxes to aliases

2019-05-18 Thread Lefteris Tsintjelis via dovecot
I am trying to merge all, existing or not, different mailboxes in one with the mailbox alias plugin. If I add the following lines, will the existing mailboxes automatically merge in one mailbox and corresponding links auto create? If not, do I have to do this manually? mailbox_alias_new = Sp

Re: Merging existing mailboxes to aliases

2019-05-19 Thread Lefteris Tsintjelis via dovecot
I have just tested an account with Thunderbird as client and had a couple of problems. I also wonder if you have to apply sieve rules in each alias separately. That would complicate things even more but the concept is good though. On 19/5/2019 11:43, Marc Roos via dovecot wrote: The alias p

Re: Merging existing mailboxes to aliases

2019-05-19 Thread Lefteris Tsintjelis via dovecot
On 19/5/2019 16:04, Sami Ketola via dovecot wrote: Why do you want to do this? Thunderbird does obey special_use flags. https://wiki.dovecot.org/MailboxSettings Do you have other clients then that do not honor those? Sami Thunderbird was just a test client nothing more than that and it wor

Re: last login user tracking

2019-06-22 Thread Lefteris Tsintjelis via dovecot
On 22/6/2019 16:07, John Fawcett via dovecot wrote: > > You can easily view the value in a readable format with the > FROM_UNIXTIME mysql funciton > > https://dev.mysql.com/doc/refman/8.0/en/date-and-time-functions.html#function_from-unixtime > > To get remote ip > > define the rip field in you

Error: quota-status: Client sent invalid recipient address: Invalid character in path

2019-06-27 Thread Lefteris Tsintjelis via dovecot
Any idea what this is? Jun 26 23:16:34 quota-status(u...@example.com)<4975>: Error: quota-status: Client sent invalid recipient address: Invalid character in path I have this enabled in my config service quota-status { client_limit = 1 executable = quota-status -p postfix unix_listener /va

Re: Error: quota-status: Client sent invalid recipient address: Invalid character in path

2019-06-29 Thread Lefteris Tsintjelis via dovecot
On 29/6/2019 13:35, John Fawcett via dovecot wrote: > On 28/06/2019 02:01, Lefteris Tsintjelis via dovecot wrote: >> Any idea what this is? >> >> Jun 26 23:16:34 >> quota-status(u...@example.com)<4975>: Error: >> quota-status: Client sent invalid recipien

Error: last_login_dict: Failed to write value: dict-server returned failure: sql dict: commit failed: Field 'password' doesn't have a default value

2019-07-10 Thread Lefteris Tsintjelis via dovecot
Hi, after upgrading my database I kept on getting those errors. It seems like later versions of databases have strict mode enabled by default and it must either be disabled or change the dovecot database schema. Besides the password, would anyone know what other fields must be changed to the do

Connection statistics per user and IP

2019-07-11 Thread Lefteris Tsintjelis via dovecot
Is it possible to enable statistics and keep track of the maximum number of connections per user and also per IP? Lefteris

Pigeonhole-0.5.7 fails to build from sources

2019-07-12 Thread Lefteris Tsintjelis via dovecot
Latest update fails to build from sources in FreeBSD 12-STABLE --- lda-sieve-plugin.lo --- lda-sieve-plugin.c:82:27: error: variable has incomplete type 'struct smtp_submit_input' struct smtp_submit_input submit_input; ^ lda-sieve-plugin.c:82:9: note: fo

Re: Pigeonhole-0.5.7 fails to build from sources

2019-07-12 Thread Lefteris Tsintjelis via dovecot
Solution is to uninstall the port and then build. If dovecot is already installed it will not build. On 13/7/2019 0:08, Lefteris Tsintjelis via dovecot wrote: Latest update fails to build from sources in FreeBSD 12-STABLE --- lda-sieve-plugin.lo --- lda-sieve-plugin.c:82:27: error: variable

Error: file_ostream.net_set_tcp_nodelay

2019-07-12 Thread Lefteris Tsintjelis via dovecot
After upgrading to 2.3.7_1 I get those errors every now and then. Running FreeBSD 12-RELEASE. Any idea what they may be? Jul 13 08:07:11 pop3-login: Error: file_ostream.net_set_tcp_nodelay(, FALSE) failed: Connection reset by peer Jul 13 08:19:10 imap-login: Error: file_ostream.net_set_tcp_node

Re: Pigeonhole-0.5.7 fails to build from sources

2019-07-13 Thread Lefteris Tsintjelis via dovecot
On 13/7/2019 15:02, Jerry via dovecot wrote: > I am using 'poudriere' on a FreeBSD 12.0-RELEASE-p7, and both dovecot > and pigeonhole build and install correctly. It builds ok also with standard FreeBSD's "make" but it seems for some reason you have to remove both old versions of dovecot and pi

Re: sometimes no shared cipher after upgrade from 2.2 to 2.3

2019-08-21 Thread Lefteris Tsintjelis via dovecot
On 21/8/2019 16:12, Kristijan Savic - ratiokontakt GmbH via dovecot wrote: We recently upgraded from dovecot 2.2 to 2.3.7.1-1 Not many, but some users are experiencing difficulties. The dovecot directors log: Aug 21 14:28:49 director01 dovecot: pop3-login: Disconnected (no auth attempts in 0 se

Re: sometimes no shared cipher after upgrade from 2.2 to 2.3

2019-08-21 Thread Lefteris Tsintjelis via dovecot
On 21/8/2019 18:51, Kristijan Savic - ratiokontakt GmbH via dovecot wrote: SSL3 is no longer included in the cipher sets. Try this: ssl_min_protocol = SSLv3 Thanks. Unfortunately, no dice - same error. Any other tips? I was under the impression "no shared cipher" was rather the problem?