1) To delete mails in the mail queue older than a day
exiqgrep -o 86400 -i | xargs exim -Mrm
2)exim -bp|grep $name Will show the mail in queue for $name
exim -Mvh $MSGID View message header
exim -Mvb $MSGID View message body
exim -M $MSGID Force delivery of message
exim -v -M $MSGID View the transact of message
3)Force delivery of one message
exim -M email-id
4)Force another queue run
exim -qf
5)Force another queue run and attempt to flush the frozen message
exim -qff
6)View the log for the message
exim -Mvl messageID
7)View the body of the message
exim -Mvb messageID
8)View the header of the message
exim -Mvh messageID
8)Remove message without sending any error message
exim -Mrm messageID
9)Giveup and fail message to bounce the message to the Sender
exim -Mg messageID
10)How much mail in the queue?
exim -bpr | grep "<" | wc -l
11)How many Frozen mails in the queue
exim -bpr | grep frozen | wc -l
12)Deleteing Frozen Messages
exim -bpr | grep frozen | awk {'print $3'} | xargs exim -Mrm
13)To find out, how many messages are there in the mail queue:
exim -bpc
14)To check the mails in the queue:
exim -bp
15)To force exim update:
/scripts/eximup --force
No comments:
Post a Comment