MilesWeb
MilesWeb Hosting Forum

Please login or register.

Login with username, password and session length

 

News:

SMF - Just Installed!


Author Topic: Top 10 Helpful Exim Commands.  (Read 3412 times)

0 Members and 1 Guest are viewing this topic.

Offline Dipak Bhoi

  • MilesWeb Team Member
  • Full Member
  • ***
  • Posts: 208
  • Karma: +5/-0
    • View Profile
    • MilesWeb Internet Services
Top 10 Helpful Exim Commands.
« on: August 01, 2014, 07:04:20 PM »
Hello guys,

Exim is a message transfer agent (MTA). Exim is free software. Its used for sending, routing and delivering emails. Exim has special features which can prevent the mass sending of emails.

Below are the commonly used commands.

1. Deliver message forcefull.

Quote
#/usr/sbin/exim   -M   email-id
       

2. Force another queue to run

Quote
#/usr/sbin/exim -qf

3. To View the log for the message.

Quote
#/usr/sbin/exim  -Mvl   messageID

4. To View the body of the message.

Quote
#/usr/sbin/exim  -Mvb  messageID

5. To View the header of the message.

Quote
#/usr/sbin/exim  -Mvh  messageID

6. To Remove message without sending any error message.

Quote
#/usr/sbin/exim -Mrm  messageID

7. To count number of emails in the queue.

Quote
#/usr/sbin/exim -bp | grep “<” | wc -l

8. To check how many Frozen mails on the queue.

Quote
#/usr/sbin/exim -bp | grep frozen | wc -l

9. For deleteing Frozen Messages.

Quote
#/usr/sbin/exim -bp | grep frozen | awk {‘print $3'} | xargs exim -Mrm

10.  To flush the exim queue.

Quote
#exim -qff -v -C /etc/exim.conf

 
Enjoy !!
« Last Edit: August 01, 2014, 07:05:58 PM by Dipak Bhoi »
MilesWeb.com
cPanel Hosting in India - cPanel Hosting in India.

Grab an SSL for your website and SAVE 20% now. Coupon Code SSLSAVE20.

MilesWeb Hosting Forum

Top 10 Helpful Exim Commands.
« on: August 01, 2014, 07:04:20 PM »