Is it possible to automatically accept a fingerprint mismatch?
As far as I can tell from looking at the code, this isn't currently possible. The "certificates" option defaults to true so my certificate is stored for future connections - although my choice to accept the mismatch is not stored.
Can an option be added please? Probably this app is going to mostly be used non-interactive so it would be really useful.
It doesn't look too hard to add another configuration value - I'll have a go at writing a patch unless you suggest otherwise.
It's not possible to ignore fingerprint mismatches, but it is possible to disable certificate checking all-together. You can do this by setting the following in your configuration:
options.certificates = false
Ignoring fingerprint mismatches does not make much sense, since that's the whole purpose of certificate checking; ie. to warn the user when there is a fingerprint mismatch. Thus by disabling the whole certificates infrastructure you get the same result.
OK cool thanks for this. You're obviously right about the fingerprints - I'll take that up with my provider.
BTW, I never could get imapfilter to build under debian wheezy. I installed all potentially relevant *-dev libs but always got one of these:
imapfilter.h:9:17: fatal error: lua.h: No such file or directory
On Debian or Debian-based distributions you can compile with:
make INCDIRS=-I/usr/include/lua5.1 LIBLUA=-llua5.1