cannot write to etc/valiases and cannot login to webmail

clrockwell

Member
Jul 20, 2007
7
0
51
Hello,

Somehow my license got deactivated during unscheduled maintenance by my host.

I know get the Fatal error failure message because cpanel cannot write to /etc/valiases (error appears when attempting to create a new email account). I ran /scripts/fixvaliases/ and then the error is gone, but I am unable to login to webmail.

What happens is: 1. visit domain.com/webmail, enter in email address and password. 2. Taken to cpanel webmail page where I am given options to select Horde or Squirrelmail (above the options, it says - logged in as [email protected]) 3. select s - mail or horde and get a username password incorrect.

The logs show for imap, pop3 and spamd that prior to the outage they were all setting the uid to clrock (the owner), but after cpanel was reactivated, the uid is being set to root, and then it falls back to nobody. I think that if I know how to change the default uid this could all go away.

Also, this happens for all users, my host suggested I contact cPanel because they could not figure it out.

Thanks for any guidance
 

MaestriaNick

Well-Known Member
Aug 6, 2008
159
3
68
are you able to login to port 110 or your host with the same username and password ?

## telnet domain.com 110
Trying xx.xx.xx.xx...
Connected to domain.com (xx.xx.xx.xx).
Escape character is '^]'.
+OK Hello there.
user [email protected]
+OK Password required.
pass password
+OK logged in.


check as above and see whether you can login.
 

clrockwell

Member
Jul 20, 2007
7
0
51
MaestriaNick,

Thanks for the reply. I got it worked out though. After the licensing issue my hostname defaulted to the domain name rather than what it was previously set at.

Turns out the system was looking for 'user' rather than '[email protected]'.

Thanks again.