cPanel 11.28 introduces an way to easily implement your own RBLs for Exim to perform lookups against. To get started, log into WHM > Exim Configuration Editor and click on the RBLs tab, then Manage custom RBLs. From here, enter in the information for your RBL as follows: The DNS list would be the hostname…
Read more
One of the most common problems that hosting providers face is the issue of user email not being delivered to other mail servers. Not only does it annoy the end user, but it’s extremely frustrating for the server administrator to deal with since there’s not always a clear indication of why email doesn’t get delivered…
Read more
We’ve developed our first cPanel 11.25 cheat sheet, now available for your downloading pleasure. The sheet is comprised of common file, script, and configuration locations for help at a quick glance. [dm]1[/dm] More cheat sheets will be available soon! Check back on our Cheat Sheets page for more.…
Read more
I wrote this nice one-liner for a user in the cPanel forums asking how to change all their current default addresses to :fail: – http://thecpaneladmin.com/files/changedefaultaddr.sh.txt Before you do anything like this, you should back up /etc/valiases. Keep in mind also that you can change the default address for new accounts in WHM > Tweak Settings.…
Read more
I wrote this script a while back to fix the permissions of alias files in /etc/valiases when users were having trouble creating forwarders. You can also download the script in plaintext here. #!/bin/bash # Script to fix permissions of valiases # Written by: Vanessa Vasile 5/17/10 # http://thecpaneladmin.com for domain in `cat /etc/userdomains |awk ‘{print…
Read more
When adding an email forwarder you may see an error like this: Fatal! Write Failure: /etc/valiases/thecpaneladmin.com. Ignore any messages of success this can only result in failure! To fix this, run (replace user with username and domain with the domain name) chown user:mail /etc/valiases/domain.com chmod 644 /etc/valiases/domain.com…
Read more
In your Exim logs you may see errors like this: Warning: ACL “warn” statement skipped: condition test deferred: ratelimit database not available temporarily rejected connection in ?connect? ACL: ratelimit database not available This likely means the Exim cache databases are corrupted. You can clear them by running: rm -fv /var/spool/exim/db/* Then restart Exim. The files…
Read more
In cPanel 11.25, you may be seeing errors like this in /var/log/exim_paniclog: 2010-04-15 12:33:27 failed to expand condition “${if exists {$home/etc/$domain/quota}{${if > {${lookup{$local_part}lsearch{$home/etc/$domain/quota}{$value}{0}}}{0}{${if eq {${if exists {$home/mail/$domain/$local_part/maildirsize}{1}{0}}}{0}{${if > {${run {/usr/local/cpanel/bin/eximwrap GETDISKUSED $local_part $domain}}}{${lookup{$local_part}lsearch{$home/etc/$domain/quota}{$value}{0}}}{true}{false}}}{${perl{checkuserquota}{$domain}{$local_part}{$message_size}{${lookup{$local_part}lsearch{$home/etc/$domain/quota}{$value}}}{$home/mail/$domain/$local_part/maildirsize}}}}}{false}}}{false}}” for virtual_user_maildir_overquota router: absolute value of integer “10485760000” is too large (overflow) To fix this, run : /scripts/reset_mail_quotas_to_sane_values –force –confirm –verbose…
Read more
Have you ever dealt with a user that pointed their MX records to another server but email from their website or other users on the same server isn’t going there? This is because Exim on is configured to use files called localdomains and remotedomains, which tell Exim whether a domain’s email is hosted locally or…
Read more
Cpanel has a lot of supporting software that you may be using on your server. In case something goes amiss, here is a list of scripts that reinstall cpanel-provided software on your system. For most all of these, you can pass a –force as an argument to force a reinstall of the application. Update: Most…
Read more