bug(?): trailing tab/whitespace in output

2021-03-18 Thread Marc
doveadm -v -f table search -u testtest mailbox Archive/2011 guid 1de6d8632073c49f272bed211b71a8b6 returns this (echo ".$guid.") .1de6d8632073c49f272bed211b71a8b6.

Re: Mass Stripping Attachments by Directory, Age, Size

2021-03-18 Thread Joseph Tam
On Thu, 18 Mar 2021, Plutocrat wrote: I've been looking around for a solution to this problem. I want to prune down the attachments on a server before a migration. Some of the emails are 7 years old and have 40Mb attachments, so this seems like a good opportunity to rationalize things. So perh

Re: bug: some table header(?) output goes to stderr instead of stdout

2021-03-18 Thread Joseph Tam
On 2021-03-18, Marc wrote: [@ sbin]# doveadm -f table -o mail_location=mdbox_deleted:/home/popusers/testtest/mdbox:INDEX=/home/popindex/testtest/index fetch -u testtest 'guid' mailbox INBOX 2> /dev/null 3c967f33b8aea671f3551db1ea8e33e9 6fa01ccc103a7009c7b940657dbcd72c ba955a6d6218950f42e5b0ee

feature request: doveadm purge taking guid argument

2021-03-18 Thread Marc
Hi Timo, What about giving doveadm purge an argument to delete a specific message guid? Is that a lot of work?

RE: bug: some table header(?) output goes to stderr instead of stdout

2021-03-18 Thread Marc
> On 2021-03-18, Marc wrote: > > > > [@ sbin]# doveadm -f table -o > mail_location=mdbox_deleted:/home/popusers/testtest/mdbox:INDEX=/home/po > pindex/testtest/index fetch -u testtest 'guid' mailbox INBOX 2> > /dev/null > > 3c967f33b8aea671f3551db1ea8e33e9 > > 6fa01ccc103a7009c7b940657dbcd72c > >

Some questions about code in lib-storage/index/maildir

2021-03-18 Thread songliny
Hi, Recently, I have read some code in dovecot 2.3.13. And I have 2 questions about some lines of code in lib-storage/index/maildir Firstly, in the function, maildir_scan_dir, from lib-storage/index/maildir/maildir-sync.c around line 575 (https://github.com/dovecot/core/blob/6986a435e31dfe5bcd14

Re: bug: some table header(?) output goes to stderr instead of stdout

2021-03-18 Thread Stuart Henderson
On 2021-03-18, Marc wrote: > > [@ sbin]# doveadm -f table -o > mail_location=mdbox_deleted:/home/popusers/testtest/mdbox:INDEX=/home/popindex/testtest/index > fetch -u testtest 'guid' mailbox INBOX 2> /dev/null > 3c967f33b8aea671f3551db1ea8e33e9 > 6fa01ccc103a7009c7b940657dbcd72c > ba955a6d62189

bug: some table header(?) output goes to stderr instead of stdout

2021-03-18 Thread Marc
[@ sbin]# doveadm -f table -o mail_location=mdbox_deleted:/home/popusers/testtest/mdbox:INDEX=/home/popindex/testtest/index fetch -u testtest 'guid' mailbox INBOX 2> /dev/null 3c967f33b8aea671f3551db1ea8e33e9 6fa01ccc103a7009c7b940657dbcd72c ba955a6d6218950f42e5b0ee0a33a916 [@ sbin]# doveadm -f

Re: dovecot director and keepalived

2021-03-18 Thread Steven Varco
Hi Sebastiaan Many thanks for that hint, it does work just perfectly, after I configured an address on the service director inet_listener! :) Now each instance only binds to its own IP, which is exactly what I was looking for. I think it would be helpfull, if this could be added as a note to th

Re: Mass Stripping Attachments by Directory, Age, Size

2021-03-18 Thread Steven Varco
I would like such a feature too, but instead of deleting the atatchment files, I would like to „detach“ the files and save them into a sperate directory, which could be on a different storage like a share in the users home directory or even S3 and then replace the attachment in the Mail with a L

Mass Stripping Attachments by Directory, Age, Size

2021-03-18 Thread Plutocrat
Hi, I've been looking around for a solution to this problem. I want to prune down the attachments on a server before a migration. Some of the emails are 7 years old and have 40Mb attachments, so this seems like a good opportunity to rationalize things. So perhaps I'd like to "Remove all attach