imapfilter icon indicating copy to clipboard operation
imapfilter copied to clipboard

--quiet option?

Open mzagrabe opened this issue 3 years ago • 1 comments

Greetings!

Thank you for writing imapfilter.

I am a new user and am planning on using imapfilter via cron. I'd like to only be notified of serious errors from cron's email.

When I ran a test of imapfilter it was a little noisy:

$ imapfilter 1 messages moved from [email protected]@imap.gmail.com/Ticket-Test to [email protected]@imap.gmail.com/Ticketed.

I'd rather not redirect to /dev/null to suppress all the output. Is there a --quiet option? If not, would you consider implementing one?

Thanks!

mzagrabe avatar Dec 07 '21 01:12 mzagrabe

All these messages are printed from the Lua part, and they are controlled by the info option (see imapfilter_config(5)).

So try setting options.info = false on the top of your config file.

lefcha avatar Dec 11 '21 18:12 lefcha