Postfix+Dovecot Maildir file ownership
I've got a Postfix + Dovecot mail configuration in a CentOS 5 box. Emails get send properly, mail scanner and spamassasin work as supposed, but without manually changing file permissions, you can't check mails neither from squirrel mail nor terminal's telnet.
The file gets the ownership from the LDAP user that it was addressed to, with Read and Write perms, Group is domain users, with no perms, and neither world has perms. Dovecot is using a vmail user and group to access this mails, therefore not having the appropiate permissions to open them. I need to either change the receiving permissions or Dovecot permissions to change with the logged on user. There's an active connection to the AD that houses this users. *Note: I am still unsure if I got the email server model correctly. I've been messing around this programs config files, with no change yet... |
The Dovecot imap or pop processes should fork as the user who authenticates so that they can have access, the mails are getting stored with the correct permissions. There is something weird in your dovecot config.
|
Quote:
Here's postconf -n Code:
alias_database = hash:/etc/aliases Code:
# 1.0.7: /etc/dovecot.conf |
I dont know what this means.
Quote:
|
Quote:
Ok, your first post was right. Everything works right. But not with the configuration that was set when I got that box, so I deleted postfix and dovecot and once they were reinstalled after the basic configuration they worked. The mails were sent as the AD user, and retrieved as the AD user. Dunno which of the config parameters messed that but... it's solved now. |
All times are GMT -5. The time now is 04:40 AM. |