[Dovecot] FTS cron script to force index updates
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
On 2/25/10 1:00 AM -0600 Stan Hoeppner wrote:
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?
See the recent thread, "fts squat -> webmail ..."
-frank
participants (2)
-
Frank Cusack
-
Stan Hoeppner