[Dovecot] FTS cron script to force index updates

Stan Hoeppner stan at hardwarefreak.com
Thu Feb 25 09:00:02 EET 2010


From:  http://wiki.dovecot.org/Plugins/FTS

"You could also build a cronjob to index users' mailboxes once in a while
(by selecting each mailbox and issuing a SEARCH TEXT xyzzyx command)."


Has anyone written a script to perform the above?  If not, how would I do
this?  Would I write a shell script to telnet to the IMAP port and then
issue the commands?  Can this be done with a bash script?  Or would I need
something more serious like a perl script?

Thanks.

-- 
Stan


More information about the dovecot mailing list