Divi WordPress Theme

Topic: Important EXIM Commands  (Read 1280 times)

Offline wRick

  • New Member
  • *
  • Posts: 18
  • iTrader: +0/-0
    • View Profile
Important EXIM Commands
« on: November 27, 2014, 11:24:34 AM »
Important EXIM Commands | HostDens.Com

EXIM is a message transfer agent (MTA) for hosts that are highly comfortable and running in Unix or Linux Operating system. Exim server is developed at the University of Cambridge. We can easily manage and configure in server . In this post have shared few executable commands as below

Important Exim Commands :

Here are few Important Exim Commands, which are used daily

01] To print the email queue.

   
Quote
root@rick~]# exim -bpc

02] To remove a particular message

   
Quote
root@rick~]# exim -Mrm message-id

03] Force delivery of single email

   
Quote
root@rick~]# exim -M email-id

04] To remove all messages from the queue, enter:

   
Quote
root@rick~]# exim -bp | exiqgrep -i | xargs exim -Mrm

05] Print what Exim is doing right now:

   
Quote
root@rick~]#  exim -bp | exiqsumm

06] To delete all frozen mails

   
Quote
root@rick~]# exiqgrep -z -i | xargs exim -Mrm

07] Freeze all queued mail from a given sender:

   
Quote
root@rick~]#exiqgrep -i -f luser@example.tld | xargs exim -Mf

08] View a message’s headers:

   
Quote
root@rick~]# exim -Mvh [message-id]

09] Check all mails by username

   
Quote
root@rick~]# exigrep -u username /var/log/exim_mainlog

10] Below command will display total number of emails send as well receive statistics per domain basis.

   
Quote
root@rick~]#exim -bp | exiqsumm | sort -n

11] Delete mails for particular domain which is largest email sender you got by previous step (10).

   
Quote
root@rick~]#exiqgrep -i -r domainname.com | xargs exim -Mrm


Thank you for reading !!!

Contact details:
      Live Chat - Available at our website
      Email - sales@hostdens.com
   HostDens.com : Enjoy Unlimited Web Hosting | Beyond Your Expectation
   █ Reseller Hosting | VPS Servers (Linux) | Shared Hosting
   $1 Hosting | Affordable Shared Web Hosting Services​
« Last Edit: November 28, 2014, 06:15:52 PM by Kailash »
VPS Hosting - AccuWebHosting

hmb-willem

Re: Important EXIM Commands
« Reply #1 on: January 28, 2016, 01:15:15 PM »
Very useful commands in exim management. Thank you for sharing.

Offline onliveserver

  • New Member
  • *
  • Posts: 26
  • iTrader: +0/-0
    • View Profile
Re: Important EXIM Commands
« Reply #2 on: January 29, 2018, 10:57:55 AM »
Hello,

 Exim is by default mail server in WHM/Cpanel, the mail use Exim to controlled all the task of mailing server.
There is some of command to perform task on exim server.
1. exim -bpc   to check no of mail in queue
2. exim -bp  to check the no of mails in queue and also their detail.
3. exim -qff  -v   forcefully send mail from queue.
Divi WordPress Theme
Tags: