Re: Dovecot sieve filters

2021-09-20 Thread j.emerlik
returns address as: "some string" pon., 20 wrz 2021 o 01:44 Gedalya napisał(a): > On 9/20/21 03:15, j.emerlik wrote: > > "If address :is "from" "*" { .. } - I have same error. > > Quote: > > Error: sieve: report-ham: line 1: the

Re: Dovecot sieve filters

2021-09-19 Thread j.emerlik
Yes, it's plugin imap_sieve enabled for IMAP protocol. There isn't no way to catch address "from" when moving messages between IMAP folders ? "If address :is "from" "*" { .. } - I have same error. niedz., 19 wrz 2021, 16:38 użytkownik Gedalya napisał:

Dovecot sieve filters

2021-09-19 Thread j.emerlik
I'm have a problem where dovecot-sieve is used to run the script after moving emails from Junk Folder. config: imapsieve_mailbox2_name = * Imapsieve_mailbox2_from = INBOX.Junk imapsieve_mailbox2_causes = COPY imapsieve_mailbox2_before = file:/usr/local/lib/dovecot/sieve/report-ham.sieve filter:

Dovecot auth

2019-11-26 Thread j.emerlik via dovecot
Hi, is possible to configure post-login script for Service auth ? I would like to run post script after successful login to postfix (smtp). Regards, Jack

Re: dovecot/config processes one more time - which are safe to kill?

