Re: sieve match with contain asterisk

2021-07-03 Thread Hardy Flor
Thanks for the hint. But that means the keyword can be within the subject. I actually only wanted to look for it at the beginning. Am 03.07.2021 um 00:17 schrieb Robert L Mathews: Use ":contains" instead of ":matches": if header :contains "Subject" "*xyz*" In ":contains", asterisks aren't wild

sieve match with contain asterisk

2021-07-02 Thread Hardy Flor
Hello, I want to find a keyword in the subject between two "*". How do I have to mask the "*" correctly? I tried: if header :matches "subject" "\*xyz\**" if header :matches "subject" "\\*xyz\\**" Hardy

doveadm save message ...

2015-07-10 Thread Hardy Flor
How can I set the flags for a saved message without search?

Re: Testing SHA512-CRYPT password hashes with doveadm pw -t fails

2015-06-03 Thread Hardy Flor
doveadm pw -t '{SHA512-CRYPT}$6$8FfoioQWQDR/Vuzu$ynKiO/E6Xf4dMvfx2LsP9KQotqy5cEOEppnEh5Hqe1UpCYAgOwSIJlNb0O65fxdYcRZH3gNFQ7ZOM/2kD/R811' -p test You have $ in the password, see man-page of shell ... Am 04.06.2015 um 05:29 schrieb Felix Zielcke: > oveadm pw -t > {SHA512-CRYPT}$6$8FfoioQWQDR/Vuzu

Re: Why are here ignore a simple question?

2015-04-11 Thread Hardy Flor
I've also looked at the source code. But my attempt to output the UID fails because of the error message: doveadm-mail save.c: 62: 36: error: dereferencing pointer to incomplete type in the line: printf("uid =%s\n", dec2str(save_ctx->dest_mail->uid)); Am 11.04.2015 um 08:46 schrieb Gedalya: Unf

Re: Why are here ignore a simple question?

2015-04-10 Thread Hardy Flor
I had been on 3/12/2015 pointed to the lack of documentation of "doveadm save". It was in the changelog of 2.2.16. Am 10.04.2015 um 23:39 schrieb Gedalya: > On 04/10/2015 05:10 PM, Hardy Flor wrote: >> >> Am 06.04.2015 um 09:36 schrieb Hardy Flor: >>> Hello,

Why are here ignore a simple question?

2015-04-10 Thread Hardy Flor
Am 06.04.2015 um 09:36 schrieb Hardy Flor: > Hello, > > when I have with "doveadm save ..." store a message, how do I get the > guid or uid of this message for the setthe flags? > > Hardy

Re: doveadm save ...

2015-04-07 Thread Hardy Flor
No one has a suggestion? Am 06.04.2015 um 09:36 schrieb Hardy Flor: > Hello, > > when I have with "doveadm save ..." store a message, how do I get the > guid or uid of this message for the setthe flags? > > Hardy

doveadm save ...

2015-04-06 Thread Hardy Flor
Hello, when I have with "doveadm save ..." store a message, how do I get the guid or uid of this message for the setthe flags? Hardy

Re: Deleting empty folders

2015-04-01 Thread Hardy Flor
An administrator should be able to write a small script from my first post in this thread (to the search of empty mailboxes and the command to delete), in order to not having to access the files. Hardy Am 01.04.2015 um 11:28 schrieb @lbutlr: > find /path/to/clean -type d -empty -delete

Re: Deleting empty folders

2015-03-21 Thread Hardy Flor
Hello Samuel, with mdbox as Maildir no direct file operations should beperforms. For empty mailboxes that will ever happen, the "doveadm mailbox delete" deletes the emails, if required in the mailbox. Hardy Am 21.03.2015 um 11:48 schrieb Samuel Williams: Thanks Hardy. I have 1600 folders to

Re: Deleting empty folders

2015-03-21 Thread Hardy Flor
With doveadm mailbox status -u ... messages"*" There is a list of folders and the number of messages and then with doveadm mailbox delete -u ... "" to delete. Am 20.03.2015 um 21:18 schrieb Samuel Williams: So, along with the problem of lots of folders ending in 1 1 1 1, I'd like to have a strat

Re: v2.2.16 released

2015-03-12 Thread Hardy Flor
For this no man-page available. Am 12.03.2015 um 18:30 schrieb Timo Sirainen: + doveadm: Added "save" command to directly save mails to specified mailbox (bypassing Sieve).

Re: location of dovecot.rawlog-directory

2015-03-12 Thread Hardy Flor
When I set in the home-variable in the userdb-section on my request directory and not used the home-dirctory in the configuration, have what can be expected for other effects?

Re: location of dovecot.rawlog-directory

2015-03-12 Thread Hardy Flor
I want running servers, not with each new version have to compile. Am 12.03.2015 um 12:07 schrieb Steffen Kaiser: Patch rawlog.c and recompile. :)

location of dovecot.rawlog-directory

2015-03-12 Thread Hardy Flor
How is it possible to have the dovecot.rawlog-directory outside the mail_location? A link to another directory is not because it is checked in rawlog.c S_ISDIR to directory.

dec2str ...

