Re: [Sieve] Multiple email recipients, how?

2019-11-22 Thread Ralph Seichter via dovecot
* Robert via dovecot:

> We use a simple system for routing emails to different email users by 
> postfixing the addresses with the actual user: xxxJohn@domain; 
> yyyJohn@domain etc all will be delivered to user John.
> (This way John can invent a new email address on-the-fly and that will 
> be delivered to his email box.)

This seems like a strange way achieve flexible email addresses. Are you
aware of sub-addressing? It has been around for ages, and is supported
by Dovecot (and Gmail, incidentally).

Imagine an existing email account . If alice wants to
use a subadress, she signs up with , and Dovecot
can automatically place incoming mail for that address into INBOX/foo
(or just INBOX if INBOX/foo does not exist). Alice can use as many
sub-adresses as she needs without anybody making config changes.

Frankly, the Sieve-based approach you describe seems pretty complicated
in comparison.

-Ralph


RE: chown(/var/dovecot/login/ipc-proxy

2019-11-22 Thread Marc Roos via dovecot
 
Thought about creating the socket via some setuid c source temporarily, 
but now this, g

bash-5.0$ dovecot -F
Fatal: Dovecot is already running? Socket already exists: 
/var/dovecot/login/ipc-proxy




-Original Message-
To: dovecot
Subject: chown(/var/dovecot/login/ipc-proxy


Can we remove/change this in the source? So we do not have to add the 
CAP_CHOWN with containers.

chown(/var/dovecot/login/ipc-proxy)

When run as root this has user dovenull, maybe this can be resolved by 
using a group dovenull? 

bash-5.0# ls -arlt
total 4
srw-rw-rw-1 root root 0 Nov 21 22:27 pop3
srw-rw-rw-1 root root 0 Nov 21 22:27 login
srw---1 dovenull root 0 Nov 21 22:27 ipc-proxy
srw-rw-rw-1 root root 0 Nov 21 22:27 imap
drwxr-xr-x1 dovecot  dovecot   4096 Nov 21 22:27 ..
drwxr-x---1 root dovenull60 Nov 21 22:27 .

Maybe this would work

srw-rw1 root  dovenull 0 Nov 21 22:27 ipc-proxy




chown(/var/dovecot/login/ipc-proxy

2019-11-22 Thread Marc Roos via dovecot


Can we remove/change this in the source? So we do not have to add the 
CAP_CHOWN with containers.

chown(/var/dovecot/login/ipc-proxy)

When run as root this has user dovenull, maybe this can be resolved by 
using a group dovenull? 

bash-5.0# ls -arlt
total 4
srw-rw-rw-1 root root 0 Nov 21 22:27 pop3
srw-rw-rw-1 root root 0 Nov 21 22:27 login
srw---1 dovenull root 0 Nov 21 22:27 ipc-proxy
srw-rw-rw-1 root root 0 Nov 21 22:27 imap
drwxr-xr-x1 dovecot  dovecot   4096 Nov 21 22:27 ..
drwxr-x---1 root dovenull60 Nov 21 22:27 .

Maybe this would work

srw-rw1 root  dovenull 0 Nov 21 22:27 ipc-proxy