Re: full-text index and search

2021-11-03 Thread Andrew Hearn
Yes, see the plugins page:-  https://wiki2.dovecot.org/Plugins



On Wed, 3 Nov 2021, 10:38 Yonghua Peng,  wrote:

> dear community
>
> Does dovecot have the plugins to implement full-text indexing and
> searching?
>
> Thanks a lot.
>
>


[Dovecot] Using a ramdisk but Timeout while waiting for lock for transaction log file

2010-03-02 Thread Andrew Hearn
Hello,

Dovecot 1.2.5, centos 5.4.

We are using NFS for mail, but indexes are local and on a ramdisk.

However I'm getting logs such as:

Mar 02 11:47:14 POP3(USERDELETED): Error: Timeout while waiting for lock
for transaction log file
/ramdisk/indexes/DOMAINDELETED/USERDELETED/.INBOX/dovecot.index.log

Our NFS is rather busy, and we having other warnings to that affect, but
 wouldn't have though we'd get timeouts on a ramdisk.

-- 
Andrew



[Dovecot] blocked for xx secs

2010-01-25 Thread Andrew Hearn
Hello,

Occasionally (a few times a day) we get batches of Warnings in the log
such as:
 dovecot: Warning: chdir(/maildir/x.co.uk/users/y) blocked for 18 secs
This tends to last a minute or so for different users.

/maildir is a NFS mount, and I'm suspecting it's the NFS server being
busy and dovecot having to wait.

Other than replacing the NFS server with faster hardware is there
anything else we can do?

Indexes are local, and Maildir is on the NFS.

Dovecot 1.2.5
using:
mail_nfs_storage = yes
mmap_disable = no


NFS mounted as;
/maildir on /.automount/a.diskless/root/mail type nfs
(nosuid,nodev,noatime,vers=3,proto=tcp)


TIA
-- 
Andrew


[Dovecot] More logging for Deliver (eg file name)

2009-12-09 Thread Andrew Hearn
Hello,

I can't see from the wiki if it's possible to log extra information with
Deliver - such as the file name it's using to save the message in (Maildir).

Currently I get the date, address, ID and folder, eg:

Dec 09 12:07:06 deliver(my_addr...@invalid): Info:
msgid=302ce8b50912090406y634d1340j96ebd54466a2d...@mail.gmail.com:
saved mail to INBOX.Lists.centos

Thanks.

-- 
Andrew


Re: [Dovecot] Dovecot Top?

2009-06-15 Thread Andrew Hearn
Timo Sirainen wrote:
 On Jun 11, 2009, at 11:23 AM, Andrew Hearn wrote:
 
 We occasional see high load peaks on our mail servers - these generally
 don't only last a few minutes. 'Top' show imap taking the lots of CPU
 resources, is there a dovecot 'top' like program to show dovecot which
 users are taking system resources?
 
 That is something I've wished to implement for a long time, but I never
 really have time. But v1.2 keeps track of various things and it would be
 possible to create some kind of a dovecot-top based on those. Currently
 there's a stats plugin that can log some of those things:
 http://dovecot.org/patches/1.2/stats-plugin.c
 
 Although that plugin doesn't currently log what I added most recently:
 http://www.mail-archive.com/dovecot@dovecot.org/msg18477.html
 
 

Thanks Timo,

Thanks for the info, I'll look forward to this...

-- 
Andrew Hearn.


[Dovecot] Dovecot Top?

2009-06-11 Thread Andrew Hearn
Hello,

We occasional see high load peaks on our mail servers - these generally
don't only last a few minutes. 'Top' show imap taking the lots of CPU
resources, is there a dovecot 'top' like program to show dovecot which
users are taking system resources?

Or how else can this kind of thing be tracked down?

(v1.1.7)

Thanks.

Andrew.


[Dovecot] Dovecot to call sa-learn?

2008-04-10 Thread Andrew Hearn

Hello,

We offer our users to learn spam/ham by using folders called 'learnham' 
or 'learnspam'. We currently use a cron job and use find to search 
through all the folders to find folders called learn-spam and then call 
sa-learn etc to process each message.


Is there away that dovecot can call a script when a message is moved to 
a particular folder? It seems to me that this would be more efficient 
than using find, and would get the messages learnt as soon as they are 
moved in to the learning folders.


Andrew.