I'm using mail server using postfix+dovecot (over TLS/SSL), RainLoop as my WebClient, and using auth-system.conf.ext so user's password will be read by/from pam.

Consider at least 10 users using this mail-server everyday, so it's not a good idea to give them shell access, so I changed their shell to /sbin/nologin.

Everything is working great, but users cannot change their password. At the current state, RainLoop, OutLook, ThunderBird and etc. are not able to let the user change his/her password. There is something in RainLoop, called poppassd, I'm not sure if this can help me or not. I'm open to any solution, I just need to know what I should do to let them change their password, and I have no idea myself. Thanks in advance.

  • 2
    Email users should be in MySQL, not in PAM, and certainly not as system users. – Rui F Ribeiro Oct 1 '16 at 11:11
  • @RuiFRibeiro Can they easily change their password with no extra means in that case? – Parsa Samet Oct 1 '16 at 11:12
  • @RuiFRibeiro I'm not an expert in using MySQL, I'll be highly thankful if you can help me a bit by explaining a bit more details. – Parsa Samet Oct 1 '16 at 11:16
  • If you give them webmail access they can change their own passwords. In my case, users are synchronised with our AD. Beware poppassd changes the system passwords, is a concept from the 90s when Eudora was king and dinosaurs roamed the earth, and is a security risk. – Rui F Ribeiro Oct 1 '16 at 11:19
  • Setting up a postfix server properly configured is not an easy task linode.com/docs/email/postfix/… – Rui F Ribeiro Oct 1 '16 at 11:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.