Re: Mailbox doesn't exist response

2016-05-09 Thread Steffen Kaiser

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Mon, 9 May 2016, Cornelius Charlie wrote:


Using the latest dovecot version, selecting a non-existing mailbox with non
printable characters encoded in utf7, the mailbox doesn't exist response
contains the folder name encoded in utf8.


the comment is just an human readable string.


Is that legal regarding the rfc ?

If yes, how the client can be aware of the used encoding ?


- -- 
Steffen Kaiser

-BEGIN PGP SIGNATURE-
Version: GnuPG v1

iQEVAwUBVzF8GXz1H7kL/d9rAQLlAwf/RYA3chqcqvm/MkNI7PaEMCGn5loKCrcC
T1AMMwhXfWzIH0+BNmr7gVVRQoWzxfGcfSvKUZbK20flaREt9S9SeokmAFc1qD7X
LkQ6Wt87pS/24HZmUt/KhK9yhxxFfki3J77McRV2ookBmjx3x6oMYH5QdViOkNQg
OBT7pGbbKieRpr6e9o3PFnXBx3hcGndGSFinybgE6KF19dI9chIOWW+B3XF2KYVf
aB/wY4u2KI1nADHj/mfSTxqLGQgvwlEv95xofn+h5jjeTT+P01ML+rjbMaKDpgdd
x5iMCIeKSZiSZpK71A1+4ySHXlG3qU6Cnl1yxJ8GGJAHks7YA7bFJQ==
=UTgP
-END PGP SIGNATURE-


Re: Workaround for rcpt suffix

2016-05-09 Thread Steffen Kaiser

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Mon, 9 May 2016, Robban wrote:


I'm stuck again, let me start with explaining my setup.
The PassDB and UserDB is LDAP (FreeIPA) and I'm using ldap mail attribute to 
search after the recipient so one user can have multiple mail aliases. So far 
so good.
Next is to have an catch...@domain.tld, that is done via an static userdb 
backend (I know you are strongly against catchall adresses), and they are 
delivered to public folders (${mail_location}/domain.tld).


I also use address extension so sort a mail to correct folder (+ sign).
Now I need to fix so mail to -sievetest is handled by the user 
assigned to , is this somehow possible?


your userdb query should return the data of "the user assigned to attr>", when Dovecot is to drop messages for -sievetest .


I would add another LDAP attribute, store all "alternate recipient 
aliases" there and use a ldap filter query to test both attributes. You 
must return an "user" field in this case.


http://wiki2.dovecot.org/UserDatabase/ExtraFields


- -- 
Steffen Kaiser

-BEGIN PGP SIGNATURE-
Version: GnuPG v1

iQEVAwUBVzF6e3z1H7kL/d9rAQLNOwf/a6DVdZa7vSYJkNWW57C4R3+0SMekiXWs
SwyPcfyQeJUW+xCUpKjkUWMVfAI11YlSj1pYxS/Yh2emW8UbKfhHkccrEJf1Sewh
CFwT2yOmgAEdEO5YkLFgILpTql7r8nEqx/csjsfdCLDzSJo11rmvRT058LnJ1MdG
eTSN7DDNseIcExZE0276lqJGesZFIGNP/q3vwRh8ic+GzFLyQFpLAS/0B3zfHBG7
raMigR7fuggqXhu1sVsz0jRtUFhc5VN5EY30uSMGRotYON2jhQN0b8+hritp0TsY
CReWQDX18knRmThKVeZCHFTZTeEf5CNlurujGSg4AJjj/5o5c1ZFMg==
=OWh/
-END PGP SIGNATURE-


Re: resorting emails by date order after move/copy to sub folder ?

2016-05-09 Thread voytek
On Tue, May 10, 2016 11:39 am, @lbutlr wrote:

> Your Squirreltail setup is broken then.
>> is that some 'simple' way to re-sort them back by original date?
> This might help:
> 

thanks ! I'll try

V


Re: resorting emails by date order after move/copy to sub folder ?

