On Thu, 2010-06-03 at 09:48 -0700, David Jonas wrote:
Is there an obvious way around this? I know I could somehow merge the changes into the running sqlite db but that undermines the simplicity of the design I have. Maybe a patch to reopen the db if it's replaced? Or perhaps I should just switch to a different db format -- that's probably the quickest/easiest solution. Any other ideas? There are about 20k entries to deal with.
the HUP reload method is only available on dovecot 2.0. Make sure you're using that version to do that; otherwise, killall dovecot and then dovecot.
wrong (I didnt see this post else I'd reply directly, likely eaten by spam rules, I dunno)
HUP works in some cases, but can cause dovecot to exit completely in others, the O.P should try killall -USR1
I should have specified that this is dovecot 1.2.7. The sighup seems to work just fine except for the effect I've outlined.
perhaps time to consider MySQL, and perhaps a later version of Dovecot :)
Cheers