Command for cPanel Exim that shows script responsible for outbound mail and other exim commands

Here we provide a particularly useful command-line command that shows you which scripts are responsible for outbound mail. For example, when WordPress themes get exploited, you will see a large number of messages coming out of a long directory inside of the user’s WordPress directory. Very large numbers of messages coming from home directories is … Read more

Exim locked

There may be 2 issues to check. -The presence of /etc/eximdisable, just move this file to eximdisable-bak and restart exim -The server being out of disk space and/or inodes, use ‘df -h’ and ‘df -i’ to confirm.

Change Exim Sending IP

If you want everyone on the server to send out on the same IP, just add the following to Then add the IP and it’s matching PTR to /etc/mail_reverse_dns: This will tell Exim to use that IP for any sender on the server. Restart exim

Cannot send or receive mail in WHM/cPanel Exim; frozen in queue

Error: LOG: MAIN cwd=/usr/local/cpanel/whostmgr/docroot 4 args: /usr/sbin/exim -v -M 1WkPBs-0003X3-Nmdelivering 1WkPBs-0003X3-NmLOG: MAIN PANIC failed to expand condition “${if and{{bool_lax{NULL}}{bool_lax{${perl{should_archive_outgoing_message}}}}}}” for archive_outgoing_email router: Undefined subroutine &main::should_archive_outgoing_message called. inside “and{…}” conditionLOG: MAIN PANIC failed to expand condition “${if and{{bool_lax{NULL}}{bool_lax{${if eq {$authenticated_id}{}{0}{${if eq {$sender_address}{$local_part@$domain}{0}{${if match{$received_protocol}{N^e?smtps?a$N}{${perl{checkbx_autowhitelist}{$authenticated_id}}}{${if eq{$received_protocol}{local}{${perl{checkbx_autowhitelist}{$sender_ident}}}{0}}}}}}}}}}}}” for boxtrapper_autowhitelist router: Undefined subroutine &main::checkbx_autowhitelist called. inside “and{…}” conditionLOG: MAIN PANIC … Read more

Find Exim Spam

How to locate the top scripts on your server that send out email. You can then search the Exim mail log for those scripts to determine if it looks like spam, and even check your Apache access logs in order to find how a spammer might be using your scripts to send out spam. Login … Read more

Managing your Exim Server

Here are some useful things to know for managing an Exim 4 server. This assumes a prior working knowledge of SMTP, MTAs, and a UNIX shell prompt. Message-IDs and spool files The message-IDs that Exim uses to refer to messages in its queue are mixed-case alpha-numeric, and take the form of: XXXXXX-YYYYYY-ZZ. Most commands related … Read more