Re: Tip: update dovecot MD5 password from PAM

2017-03-27 Thread Aki Tuomi


On 27.03.2017 01:13, Ruga wrote:
> It is a jolly bad idea to use the same password for both email and system 
> access.
>
> On TLS+plaintext, if your passwords are slurped by a python script, all 
> accounts are compromised. Congratulations, the NSA will love you. On the 
> other side of the ocean, however, there are European states where you must 
> disclose the fact, or go to jail.
>
> (I tried to protect dovecot passwords with bcrypt, but the mail clients 
> refused it.)

Uh, what? Mail clients do not see how you are storing passwords locally.

>
> Sent from ProtonMail Mobile

Aki


UID Purge?

2017-03-27 Thread Kevin

Hi,

I've just migrated to Dovecot from cyrus-imapd, and I notice that when I 
move emails from one folder to another they appear to be automatically 
marked deleted (expected) and also purged (not expected). With cyrus, I 
am used to emails being marked deleted, but still existing until a 
manual purge (expunge).


Is this normal behaviour with Dovecot, and is it configurable?

Thanks.

Kevin.


Re: Tip: update dovecot MD5 password from PAM

2017-03-27 Thread Ruga
Right. But that's what I experienced.

The next experiment is sheduled in
two weeks... I will keep notes and
logs for you.

Sent from ProtonMail Mobile

On Mon, Mar 27, 2017 at 2:21 PM, Aki Tuomi  wrote:

On 27.03.2017 01:13, Ruga wrote:
> It is a jolly bad idea to use the same password for both email and system 
> access.
>
> On TLS+plaintext, if your passwords are slurped by a python script, all 
> accounts are compromised. Congratulations, the NSA will love you. On the 
> other side of the ocean, however, there are European states where you must 
> disclose the fact, or go to jail.
>
> (I tried to protect dovecot passwords with bcrypt, but the mail clients 
> refused it.)

Uh, what? Mail clients do not see how you are storing passwords locally.

>
> Sent from ProtonMail Mobile

Aki

Re: UID Purge?

2017-03-27 Thread Aki Tuomi
On 27.03.2017 16:34, Kevin wrote:
> Hi,
>
> I've just migrated to Dovecot from cyrus-imapd, and I notice that when
> I move emails from one folder to another they appear to be
> automatically marked deleted (expected) and also purged (not
> expected). With cyrus, I am used to emails being marked deleted, but
> still existing until a manual purge (expunge).
>
> Is this normal behaviour with Dovecot, and is it configurable?
>
> Thanks.
>
> Kevin.

Does this happen if you do this on wire?

telnet localhost 143
a LOGIN username password
s SELECT INBOX
s STORE 1:1 FLAGS (\Deleted) # or some other message-set
n NOOP
l LOGOUT

Aki