2016-05-09 Thread @lbutlr
On Mon May 09 2016 00:22:42 voy...@sbt.net.ausaid:
> 
> I have just used Squirrel web client to re organize some old emails to
> subfolders. that worked OK, EXCEPT, all these emails are now in order that
> I have moved them rather than original date,

Your Squirreltail setup is broken then.

> is that some 'simple' way to re-sort them back by original date?

This might help:



-- 
Tina... homecoming is spelled c *O* m


Mailbox doesn't exist response

2016-05-09 Thread Cornelius Charlie
Hello,

Using the latest dovecot version, selecting a non-existing mailbox with non
printable characters encoded in utf7, the mailbox doesn't exist response
contains the folder name encoded in utf8.

Is that legal regarding the rfc ?

If yes, how the client can be aware of the used encoding ?

Thanks.


Workaround for rcpt suffix

2016-05-09 Thread Robban

Hi all!

I'm stuck again, let me start with explaining my setup.
The PassDB and UserDB is LDAP (FreeIPA) and I'm using ldap mail 
attribute to search after the recipient so one user can have multiple 
mail aliases. So far so good.
Next is to have an catch...@domain.tld, that is done via an static 
userdb backend (I know you are strongly against catchall adresses), and 
they are delivered to public folders (${mail_location}/domain.tld).


I also use address extension so sort a mail to correct folder (+ sign).
Now I need to fix so mail to -sievetest is handled by the 
user assigned to , is this somehow possible?


//Robban


Re: more info about deleting users

2016-05-09 Thread Tom Sommer


> On 9. maj 2016, at 09.11, aki.tu...@dovecot.fi wrote:
> 
> 
>> On May 9, 2016 at 10:01 AM Tom Sommer  wrote:
>> 
>> 
>> On 2016-05-04 20:33, aki.tu...@dovecot.fi wrote:
 On May 2, 2016 at 9:56 AM Tom Sommer  wrote:
 On 2016-04-29 16:25, Matteo Gaito Test Account wrote:
 
> i've search a lot in order to find a way to delete account by dovecot
> but i
> found only this way
> 
> http://dovecot.org/list/dovecot/2011-November/079273.html
> 
> It's possible today delete a maildir remotely with doveadm or with
> dovecot api?
 
 Would love this as well
>>> 
>>> 
>>> You could try using fs commands that are available in doveadm HTTP API.
>> 
>> Looks doable. Any documentation? :)
> 
> http://wiki2.dovecot.org/Design/DoveadmProtocol/HTTP
> 

I meant the FS command :)


Re: more info about deleting users

2016-05-09 Thread aki . tuomi

> On May 9, 2016 at 10:01 AM Tom Sommer  wrote:
> 
> 
> On 2016-05-04 20:33, aki.tu...@dovecot.fi wrote:
> >> On May 2, 2016 at 9:56 AM Tom Sommer  wrote:
> >> On 2016-04-29 16:25, Matteo Gaito Test Account wrote:
> >> 
> >> > i've search a lot in order to find a way to delete account by dovecot
> >> > but i
> >> > found only this way
> >> >
> >> > http://dovecot.org/list/dovecot/2011-November/079273.html
> >> >
> >> > It's possible today delete a maildir remotely with doveadm or with
> >> > dovecot api?
> >> 
> >> Would love this as well
> > 
> > 
> > You could try using fs commands that are available in doveadm HTTP API.
> 
> Looks doable. Any documentation? :)

http://wiki2.dovecot.org/Design/DoveadmProtocol/HTTP

---
Aki Tuomi


Re: more info about deleting users

2016-05-09 Thread Tom Sommer

On 2016-05-04 20:33, aki.tu...@dovecot.fi wrote:

On May 2, 2016 at 9:56 AM Tom Sommer  wrote:
On 2016-04-29 16:25, Matteo Gaito Test Account wrote:

> i've search a lot in order to find a way to delete account by dovecot
> but i
> found only this way
>
> http://dovecot.org/list/dovecot/2011-November/079273.html
>
> It's possible today delete a maildir remotely with doveadm or with
> dovecot api?

Would love this as well



You could try using fs commands that are available in doveadm HTTP API.


Looks doable. Any documentation? :)