Asterisk not polling IMAP storage

For the life of me I can’t get Asterisk to poll IMAP storage. I have the following in voicemail.conf:

[general]
pollmailboxes=yes
pollfreq=30

Along with everything else needed to connect to IMAP. I can leave messages and check messages from the phone. I turn debug on and Asterisk is silent. It never polls.