All Entries Tagged With: "mail"
How to change the default email settings ?
Issue :
Whenever a new account is created, the server sends out an email notification. Where can this setting be accessed and modified?
Fix :
Just go to WHM >> Basic cPanel/WHM Setup >> Server Contact Email Address.
You can make the required changes there.
How to block emails from a specific address using Exim
Issue :
How to block emails from a specific address on a cPanel/WHM server using Exim ?
Solution :
This is fairly easy to achieve with Exim.
First you’ll need to find the system filter file for Exim. This can be found out through WHM >> Main >> Service Configuration >> Exim Configuration Editor.
Towards the middle of [...]
How to limit the overall size of emails
Issue :
How can the overall size of an email including attachment, encoding etc. be limited to a pre-defined value?
Solution :
This can be done in the following way :
Go to WHM >> Main >> Service Configuration >> Exim Configuration Editor
In the first box where you can type ( right below where you see [...]
Where to check the version of Horde
Issue :
Where can I check the current version of Horde webmail client running with cPanel ?
Solution :
If you have ‘root’ SSH access to the server then, simply open the file /var/cpanel/horde/version using your favorite editor and you’ll be able to see the current Horde version.
Disabling an email account
Issue :
How can a particular email account be ‘disabled’ temporarily. Note that the email account should not be ‘deleted’ ? Is this possible at all via cPanel?
Solution :
There is no direct functionality in cPanel at the moment for this. This feature might be added at a later stage.
However, you can achieve this functionality [...]
How to allow unlimited email sending
Issue :
How to allow sending of unlimited emails from the server?
Solution :
Just go to WHM >> Tweak settings >> The maximum each domain can send out per hour (0 is unlimited) >> Put ‘0′ there and save the setting.
That should be it
Root’s emails to another address
Issue :
How can mails to root@hostname.com be redirected to another email address?
Solution :
If you have ‘root’ access to the server then open the file /etc/aliases in your favorite editor.
Look for the section “# Person who should get root’s mail” and make the change as required.
mail folder taking up huge space
Issue :
No email accounts have been created on the domain but still the mail folder is taking up huge space.
Solution :
When a cPanel account is created, a default email account with the cPanel username is also created automatically.
In this case it seems that it has been set as catchall which is why [...]
Cannot delete an email address after account rename
Issue :
Account was renamed from abc.com to xyz.com. After renaming, when trying to delete an old email address ( test@abc.com), following error occurs :
“The e-mail account test@abc.com was successfully deleted.
Sorry, you do not have access to the domain abc.com”
Fix :
Check the file /home/user/.cpanel/email_accounts.yaml and remove any entries pertaining to the old domain. This [...]
2010 SpamAssassin bug – Update rules now!
If you are using SpamAssassin then you need to update the rules now. There is a bug in the rules which will cause emails with a date of 2010 to be scored as spam. Here is an excerpt from the SA website :
===============================
Versions of the FH_DATE_PAST_20XX rule released with versions of Apache [...]
Mailing list redirecting to another host
Issue :
The domain is hosted on the local server. However, the mails are controlled by an external server. The mailing lists is not working properly as it gets redirected to the local server instead of the remote mail server.
Solution :
This happens when there is a mismatch in the mail man settings. By default, [...]
Restoring emails for a Parked domain
Issue :
An erstwhile regular account was migrated to be a parked domain on another account.
How can the email messages be restored to the parked domain?
P.S. Backup of the original account is available.
Solution :
Following assumptions have been made in this case :
Parked domain : abc.com
New account : xyz.com ( Username=xyz)
1. Re-create all the email [...]
Unable to load featurelist ‘default’: Permission denied
Issue :
The following error occurs while trying to login to any webmail client :
Internal Server Error
Unable to load featurelist ‘default’: Permission denied
Fix :
1. Log in to the server via SSH as ‘root’.
2. Open the file /etc/cpupdate.conf and make sure CPANEL=manual.
3. Run /scripts/upcp –force
This should fix the issue!
Removing MX records for multiple domains
Issue :
How to remove the MX records from the DNS zone file for multiple domains on the server?
Solution :
Create a file, say removemx and put the list of domains in it.
Now, run the following command :
for i in `cat /var/named/removemx`; do sed -i ‘/MX/d’ $i.db; done;
Restart the named service. That should be [...]

