mail_attachment_detection_options not working

Alessio Cecchi alessio at
Fri Mar 9 12:27:18 EET 2018


I enabled mail_attachment_detection_options on dovecot 2.2.34, in 
10-mail.conf I have:

mail_attachment_detection_options = add-flags-on-save

but when an email is delivered in mailbox (Maildir) via LMTP no flag 
(HasNoAttachment or HasAttachment) was added.

In dovecot-keywords file I have:

0 $HasNoAttachment
1 NonJunk
2 $HasAttachment

so I thinks that the feature was eanbled but is unable.

What am I doing wrong?


Alessio Cecchi
Postmaster @

More information about the dovecot mailing list