Most used exim commands


Most used exim commands


You can use the following most used cpanel server exim commands

Show the mail in queue for $name
exim -bp|grep $name

View message header
exim -Mvh $MSGID

View message body
exim -Mvb $MSGID

Force delivery of message
exim -M $MSGID

View the transact of message
exim -v -M $MSGID

Force delivery of one message
exim -M email-id

Force another queue run
exim -qf

Force another queue run and attempt to flush the frozen message
exim -qff

View the log for the message
exim -Mvl messageID

View the body of the message
exim -Mvb messageID

View the header of the message
exim -Mvh messageID

Remove message without sending any error message
exim -Mrm messageID

Giveup and fail message to bounce the message to the Sender
exim -Mg messageID

How much mail in the queue?
exim -bpr | grep “<” | wc -l

How many Frozen mails in the queue
exim -bpr | grep frozen | wc -l

Deleteing Frozen Messages
exim -bpr | grep frozen | awk {‘print $3′} | xargs exim -Mrm

To find out, how many messages are there in the mail queue:
exim -bpc

To check the mails in the queue:
exim -bp

To force exim update:
/scripts/eximup –force

Find most email IP

tail -1000 /var/log/exim_mainlog |grep ‘\[' |cut -d[ -f2 |cut -d] -f1|sort -n |uniq -c |sort -n 809
tail -2000 /var/log/exim_mainlog | grep public

Bu cevap yeterince yardımcı oldu mu?

Diğer Dökümanlar


  • Email server troubleshooting

    Email / Exim server troubleshooting techniques. You can use the following email server troubleshooting options in your cpanel. Mostly used this command to find spam emails and bulk email senders....

  • IMAP and POP3 authentication DOS attack

    If you have IMAP and POP3 authentication constantly fails and having problems with your mail clients. Large  IMAP and POP3 authentication request, It may be DOS attack. Check your cPHulk...

  • Enable SMTP Authentication on cpanel

    POP before SMTP authentication allows you to send messages via a POP mail server for 30 minutes before you will need to re-authenticate a session through SMTP. POP before SMTP authentication is...

  • cPanel Log file locations

    cPanel log file locations and Basic troubleshooting, most activity that happens on a server to log files, so that you can go back and review log entries for problems, instead of having to be on the...

  • How to change Exim mail server IP address

    By default Exim will be using the main server shared IP address to send mails. If the main server IP is listed in any spam database, then we will not be able to send mails. In order to fix this, we...