First off my dovecot info:$ dovecot --version2.0.9Running on an Amazon Linux AMI EC2 instance.I've added this in my /etc/dovecot/conf.d/10-mail.confmail_location = maildir:/var/mail/virtual/%d/%nnamespace {    separator = /    prefix =    inbox = yes}This all works, then following numerous guides I try to add a Junk or SPam folder automatically, by changing the conf to:mail_location = maildir:/var/mail/virtual/%d/%nnamespace {    separator = /    prefix =    inbox = yes    mailbox Spam {      auto = create # autocreate Spam, but don't autosubscribe      special_use = \Junk    }}But restarting dovecot gives Starting Dovecot Imap: doveconf: Fatal: Error in configuration file /etc/dovecot/conf.d/10-mail.conf line 41: Unknown setting: mailboxI've found some other people with the same issue but no answers. This seems crazily simple and impossible. Any pointers are very gratefully received.
Dovecot auto folder creation Unknown setting: mailbox
amazon ec2;dovecot;spamassasin