exim -bpc - Print a count of the messages in the queue exim -bp - Print a listing of the messages in the queue exim -M emailID - force delivery of one message exim -Mvl messageID - View Log for message exim -Mvb messageID - View Body for message exim -Mvh messageID - View Header for message exim -Mrm messageID - ReMove message (no errors sent) exiqgrep -zi | xargs exim -Mrm - Remove all frozen mails in q ==== REMOVE ALL EMAILS FROM EXIM QUEUE (Удалить все сообщения из очереди Exim) ==== exim -bp | awk '/^ *[0-9]+[mhd]/{print "exim -Mrm " $3}' | bash ==== REMOVE MAILS BY ID (Удалить сообщение из очереди по MID) ==== exim -v -Mrm (MAIL ID HERE) ==== LIST QUEDED MAILS (Вывести список всех сообщений, находящихся в очереди) ==== exim -bp ==== OUTPUT NUMBER OF QUEDED MAILS (Вывести количество всех сообщений, находящихся в очереди) ==== exim -bpc ==== DELETE FROZEN MAILS (Удалить замороженные сообщения из почтовой очереди) ==== exim -bp | awk '$6~"frozen" { print $3 }' | xargs exim -Mrm ==== DELIVER FORCEFULLY EMAILS (Принудительная доставка сообщений, находящихся в очереди) ==== exim -qff -v -C /etc/exim.conf & ==== REMOVE MAILS FROM SENDER ==== exiqgrep -i -f (MAIL ADDRESS HERE) | xargs exim -Mrm ==== Remove root mails ==== exim -bp |grep "hostname" |awk '{print $3}' |xargs exim -Mrm ==== Forcefully sending mails from a domain ==== exim -v -Rff domainname.com ==== Remove all frozen messages ==== exiqgrep -z -i | xargs exim -Mrm ==== Remove all messages older than five days (86400 * 5 = 432000 seconds) ==== exiqgrep -o 432000 -i | xargs exim -Mrm ==== Start a queue run ==== exim -q -v ==== Start a queue run for just local deliveries ==== exim -ql -v ==== Remove a message from the queue ==== exim -Mrm [ ... ] ==== Freeze a message ==== exim -Mf [ ... ] ==== Thaw a message ==== exim -Mt [ ... ] ==== Deliver a message, whether it's frozen or not, whether the retry time has been reached or not ==== exim -M [ ... ] ==== Deliver a message, but only if the retry time has been reached ==== exim -Mc [ ... ] ==== Force a message to fail and bounce as "cancelled by administrator" ==== exim -Mg [ ... ] ==== Remove all frozen messages ==== exiqgrep -z -i | xargs exim -Mrm ==== Remove all messages older than five days (86400 * 5 = 432000 seconds) ==== exiqgrep -o 432000 -i | xargs exim -Mrm ==== Freeze all queued mail from a given sender ==== exiqgrep -i -f luser@example.tld | xargs exim -Mf ==== View a message's headers ==== exim -Mvh ==== View a message's body ==== exim -Mvb ==== View a message's logs ==== exim -Mvl ==== Add a recipient to a message ==== exim -Mar
[
... ] ==== Edit the sender of a message ==== exim -Mes