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
There are three ways to change a site’s IP address on a cPanel server: Via WHM: Go to WHM > Change site’s IP Address , select the account, then select the IP Via Command Line: /usr/local/cpanel/bin/setsiteip -u $user $ip Manually: (This is also useful for changing the IP address of a single domain in an…
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
When you upgrade from cPanel 11.24 to 11.25, your users may notice that in cPanel, their MySQL databases show 0MB of disk space used, when they know their databases are much larger. This is due to an option in cPanel that you specifically have to enable. To enable MySQL disk usage tracking: 1) Edit /var/cpanel/cpanel.config…
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
Enabling Dovecot You can convert a server from cppop or Courier IMAP to dovecot by running the following command: /scripts/setupmailserver dovecot Configuring Dovecot Most relevant configurations can be made via WHM > Mailserver Configuration, but you can also change these via the config templates. You generally have to save the config via WHM at…
Read more
Maildir (run by Courier IMAP or Dovecot) is a mail format used in conjunction with an MTA to store email on the server as separate files within folders. This post covers Courier IMAP as a service, not in terms of mail client usage. Directory Structure A user’s email is store in ”’/home/user/mail/<domain>/<emailuser>/…”’. Below is a…
Read more
If you’ve been running servers for a few years, you probably have at least one server or VPS in your fleet that’s running Redhat 9. Redhat 9 is old, but it’s stable (probably since there are never any updates for it), and the customers lingering on buy zithromax those servers are usually happy… …until you…
Read more
cPanel’s stock installation of Exim includes a Tailwatchd driver called Antirelayd . Antirelayd is a daemon that checks /var/log/maillog for POP3 and IMAP logins and keeps track of valid logins for SMTP relaying. It reads /etc/relayhosts file automatically which is dynamically-updated, so any IPs that you add to this file will not be retained. By…
Read more