I'm trying to set up fetchmail, procmail, dovecot with IMAP.

I have fetchmail get mail from my pop3 account with procmail sending it to a maildir folder. This works, except that the owner:group of the mail in the maildir is fetchmail:mail with 600 permissions. This prevents dovecot from being able to list it in new,etc.

I tried setting fetchmailrc with set postmaster username but that doesn't work.

fetchmail is running in daemon mode.

Any ideas?