# 2.0.9: /etc/dovecot/dovecot.conf

# OS: Linux 2.6.32-696.23.1.el6.x86_64 x86_64 Red Hat Enterprise Linux Server release 6.9 (Santiago)

disable_plaintext_auth = no

mail_location = mbox:~/mail:INBOX=/var/mail/%u

mbox_write_locks = fcntl

passdb {

  driver = pam

}

protocols = imap

service imap-login {

  inet_listener imap {

    port = 143

  }

  inet_listener imaps {

    port = 993

    ssl = yes

  }

}

ssl_ca = </etc/pki/dovecot/certs/appmail_chain_CA.pem

ssl_cert = </etc/pki/dovecot/certs/appmail_uconn_edu_X509_cert.cer

ssl_cipher_list = ALL:!LOW:!IDEA-CBC-SHA:!DES-CBC3-SHA:!EDH-RSA-DES-CBC3-SHA:!MEDUIM:!SSLv2:!EXP:!aNULL

ssl_key = </etc/pki/dovecot/private/appmail_key.key

userdb {

  driver = passwd

}

 

 

 

Hi, based on commands below, anyone know why i would get these errors ?

 

Jun 29 12:05:02 mail2 dovecot: imap-login: Login: user=<cec-support-comment>, method=PLAIN, rip=137.99.24.120, lip=137.99.90.68, mpid=6752, TLS

Jun 29 12:05:02 mail2 dovecot: imap(cec-support-comment): Error: user cec-support-comment: Initialization failed: Initializing mail storage from mail_location setting failed: mkdir(/home/cec_support_comment/mail) failed: Permission denied (euid=593(cec-support-comment) egid=594(cec-support-comment) missing +w perm: /home, euid is not dir owner)

 

 

Back story, user wanted names to have dashes and not underscores, I guess I may need to delete user accounts and just create them again…

 

usermod cec_support -l cec-support

usermod cec_support_comment -l cec-support-comment

 

from man page

-l, --login NEW_LOGIN

           The name of the user will be changed from LOGIN to NEW_LOGIN. Nothing else is changed. In particular, the userĀ“s home directory or mail spool

           should probably be renamed manually to reflect the new login name.

 

mv cec_support cec-support

mv cec_support_comment cec-support-comment

 

groupmod -n cec-support cec_support

groupmod -n cec-support-comment cec_support_comment

 

-n, --new-name NEW_GROUP

           The name of the group will be changed from GROUP to NEW_GROUP name.

 

 

 

 

-ANGELO FAZZINA

 

ITS Service Manager:

Spam and Virus Prevention

Mass Mailing

G Suite/Gmail

 

angelo@uconn.edu

University of Connecticut,  ITS, SSG, Server Systems

860-486-9075