may not be appropriate question but figured what the hay... -- Dovecot

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

may not be appropriate question but figured what the hay... -- Dovecot

Fazzina, Angelo

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

 

[hidden email]

University of Connecticut,  ITS, SSG, Server Systems

860-486-9075

 

Reply | Threaded
Open this post in threaded view
|

RE: may not be appropriate question but figured what the hay... -- Dovecot

Fazzina, Angelo

Case closed…

 

I was lazy and did not want to do all that work I recreating the accounts so I found the error

 

In /etc/password it looked like this

 

cec-support:x:592:593::/home/cec_support:/bin/bash

cec-support-comment:x:593:594::/home/cec_support_comment:/bin/bash

 

I changed it to this

 

cec-support:x:592:593::/home/cec-support:/bin/bash

cec-support-comment:x:593:594::/home/cec-support-comment:/bin/bash

 

 

 

-ANGELO FAZZINA

 

ITS Service Manager:

Spam and Virus Prevention

Mass Mailing

G Suite/Gmail

 

[hidden email]

University of Connecticut,  ITS, SSG, Server Systems

860-486-9075

 

From: [hidden email] <[hidden email]> On Behalf Of Fazzina, Angelo
Sent: Friday, June 29, 2018 1:00 PM
To: Postfix users <[hidden email]>
Subject: may not be appropriate question but figured what the hay... -- Dovecot

 

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

 

[hidden email]

University of Connecticut,  ITS, SSG, Server Systems

860-486-9075