[Dovecot] Update Dovecot index files on maildrop delivery?
Kārlis Repsons
karlis.repsons at gmail.com
Fri Jan 15 16:56:23 EET 2010
On Friday 15 January 2010 14:44:07 Eduardo M KALINOWSKI wrote:
> On Sex, 15 Jan 2010, Kārlis Repsons wrote:
> > On Friday 15 January 2010 12:20:05 Eduardo M KALINOWSKI wrote:
> >> On Sex, 15 Jan 2010, Kārlis Repsons wrote:
> >> > is there some easy way to inform Dovecot about a new delivery, which
> >> > has happened after postfix invoked maildrop, so the index files would
> >> > be updated?
> >>
> >> That's exactly the task for which dovecot deliver was made.
> >
> > But maybe you could also post a short info on how should deliver be
> > called?
> >
> > I read that "The Dovecot LDA, called deliver, is a local delivery agent
> > which takes mail from an MTA and delivers it to a user's mailbox, while
> > keeping Dovecot index files up to date."
> > However in my case maildrop seems to be in the place of deliver.
> > Would it work
> > if maildrop had deliver called by xfilter with the options appended, then
> > followed by "to /dev/null"?
>
> I don't know maildrop, so I can't tell if this would work. But the
> idea is to use deliver instead of maildrop, unless you need something
> that only maildrop can do.
>
> In this case, I'd leave things as they are and not worry about
> indexes. When the mail folder is opened next time dovecot will notice
> the new messages and update the indexes.
But I think, client MUA will not be timely notified of the new mail, which
might happen for one together with index updating (wouldn't it?)...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
Url : http://dovecot.org/pipermail/dovecot/attachments/20100115/af53e775/attachment.bin
More information about the dovecot
mailing list