How do I view what exim is doing?

Exim comes with a utility called “exiwhat” which will display what each instance of exim is currently involved with. exiwhat The output will look similar to this To monitor the exim log in realtime, you may use the tail command tail -f /var/log/exim_mainlog See Exim, exiwhat

PHP script to monitor exim mail queue

When you run exim mail server, it is good to keep an eye on number of emails in mail queue. here is a PHP script that will check number of emails in queue, if it exceed pre-set number, it will email you. Create file mkdir /usr/serverok/ vi /usr/serverok/mail_q_monitor.php Add following content.

Cpanel Server Block Incoming SPF Failed Mails

One of the customer email account as getting too much incoming emails from random-user@qq.com. First i tried to block the sender IP, but they are using too many IP. To stop this incoming email, i edited vi /etc/exim.conf Find acl_smtp_rcpt Add below deny message = SPF: $sender_host_address is not allowed to send mail from $sender_address_domain … Read more

exiqgrep

exiqgrep allows you to search exim mail queue. To search for a particular recipients, run exiqgrep -r EMAIL_ADDR_HERE To search for all emails from a particular email account, use exiqgrep -f EMAIL_ADDR_HERE You can use -i option to list only message id. This is useful when you need to delete mails from a particular account. … Read more

exim

eximrm exiwhat exiqgrep Flush exim mail queue Cpanel Server Block Incoming SPF Failed Mails PHP script to monitor exim mail queue Cpanel Exim Bypass SMTP authentication for specific IP address How do I view what exim is doing?