LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 10-19-2020, 01:25 AM   #1
hrbappy
LQ Newbie
 
Registered: Oct 2020
Posts: 1

Rep: Reputation: Disabled
Question Can not let virtual mail user to change their own password via webmail


Hello everyone.!!!
I have prepared a mail server recently. I installed postfix, dovecot & roundcube on ubuntu 20.04. I installed roundcube via apt-get install and it installed roundcube 1.4.3. In dovecote configuration (/etc/dovecot/conf.f/10-auth.conf) I have below configuration>>

disable_plaintext_auth = yes
auth_mechanisms = plain login !include
auth-passwdfile.conf.ext

In /etc/dovecot/conf.d/auth-passwdfile.conf.ext file I have below configuration:

passdb {
driver = passwd-file args = scheme=PLAIN username_format=%u
/etc/dovecot/dovecot-users}

userdb {
driver = static args = uid=vmail gid=vmail
home=/var/mail/vhosts/%d/%n }

And I have listed my virtual users at dovecot-users file in below format:

user@domainassword

virtual Users login/logout, sending/receiving mails are working fine through roundcube.

But I can not figure out which password driver to use and how so that my users can change their own password. It will be appreciated if you look into my issue and help me.

Thanks in advance.
 
Old 10-29-2020, 10:09 PM   #2
Skaperen
Senior Member
 
Registered: May 2009
Location: center of singularity
Distribution: Xubuntu, Ubuntu, Slackware, Amazon Linux, OpenBSD, LFS (on Sparc_32 and i386)
Posts: 2,684
Blog Entries: 31

Rep: Reputation: 176Reputation: 176
it's been years since i ran a mail server, but i do remember password management issues on the dovecot side. you will need to configure dovecot to look up passwords in a database at a minimum. that or PAM. i remember being urged to make all mail users also be system users. but i didn't want to open up another security exposure. i didn't trust most of the users. in theory, someone might find my hidden ssh port. so i didn't go that way and i didn't want to use PAM. i don't remember my setup but it was some kind of database shared with postfix for outgoing submission authentication.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Non-root user cannot change own password nor can they ssh via putty taz.hasan Linux - Newbie 9 01-17-2020 01:46 PM
LXer: Intel Can't Ship Their Own Driver With Their MeeGo OS LXer Syndicated Linux News 0 07-16-2010 01:41 AM
Cannot change root password (let alone standard user's password) jbottiger Red Hat 4 01-06-2009 08:03 PM
User can change their own LOGNAME env variable davidstvz Linux - Newbie 12 08-25-2008 09:34 AM
Locking out a user when password expires, but allowing them to change their password kaplan71 Linux - Security 5 06-27-2008 07:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 01:17 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration