August 20

Cpanel – incorrect email disk space used

Control Panel -> Email -> Add/Remove/Manage Accounts -> Show Disk Space Used

When there are inconsistencies with Cpanel’s email disk space usage, you should verify the actual disk space being utilized by:

(1)

du -sh /home/username/mail/userdomain.com/user/
tail -1 /home/username/mail/domain.com/user/maildirsize

(2) Compare the utilized disk space reported by the first du command with the bytes shown in the user’s maildirsize file. If the totals reported are different delete or rename the maildirsize file (/home/username/mail/domain.com/user/maildirsize). Next, logout and then back in again within the user’s control panel and go to Control Panel -> Email -> Add/Remove/Manage Accounts -> Show Disk Space Used


January 27

Exim problem

While attempting to send outgoing mail through our exim relays, our Qmail mailbox was saying:

@400000004b60848425285634 delivery 12799: deferral: Connected_to_216.120.xxx.xxx_but_connection_died._Possible_duplicate!_(#4.4.2)/

On the relay : 2010-01-27 13:25:31 1NaCa3-0000zJ-AT demime acl condition: error while creating mbox spool file 2010-01-27 13:25:34 1NaCa3-0000zJ-AT H=smtp-2.******.net [216.120.xxx.xxx] F=<sherry@domain.com> temporarily rejected after DATA

This was resolved by clearing out the 30,000+ directories in /var/spool/exim/scan on the exim relay server left over from clamd scanning.

/etc/rc.d/init.d/exim stop; cd /var/spool/exim/scan;  find ./ -type d -exec rm -rf {} \; /etc/rc.d/init.d/exim 
Category: Email, Linux | LEAVE A COMMENT