Community Forums
Connect with us on LinkedIn
Closed Thread
Results 1 to 10 of 10
  1. #1
    Member
    Join Date
    Jun 2004
    Posts
    7

    Default New Account Creation - Mail problem

    We recently upgraded our WHM/cPanel to 9.9.7/9.9.8-R5 and now we are having problems when creating new accounts.

    The problem is that when a new account is created, the mail/inbox does not have the proper permissions. It has 644 instead of 660 or 664. In essence, the inbox isn't writable by mail, and therefore exim cannot deliver emails to that user.

    Is anyone else having this problem? or know of a solution?

    thanks.

  2. #2
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    That's naughty. If it's not been mentioned in the ChangeLog as being fixed, I'd suggest you log it with cPanel.

    You can fix most mail permission issues with:

    /scripts/mailperm

    Though this is of course treating the symptons rather than the disease.
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  3. #3
    Member
    Join Date
    Jun 2004
    Posts
    7

    Default

    Well, I don't know what has happened, but it appears to be working now. We were looking at the wwwacct script, and wrote in some logging statements to see if it was doing what it was supposed to, and all of a sudden the permissions on new mail accounts were set correctly. We removed the logging lines that we added, and it's still working, so I don't know what the problem was, but it seems to be fixed

    I'll let you know if it happens again though.

    Another problem we're having though deals with virtual email accounts. Whenever a virtual email user creates a new folder, the group ID isn't being set correctly.

    Here is the problem.

    UserA has UID = 1 and GID = 1 (for example)
    if UserA_1 (virtual email user) creates an email folder, the new folder has UID=1 and GID=1

    UserB has UID = 2 and GID = 3
    If UserB_1 creates an email folder, the new folder has UID = 2 and GID = 2

    It seems that the IMAP server is created the folders with GID=UID rather than determining the user's GID.

    pretty complex problem and it took us a while to figure out what it was doing, but there it is. Any suggestions?

  4. #4
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    That sounds familiar. Have you searched bugzilla for it? If it's not there and you can reproduce it, I'd suggest logging it.
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  5. #5
    Member
    Join Date
    Jun 2004
    Posts
    7

    Default

    This looks like the problem I'm having here:

    Bug 355

    Edit:

    This one too: Bug 856
    Last edited by mruncieman; 11-05-2004 at 09:39 AM.

  6. #6
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    Thought I'd seen that mentioned recently If you haven't already, you could post about it here:
    http://forums.cpanel.net/showthread.php?t=31595

    But you might need to be quick about it.
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  7. #7
    Member
    Join Date
    Mar 2003
    Location
    Toronto, Ontario
    Posts
    65

    Default

    I have a problem with IMAP/Squirrelmail. More likely, it's a hard drive problem.

    "ERROR : Could not complete request.
    Query: CREATE "INBOX.Sent"
    Reason Given: CREATE failed: Can't create mailbox node /home2/: Permission denied"

    That's the error I'm getting. Problem is that /home2 no longer exists. The account is currently on /home. How do I go about fixing this problem?

    Thanks

  8. #8
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    Check the login path for the account in /etc/passwd as it may be wrong. You should also check (if there is one) that it is correct in cat /home/username/etc/passwd.
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  9. #9
    cPanel Partner NOC cPanel Partner NOC Badge Messiah's Avatar
    Join Date
    Jul 2006
    Posts
    22

    Default

    This may well be due to a partial conversion to maildir. Run /scripts/convert2maildir as root. If you see an option for "Convert partially converted mail accounts", use it. Run /scripts/mailperm afterwards.
    Layered Tech Dedicated Hosting
    http://www.layeredtech.com/

  10. #10
    Member isputra's Avatar
    Join Date
    May 2003
    Location
    Mbelitar
    Posts
    593

    Default

    Quote Originally Posted by Messiah View Post
    This may well be due to a partial conversion to maildir. Run /scripts/convert2maildir as root. If you see an option for "Convert partially converted mail accounts", use it. Run /scripts/mailperm afterwards.
    This is an old thread (11-04-2004) so i think the poster already have the answer years ago
    It's me ...... It's me ......

Similar Threads & Tags
Similar threads

  1. Replies: 7
    Last Post: 07-23-2011, 08:53 PM
  2. mail notification with account creation
    By atokatli in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 05-01-2006, 11:00 PM
  3. Account creation problem
    By patryk in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 02-26-2006, 12:29 PM
  4. WHM - Account Creation's mail
    By zamribishan in forum New User Questions
    Replies: 1
    Last Post: 02-17-2005, 12:01 AM
  5. Account Creation Problem
    By luitron in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 05-20-2004, 02:06 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube