[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [mpop-users] filter: how to tell mpop to stop retrieving message headers?
Hi!
On Tue, 9 Jun 2015 16:32:04 -0300, Douglas A. Augusto wrote:
> On 09/06/2015 at 20:14,
> Martin Lambers <marlam@...1...> wrote:
>
> > I don't have the time to implement this, but would probably accept
> > patches if the stopping of retrievals is implemented cleanly.
>
> Hi,
>
> That's okay, I'll look at it later. For now, I'm thinking as a dirty
> workaround to simply kill the mpop instance. Would this have any
> unintended effect?
>
It should not. Mpop should catch SIGTERM (and SIGINT, SIGHUP) and
then exit cleanly and update the UIDLS file correctly. However, it will
return the error code EX_TEMPFAIL. If you encounter any other problem,
then that is a bug.
Regards,
Martin