Monthly Archives: October 2016

Incorrect DiskSpace and Information in cPanel

While working on one clients vps for incorrect disk usage  stats for mails

While the default cpanel has no emails the usage stats showed 750MB.

After going through I found a issue which was causing this

The file causing this issue was maildirsize

maildirsize is the file which shows stats information for each account

root@vps [/home/designse]# find . -iname maildirsize
./mail/designserver.net/gordon/maildirsize
./mail/designserver/gordy/maildirsize
./mail/designserver/auctions/maildirsize
./mail/designserver/homemedia/maildirsize
./mail/maildirsize

I went ahead and deleted the file to fix this issue.
root@vps [/home/designse]# cd mail/
root@vps [/home/designse/mail]# rm -rf maildirsize
root@vps [/home/designse/mail]#

Now all stats shows right details

 

 

 

 

Emails going to Spam folder issue

We do get complaints of emails going to spam folder most of the times while working.

The solution to such a issues depends on 3 things

  1. rdns for the IP address and matching A record for the domain name in question.
  2. Need to setup right SPF
  3. Need to setup right DKIM

a) To setup SPF for a domain name can use tool http://www.spfwizard.net/

b) For DKIm you can use tool  from Socketslab

Domain Key / DKIM Generation Wizard

for DKIm you can use key name as key1 or domain1 or any random words

c) Once done you can check whether its valid or not using a vaiidator

http://dkimvalidator.com/results

For validitor you need to send email to email ID shown on screen and check once done click on show results

Where it will show if set  DKIM and spf are valid or not

 

 

 

E-mail accounts not showing in cPanel

The issue when you open “Email accounts” in cPanel, it sometimes doesn’t show up the list of Email accounts the domain have but only just a blank page without any email account

No Email Accounts”!

This happens due to bulk of cache, temp files etc present in the .cpanel directory of domain. In order to rectify the problem we can remove the “.cpanel” directory inside the path /home/cpaneluser/.

Once removed restart the cpanel service and try access the cpanel page/email accounts.

The issue will be solved. No issues with the “.cpanel” directory, it will automatically recreate next time when you load the account’s cPanel.