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
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
How can I set the flags for a saved message without search?
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
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
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,
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
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
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
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
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
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
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).
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?
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. :)
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.
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%"?
-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
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.
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
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
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
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
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" "
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
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:
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
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
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
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
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
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
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
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
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
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
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
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
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
Is there really no one with this problem?
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
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
Hello,
how I can in a public mailbox (mdbox), without user associated, the
command 'doveadm purge ...' can run?
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
44 matches
Mail list logo