[imapfilter-devel] Interactive features bug

Michal Kolodziejczyk miko at wp.pl
Thu Dec 17 12:19:56 EET 2009


On 17.12.2009 08:57, Lefteris Chatzimparmpas wrote:
> On Wed, Dec 16, 2009 at 11:54:54PM -0600, David DeSimone wrote:
>> I would not want to argue that imapfilter should blindly accept a
>> certificate.  The big problem, as noted by others, is that imapfilter
>> blindly assumes that it is being run in an interactive terminal, and
>> wants to query the user about what to do with the new certificate.  The
>> correct thing to do in non-interactive mode is to print a useful error
>> message, and then exit.
> 
> Yes, that might be better.  Any other opinions and suggestions from the
> rest that reported this?

There is no better way IMO. Let the user decide what to do instead of
trying to fix it somehow - there are too many possible scenarios. Let
the imapfilter be simple and configurable as it already is.

BTW, you mentioned some time ago that you are considering to make
imapfilter as a regular lua module - is this still valid?

Regards,
	miko


More information about the Imapfilter-devel mailing list