2018-12-13 Thread j.emerlik
In my Dovecot 2.2.32 I do not have such a problem. czw., 13 gru 2018 o 10:18 Arkadiusz Miśkiewicz napisał(a): > > Hello. > > The problem with dovecot/config processes never ending and spawning new > one on each reload > (https://www.dovecot.org/list/dovecot/2016-November/106058.html) is >

Re: Dovecot IMAP connections

2018-12-11 Thread j.emerlik
status and what could have caused this ? Resterting of dovecot proccess solved problem. wt., 11 gru 2018 o 09:53 j.emerlik napisał(a): > What exactly means "deinit". > > Yesterday I had all IMAP processes with word "deinit" in brackets and > dovecot reached the l

Dovecot IMAP connections

2018-12-11 Thread j.emerlik
What exactly means "deinit". Yesterday I had all IMAP processes with word "deinit" in brackets and dovecot reached the limit of processes. I had to do a restart of the process. eg.: dovecot 32482 0.0 0.0 24832 4256 ?S03:29 0:00 dovecot_host1/imap [pierrot xxx.xxx.xx.xx

Imap post-login script

2018-07-27 Thread j.emerlik
Dovecot v.2.2.32 and I have configured two imap post-login scripts and it seems like after successfully login scripts are not closed (dovecot_node/imap imap-postlogin : multiple processes are running still) and after some times there are too many processes and the limit is reached (imap

Re: IMAP_ID_LOG

2018-04-09 Thread j.emerlik
SMTP lets you know the user agent, I thought that pop3 also. 2018-04-09 22:15 GMT+02:00 Michael Slusarz <michael.slus...@dovecot.fi>: > ID is an IMAP specific protocol command (RFC 2971). There is no POP or > SMTP equivalent. > > > On April 9, 2018 at 10:19 AM "j.eme

IMAP_ID_LOG

2018-04-09 Thread j.emerlik
Hi, there in configuration is possibile to set imap_id_log for logging Client ID e.g.: ID sent: name=Thunderbird, version=52.7.0. Is possible to set same but for POP3 or SMTP Auth ? Ideally, it would be possible to log in to the database e.g. using postlogin script. Regards, MattX

Re: Postlogin script

2017-11-16 Thread j.emerlik
11-10 23:03 GMT+01:00 Joseph Tam <jtam.h...@gmail.com>: > "j.emerlik" <j.emer...@gmail.com> writes: > > I would like to prepare postlogin a script that allow imap connection to >> roundcube for all but restrict imap access for selected users. >> > > "fr

Re: Postlogin script

2017-11-11 Thread j.emerlik
> On November 11, 2017 at 4:27 PM "j.emerlik" <j.emer...@gmail.com> wrote: > > > > > > Awesome, thanks! > > > > Sent from my mobile device please excuse. > > > > 11.11.2017 2:48 PM "Gedalya" <geda...@gedalya.net> napisał(a): >

Re: Postlogin script

2017-11-11 Thread j.emerlik
Awesome, thanks! Sent from my mobile device please excuse. 11.11.2017 2:48 PM "Gedalya" napisał(a): > On 11/10/2017 11:03 PM, Joseph Tam wrote: > > > > The toughest situation (using script techniques) is for > > CIDR ranges just shy of a full octet boundary e.g. /25. > >

Re: Postlogin script

2017-11-10 Thread j.emerlik
gt; > Range: > > https://packages.debian.org/stretch/prips > > $ IP=172.11.0.28 > $ if prips 172.11.0.11 172.11.0.55 | grep $IP; then echo OK; fi > 172.11.0.28 > OK > $ IP=172.11.0.66 > $ if prips 172.11.0.11 172.11.0.55 | grep $IP; then echo OK; fi > > > On 1

Postlogin script

2017-11-09 Thread j.emerlik
Hi, I would like to prepare postlogin a script that allow imap connection to roundcube for all but restrict imap access for selected users. My question is that: Is possible in condition IF use IP addresses as range or with mask (because I've more than one web servers) ? My script: #!/bin/sh if

antispam plugin with IMAPSieve

2017-10-31 Thread j.emerlik
Hi, my dovecot is configured with IMAP Sieve antispam plugin (sa-learn), everything seems to be working correctly but in debug mode in my log file I noticed "dovecot: imap: Error". Last 14 lines od my log file: Oct 31 15:05:25 mnode1 dovecot: imap: Error: Oct 31 15:05:25.040 [10743] dbg: bayes:

Re: Password encription

2017-10-29 Thread j.emerlik
salted hashes. This is especially true if the hashes are guarded > > against leakage, as most are. Strong crypt-hashes are an extra layer > > of protection (defense in depth). > > > > Yet these leaks, they seem to occur. > > > This page (if you trust 3rd parties) wi

Re: Password encription

2017-10-27 Thread j.emerlik
rds these days. > > With Dovecot 2.3 we are making BLF-CRYPT available on all platforms, and > also adding support for ARGON2 when you have libsodium available. > > Aki > > > On 27.10.2017 09:44, j.emerlik wrote: > > Aki, > > if I understand it well, salt is use

Re: Password encription

2017-10-27 Thread j.emerlik
Aki, if I understand it well, salt is useful when database is/was stolen ? Then thief can use eg. rainbow tables to decrypt passwords. Regards, Jack 2017-10-27 7:42 GMT+02:00 Aki Tuomi : > > > On 27.10.2017 08:37, @lbutlr wrote: > > On 25 Oct 2017, at 03:11, Aki Tuomi

Re: Password encription

2017-10-25 Thread j.emerlik
Form me now is working SHA256-CRYPT and PLAIN/LOGIN with SSL/TLS. 2017-10-25 11:11 GMT+02:00 Aki Tuomi <aki.tu...@dovecot.fi>: > SHA512-CRYPT and PLAIN/LOGIN with SSL. > ---Aki TuomiDovecot oy > Original message From: "j.emerlik" <j.emer...@gmail.co

Re: Password encription

2017-10-25 Thread j.emerlik
What scheme and mechanism do you recommend? 2017-10-25 11:01 GMT+02:00 Aki Tuomi <aki.tu...@dovecot.fi>: > CRAM-MD5 should not be used. Its not terribly secure. > > > ---Aki TuomiDovecot oy > Original message ----From: "j.emerlik" <j.emer...@gm

Re: Password encription

2017-10-25 Thread j.emerlik
Thx Aki, with CRAP-MD5 as scheme and mechanism it's works corretlly. 2017-10-25 10:52 GMT+02:00 Aki Tuomi <aki.tu...@dovecot.fi>: > PLAIN and LOGIN. > > > > --- > Aki Tuomi > Dovecot oy > > Original message > From: "j.emerlik"

Password encription

2017-10-25 Thread j.emerlik
Hi, which authentication mechanism should I use for SHA-256 password schama ? Regards, Jack

Re: Post-login scripting

2017-10-21 Thread j.emerlik
> > >> On October 20, 2017 at 6:12 PM Gedalya <geda...@gedalya.net> wrote: > >> > >> > >> No, it's entirely my own. > >> If all you want to do is write client IP addresses to a database then > your script will probably fit in 20 lines of code or so. > &g

Re: Post-login scripting

2017-10-20 Thread j.emerlik
Which one policy server are you using ? Someone from that list : http://www.postfix.org/addon.html 2017-10-20 16:53 GMT+02:00 Gedalya <geda...@gedalya.net>: > On 10/20/2017 04:50 PM, j.emerlik wrote: > > I understand that Dovecot SASL does not support the Post-Login scripts. &g

Re: Post-login scripting

2017-10-20 Thread j.emerlik
Thx, seems to be a good idea. I understand that Dovecot SASL does not support the Post-Login scripts. 2017-10-20 16:36 GMT+02:00 Gedalya : > I use an access policy server which mostly does rate-limiting and also > writes to a database. > It's written in perl. > If all you

Re: pigeonhole-0.4.14

2017-07-09 Thread j.emerlik
ailer } ssl_ca = : > Op 7/7/2017 om 1:18 PM schreef j.emerlik: > > Solved temporary by replacing X-Spam-Status to X-Spam-Flag. > > > > X-Spam-Flag in my system is added only to SPAM e-mail, anyway it looks > like > > a bug. > > Can you show your configura

Re: pigeonhole-0.4.14

2017-07-07 Thread j.emerlik
nd default as: == require "fileinto"; if header :contains "X-Spam-Status" "YES" { fileinto "Junk"; } if header :contains "X-Spam-Level" "" { discard; stop; } any idea ? Regards, Jack 2017-07-07 12:10 GMT

pigeonhole-0.4.14

2017-07-07 Thread j.emerlik
Hi, my global sieve filter looks like this: require "fileinto"; if header :contains "X-Spam-Status" "YES" { fileinto "INBOX.Junk"; } if header :contains "X-Spam-Level" "" { discard; stop; } Why Dovecot 2.2.24 and pigeonhole-0.4.14 moves all e-mails to spam eg .: with

Re: Courier migration to dovecot

2017-06-23 Thread j.emerlik
Thx Christian, Yes, I read about it but I wonder why that is so and why couldn't be A or B. Best regards, Jack 2017-06-23 16:31 GMT+02:00 Christian Kivalo <ml+dove...@valo.at>: > > > Am 23. Juni 2017 14:57:59 MESZ schrieb "j.emerlik" <j.emer...@gmail.com>: > &

Re: Courier migration to dovecot

2017-06-23 Thread j.emerlik
ovecot.org/VirtualUsers/Home Regards, Jack 2017-06-23 16:25 GMT+02:00 Odhiambo Washington <odhia...@gmail.com>: > > > On 23 June 2017 at 15:57, j.emerlik <j.emer...@gmail.com> wrote: > >> Hi, >> I'm almost ready to migrate Courier to Dovecot 2.2.31 but I have one >>

Courier migration to dovecot

2017-06-23 Thread j.emerlik
Hi, I'm almost ready to migrate Courier to Dovecot 2.2.31 but I have one question about home and mail directory. It's good idea to have same directory form home and mail ? Which scenerio will be better and why ? For example: A) Home: /home/doamin/user1 Mail: /home/doamin/user1 B) Home:

Re: Log authentication attempts

2017-06-12 Thread j.emerlik
/06/17 09:39, j.emerlik escreveu: > >> Failed login attempts information may be useful in the >> fight with bruteforce attacks. >> >> > fail2ban is your friend, it can analyze the logs, no need for saving > that on database. > > > -- > > >

Re: Log authentication attempts

2017-06-12 Thread j.emerlik
We alse have same problem, now we are running Dovecot 2.2.30.2 and also use Dovecot SASL for SMTP authentication (postfix 2.11). We need to save all failed login attempts to database as source IP address, username and date and time but post-login script can do this but only after successful login.

post-login script and original remote ip in proxy mode

2016-06-22 Thread j.emerlik
Hi, i have similar problem like this: "On Mon, 2013-05-27 at 23:40 +0300, Ibrahim Harrani wrote: > Hi, > > I am running dovecot on 3 qmail-ldap server backend. > dovecot configured to use auth_pop3 wrapper for authentication. > Users logins to the qmail-ldap pop3 pools randomly. If a user is >