The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Mail permissions

Discussion in 'E-mail Discussions' started by something_different, Oct 5, 2015.

  1. something_different

    something_different Registered

    Joined:
    Oct 5, 2015
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Canada
    cPanel Access Level:
    Root Administrator
    Hello everyone,

    I'd like to know what's correct permission for /home/user/mail/.user@domain.com ?

    As I know it should be set to 751, however, it's set to 777 by default, and running "repair mailbox permission" is not fixing it.
    I'm facing this error
    "dovecot_login authenticator failed for xxxxxxxxxxx 535 Incorrect authentication data" and clients are blocked in csf ( even if they are using correct user/password ). Checking on Google and this forum, it's advised to repair mailbox permissions, but is 777 permission correct?

    Any help or advice would be great.
    Thanks!
     
  2. Jcats

    Jcats Well-Known Member

    Joined:
    May 25, 2011
    Messages:
    275
    Likes Received:
    31
    Trophy Points:
    28
    Location:
    New Jersey
    cPanel Access Level:
    DataCenter Provider
    That's a symlink, wouldn't worry about that.

    You want to make sure etc is correct as that's what holds the user/pw

    Code:
    chown -R $user: /home/$user/etc ; chown $user:mail /home/$user/etc /home/$user/etc/passwd* /home/$user/etc/quota*
    Are you able to reproduce that yourself though, can you get one of their email / passwords and see if you can log into webmail, if no, try to set that password in cPanel, then try webmail again.
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    653
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Try reviewing /var/log/maillog and /var/log/exim_mainlog when attempting to reproduce the error message to see if you notice any additional output.

    Thank you.
     
Loading...

Share This Page