2015-03-11 Thread Hardy Flor
a very stupid question: What reason is there for an output with printf until dec2str to convert the numeric value to a string and not to use the format identifier "%d" or "u%"?

Re: rawlog with -i not worked

2015-03-11 Thread Hardy Flor
-390,7 +390,7 @@ argv += optind; if (argc < 1) - i_fatal("Usage: rawlog [-f in|out] [-i] [-b] [-t] "); + i_fatal("Usage: rawlog [-f in|out] [-a] [-b] [-t] "); master_service_init_log(master_service, "rawlog: &quo

Re: Deduplicate Public Folder

2015-03-11 Thread Hardy Flor
use the -o for doveadm: doveadm -o "mail_location=mdbox:/:LAYOUT=fs" ... Am 10.03.2015 um 21:06 schrieb Bobber: How do you perform the doveadm deduplicate command on public folders? If I specify a user, nothing is found. Using -A also doesn't seem to work.

Re: rawlog with -i not worked

2015-03-10 Thread Hardy Flor
This option was added at Mon Jul 21 10:53:19 2014 +0300 http://hg.dovecot.org/dovecot-2.2/diff/fbf434ad2485/src/util/rawlog.c Hardy Am 10.03.2015 um 08:38 schrieb Steffen Kaiser: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, 9 Mar 2015, Hardy Flor wrote: I have the rawlog enabled

rawlog with -i not worked

2015-03-09 Thread Hardy Flor
Hello, I have the rawlog enabled according to the manual:http://wiki2.dovecot.org/Debugging/Rawlog Without -i everything is wonderful, a coredump is with the -i parameter created service imap-postlogin { executable = script-login -d rawlog -i us

Re: v2.2.16 release candidate released

2015-03-09 Thread Hardy Flor
This easy to correct errors is unfortunately still exists. I once hung my solution, but I can only test on a system. # dovecot --version 2.2.16.rc1 # doveadm -f table mailbox status "messages guid" -u flor_hardy "*" mailbox messages guid Trash 060a619171f66fd5403584b126f5b Entw

Re: v2.2.16 release candidate released

2015-03-08 Thread Hardy Flor
Instead of deleting it, it should be marked "deleted" by renaming only. If it is then required, so it can be recovered. This directory can be deleted by another control process that searches the mbox files for references. What has become of the question that attachments are not only saved as

Re: Rebuilding SIS attachment links from log

2015-03-04 Thread Hardy Flor
I use this script for review. For a correct result Dovecot should not run. #!/bin/bash attdir="/var/files/attachments" maildir="/var/mail" cd "$attdir" || exit 1 find -type f -printf "%P\n" | grep -v "hashes" | sort -u >"$maildir/attachments.s" cd "$maildir" || exit 2 rm "$maildir/files.ok" "

Re: IP drop list

2015-03-01 Thread Hardy Flor
fail2ban blocked dynamically addresses for a period of time. It has a module for dovecot. I wonder if there is an easy way to provide dovecot a flat text file of ipv4 #'s which should be ignored or dropped? I have accumulated 45,000+ IPs which routinely try dictionary and 12345678 password a

Re: mdbox attachment errors

2015-02-27 Thread Hardy Flor
copy file "f6f4f3b882bf3488af632389d4aaba8adc332b12" from backup to "/var/mail/attachments/f6/f4/hashes/f6f4f3b882bf3488af632389d4aaba8adc332b12" and create hardlink to "/var/mail/attachments/f6/f4/f6f4f3b882bf3488af632389d4aaba8adc332b12-60ab750a1aa4b554da169db5accb" Am 26.02.2015 um 21:

Re: btrfs for mail_attachment_dir

2015-02-25 Thread Hardy Flor
I have posted this in the German-debian forum: https://debianforum.de/forum/viewtopic.php?f=9&t=154096 The result was that it still does not work. I have the kernel with version 3.13.33 According to [0] (and the links in there), this problem has been long solved. [0]http://en.wikipedia.o

btrfs for mail_attachment_dir

2015-02-25 Thread Hardy Flor
Hello, I don't find any indication, that no btrfs for then filesystem for the path in "mail_attachment_dir" is to be used. but btrfs has a big problem with hard links in the same directory. Nuisance is the only deal with a different file system? Hardy

incorrect column width for multi-byte characters by'doveadm -f table'

2014-12-03 Thread Hardy Flor
In calculating the column width multi-byte characters (eg umlauts, utf8) not properly analyzed: Username mailboxmessages guid sh_berger Spam 0 a7b32818c14e5b54bf556ad9a53c sh_berger Entwürfe 0 a4b32818c14e5b54bf556ad9a53c sh_berger Papierkorb 0 a6b3

call postlogin script with doveadm exec

2014-08-07 Thread Hardy Flor
Hello, how is a call to the imap-postloginscriptes possible when starting with doveadm exec imap? In the imap-login-post script will set the ACL_GROUP. Hardy

BUG: dovecot -n writes no usable configuration file

2014-07-16 Thread Hardy Flor
Hello, For testing, I wanted to make create a small configuration file of dovecot. This created file but did not work imap-postLogin. It missing the lines: unix_listener imap-postlogin { } in the section "service imap-postLogin". Hardy

Panic: file mail-index.c: line 650 (mail_index_close): assertion failed: (index->open_count > 0)

2014-07-14 Thread Hardy Flor
Hello, I'm use the virtual plugin for list all unread messages in the public namespace. Every time the connection is terminated with this error message when I select the virtual/projekte mailbox. Do not show any emails. The version is build today from source 2.2.13.auto+102 Hardy *** doveco

Re: [Dovecot] mdbox-files over 2 MB

2014-07-11 Thread Hardy Flor
Am 17.03.2014 07:38, schrieb Hardy Flor: Hello, I received an e-mail, this includes 9 forwarding, each with a file. These files are not removed from the e-mail and stored in the attachments-directory, although they are larger than 16 KB. For all files the "Content-Transfer-Encoding: b

Re: imap(hardy): Panic: file istream-tee.c: line 138 (i_stream_tee_read): assertion failed: (last_high_offset == input->v_offset + size)

2014-07-11 Thread Hardy Flor
Am 04.07.2014 14:34, schrieb Timo Sirainen: On 4.7.2014, at 10.59, Hardy Flor wrote: Dovecot version is 2.2.13-auto+84 Am 03.07.2014 17:47, schrieb Timo Sirainen: On 3.7.2014, at 15.52, Hardy Flor wrote: I'm copy with imapsync (on the new server with dovecot) with a single use

Re: imap(hardy): Panic: file istream-tee.c: line 138 (i_stream_tee_read): assertion failed: (last_high_offset == input->v_offset + size)

2014-07-04 Thread Hardy Flor
Dovecot version is 2.2.13-auto+84 Am 03.07.2014 17:47, schrieb Timo Sirainen: On 3.7.2014, at 15.52, Hardy Flor wrote: I'm copy with imapsync (on the new server with dovecot) with a single user all mails from a old server to the new server. The error-message ist after 20-30 minutes i

imap(hardy): Panic: file istream-tee.c: line 138 (i_stream_tee_read): assertion failed: (last_high_offset == input->v_offset + size)

2014-07-03 Thread Hardy Flor
Hello, I'm copy with imapsync (on the new server with dovecot) with a single user all mails from a old server to the new server. The error-message ist after 20-30 minutes in the log, and I must restart the imapsync. The next mail is normal store on the destination box. Hardy

remove unreferenced files from mail_attachment_dir

2014-06-27 Thread Hardy Flor
Hello, I restore a backup from all users (mail_location ...) the mail_attachment_dir backup was not from the same time. How can I the unreferenced files from mail_attachment_dir? Hardy

Re: [Dovecot] mdbox-files not approximately 2 MB

2014-06-27 Thread Hardy Flor
Hardy Flor: there are copies with different size in 3 mailboxes of the user sequentially about 3800 emails. why not something 2MB files? - doveconf: # 2.2.12: /etc/dovecot/dovecot.conf # OS: Linux 3.2.0-4-amd64 x86_64 Debian 7.4 ext4 mail_attachment_dir = /var

Re: [Dovecot] mdbox-files over 2 MB

2014-05-06 Thread Hardy Flor
Sorry, I thought the tree display of threads is sufficient. I did not want to quote much. Am 05.05.2014 16:16, schrieb Reindl Harald: Am 05.05.2014 16:10, schrieb Hardy Flor: Is there really no one with this problem? next time quote the problem instead demand others to seek for you in the

Re: [Dovecot] mdbox-files over 2 MB

2014-05-05 Thread Hardy Flor
Is there really no one with this problem?

[Dovecot] mdbox-files over 2 MB

2014-03-16 Thread Hardy Flor
Hello, I received an e-mail, this includes 9 forwarding, each with a file. These files are not removed from the e-mail and stored in the attachments-directory, although they are larger than 16 KB. For all files the "Content-Transfer-Encoding: base64" is set. The email is stored in completely

[Dovecot] mdbox-files not approximately 2 MB

2014-03-16 Thread Hardy Flor
Hello, there are copies with different size in 3 mailboxes of the user sequentially about 3800 emails. why not something 2MB files? After the big file "m.0034" with 14MB follow very many small ... - doveconf: # 2.2.12: /etc/dovecot/dovecot.conf # OS: L

[Dovecot] purgewith doveadm without user (public mailbox)

2014-03-16 Thread Hardy Flor
Hello, how I can in a public mailbox (mdbox), without user associated, the command 'doveadm purge ...' can run?

[Dovecot] Panic: file mail-index-map.c: line 547 (mail_index_map_lookup_seq_range): assertion failed: (first_uid > 0)

2014-03-11 Thread Hardy Flor
Version: 2.2.12 OS: Debian wheezy x86_64 2014 Mar 11 20:06:53 ptb-test imap(flor_hardy): Panic: file mail-index-map.c: line 547 (mail_index_map_lookup_seq_range): assertion failed: (first_uid > 0) 2014 Mar 11 20:06:53 ptb-test imap(flor_hardy): Fatal: master: service(imap): child 2760 killed wi