Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
I tried to change the local delivery to deliver and now it got worse and now emails can't be received, postfix says there's no such user in "local recipient table"
It sounds like Postfix was working properly before, It was dovecot that was not forking as the authenticated user.
"Deliver" is dovecot's local delivery something. Since I thought the problem was related to the email delivery in the computer I thought it would fix it.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.