Displaying 15 results from an estimated 15 matches for "searchquery".
2006 Jul 10
1
Serializing objects to the database
I have a rails app that has a search mechanism with a bunch of
options. I''ve consolidated all the search parameters into a
SearchQuery class. Now I want to store searches to be recalled later.
I searched the wiki but couldn''t find any pages about how to do this
best. I''m worried that if I just serialize the object I won''t be able
to change the class without breaking the searches that are already in
the d...
2016 Dec 28
2
expunging all mailboxes
Evidently, the 'doveadm expunge' command requires a "mailbox" to be defined
in the search string.
But is there a way tell it all mailboxes for a user? For example, something
like:
doveadm expunge -u user at domain mailbox ALL savedbefore 30d
Thanks,
Michael
2016 Dec 30
2
expunging all mailboxes
...a user? For example,
> something
> > like:
> >
> > doveadm expunge -u user at domain mailbox ALL savedbefore 30d
>
> try:
> doveadm expunge -u user at domain ALL savedbefore 30d
>
> just like the example thats here:
> http://wiki2.dovecot.org/Tools/Doveadm/SearchQuery
I already tried that. Did you?
For me, expunge returns an error that says the mailbox must be listed.
Also, that example is for search, not expunge.
So, the original question remains: is there a way to specify all mailboxes
for a user?
Michael
2018 Dec 09
1
QUERY string clarification
The manpage
https://wiki.dovecot.org/Tools/Doveadm/SearchQuery
specifies:
BODY string
Matches messages, which contain string in the body part.
and a bit further down:
TEXT string
Matches messages, which contain string in the message body.
Where's the difference?
--
Ralf Hildebrandt
Gesch?ftsbereich IT | Abteilung Netzwerk
Charit? - Universit?tsme...
2015 Feb 17
2
Help with archive server
Hi,
I want to build a system where 6 months old mail to be moved to
archive server to keep my mailbox clean and fast.
Is there any way to achieve the same using any pre-built binary shipped
with dovecot ?
Thanks and Regards
Joy
2014 Dec 27
0
Deleting files in sdbox
...s to operations:
1. you need to mark the mail for deletion, means you need to expunge it, then
2. you need to purge it.
Purging all your mailboxes should be done in a maybe daily run cron job.
And how to construct a dovecot search query is documented here:
http://wiki2.dovecot.org/Tools/Doveadm/SearchQuery
You could use the message UID to delete those pesky messages maybe.
Of course you could try deleting those messages on your own and run
afterwards a doveadm index. This should also do the job.
2015 Feb 17
0
Help with archive server
...rom your active mailbox to your
archive mailbox for mail older then 6 months
http://linux.die.net/man/1/imapsync
watch
[--maxage <int>]
[--minage <int>]
for archive mailbox on the same dovecot server
http://wiki2.dovecot.org/Tools/Doveadm/Move
http://wiki2.dovecot.org/Tools/Doveadm/SearchQuery
may also solve it
Best Regards
MfG Robert Schetterer
--
[*] sys4 AG
http://sys4.de, +49 (89) 30 90 46 64
Franziskanerstra?e 15, 81669 M?nchen
Sitz der Gesellschaft: M?nchen, Amtsgericht M?nchen: HRB 199263
Vorstand: Patrick Ben Koetter, Marc Schiffbauer
Aufsichtsratsvorsitzender: Florian Kir...
2016 Dec 29
0
expunging all mailboxes
...is there a way tell it all mailboxes for a user? For example, something
> like:
>
>
>
> doveadm expunge -u user at domain mailbox ALL savedbefore 30d
try:
doveadm expunge -u user at domain ALL savedbefore 30d
just like the example thats here:
http://wiki2.dovecot.org/Tools/Doveadm/SearchQuery
2016 Dec 30
0
expunging all mailboxes
...ething
>>> like:
>>>
>>> doveadm expunge -u user at domain mailbox ALL savedbefore 30d
>>
>> try:
>> doveadm expunge -u user at domain ALL savedbefore 30d
>>
>> just like the example thats here:
>> http://wiki2.dovecot.org/Tools/Doveadm/SearchQuery
>
> I already tried that. Did you?
> For me, expunge returns an error that says the mailbox must be listed.
> Also, that example is for search, not expunge.
>
> So, the original question remains: is there a way to specify all mailboxes
> for a user?
doveadm expunge -u <us...
2019 Aug 27
1
Group emails based on custom header
Hi,
Can i "group by" e-mails based on custom header in imap?
According to my experience if i use "XX UID SEARCH INTHREAD REFS HEADER
myheader myvalue" i receive? emails UID gathers by HEADER+VALUE, but in
this way i need to fetch all emails using several imap SEARCH.
Has dovecot any features that would help me do this?
Thank you!!
-------------- next part --------------
An
2011 Mar 20
2
Question about "extracting" unwanted e-mails from mdbox
Imagine the following scenario
Last Saturday, 3:00 AM a big phishing attack hits our e-mail inboxes. Spamassassin does not mark them as spam, and our 50.000+ users have in their mdbox a very credible phishing attack. What doveadm-fu could I use to delete (or move to spam) that e-mail from each user INBOX (let?s imagine the Subject or a Header is known)?
I repeat: already delivered e-mail, how
2014 Dec 26
2
Deleting files in sdbox
Hello,
I'm curious as to what happens if I were to manually delete files in
an sdbox on the server. A long time ago -- I'm not sure how, as it was
several years ago -- something happened and a number of users got a
large number of mail messages duplicated. Literally duplicated -- all
headers, all body content.
I have a script that can find these duplicated messages (by ignoring
the first
2016 Dec 30
3
expunging all mailboxes
> doveadm expunge -u <user> mailbox '*' savedbefore 30d
That doesn't work for me either. The command is accepted, but the messages
are not expunged.
I guess my search/fetch will just have to return the mailbox name, in
addition to other fields, and then I'll need to loop through the mailbox
names and perform multiple expunges for each user. I understand the desire
to
2013 Jul 08
2
Mailbox statistics (sdbox / indexes) (+ wiki2 frontpage notes)
Hi,
I used to, with a simple script, loop over the filenames in a Maildir,
grab the From from the contents of the file and grab the flags
(especially "READ" and "REPLIED") from the filename, but after moving to
sdbox these flags are hidden in the index file.
Is there anyway to get these out of there programmatically without
having to resort to using an imap-client or is that
2008 Jun 04
5
Mounting cifs shares by non-root users on CentOS 4.6
I'm trying to set up mounting of a Windows share for non-root users via
/etc/fstab on a CentOS 4.6 box - I've followed the instructions at:
<http://wiki.centos.org/TipsAndTricks/WindowsShares>
Using something like the /etc/fstab example given in the wiki page
(with, of course, using a valid share, username and password for my set up):
//winbox/getme /mnt/win cifs