Hi all,

 

We have a Postfix server that serves as an alias MTA to route to other mail systems. I’ve recently installed Dovecot on it because we have three service accounts that need simple POP3 mailboxes. I have the accounts set up on the system and mail does get delivered to their ~/Maildir/ locations by Postfix, however, every time a message is dropped in the Maildir for the user, the permissions for the message are set to the user’s uid:gid and Dovecot can’t access the mail message. Doing a chmod fixes it temporarily until the next message drops.  The vmail group has access to the user’s home folder structure.

 

Any help is appreciated!!

 

Dovecot: 2.2.36

 

/etc/dovecot/dovecot.conf:

 

auth_debug = yes

disable_plaintext_auth = no

first_valid_uid = 1002

log_path = /var/log/dovecot.log

mail_debug = yes

mail_home = /srv/mail/%Lu

mail_location = maildir:~/Maildir

mbox_very_dirty_syncs = yes

 

namespace {

  inbox = yes

  location =

  prefix =

  separator = /

}

passdb {

  driver = pam

}

service auth-worker {

  user = root

}

userdb {

  args = blocking=no

  driver = passwd

  override_fields = uid=vmail gid=vmail

}

 

Thanks,

Randy