This shows you the differences between two versions of the page.
— |
exim:command [2021/08/10 11:58] (current) rb created |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | < | ||
+ | exim -bp - Print a listing of the messages in the queue | ||
+ | exim -M emailID | ||
+ | exim -Mvl messageID | ||
+ | exim -Mvb messageID | ||
+ | exim -Mvh messageID | ||
+ | exim -Mrm messageID | ||
+ | exiqgrep -zi | xargs exim -Mrm - Remove all frozen mails in q | ||
+ | |||
+ | </ | ||
+ | |||
+ | ==== | ||
+ | < | ||
+ | |||
+ | exim -bp | awk '/^ *[0-9]+[mhd]/ | ||
+ | |||
+ | </ | ||
+ | ==== | ||
+ | < | ||
+ | |||
+ | exim -v -Mrm (MAIL ID HERE) | ||
+ | |||
+ | </ | ||
+ | ==== LIST QUEDED MAILS (Вывести список всех сообщений, | ||
+ | |||
+ | < | ||
+ | exim -bp | ||
+ | |||
+ | </ | ||
+ | ==== | ||
+ | |||
+ | < | ||
+ | |||
+ | </ | ||
+ | ==== DELETE FROZEN MAILS (Удалить замороженные сообщения из почтовой очереди) ==== | ||
+ | |||
+ | < | ||
+ | exim -bp | awk ' | ||
+ | |||
+ | </ | ||
+ | ==== DELIVER FORCEFULLY EMAILS | ||
+ | < | ||
+ | |||
+ | exim -qff -v -C / | ||
+ | |||
+ | </ | ||
+ | ==== REMOVE MAILS FROM SENDER ==== | ||
+ | |||
+ | < | ||
+ | exiqgrep -i -f (MAIL ADDRESS HERE) | xargs exim -Mrm | ||
+ | |||
+ | </ | ||
+ | ==== Remove root mails ==== | ||
+ | < | ||
+ | |||
+ | exim -bp |grep " | ||
+ | |||
+ | </ | ||
+ | ==== 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 ==== | ||
+ | |||
+ | < | ||
+ | |||
+ | </ | ||
+ | ==== Remove a message from the queue ==== | ||
+ | |||
+ | < | ||
+ | |||
+ | </ | ||
+ | ==== | ||
+ | |||
+ | < | ||
+ | |||
+ | </ | ||
+ | ==== Thaw a message | ||
+ | |||
+ | < | ||
+ | |||
+ | </ | ||
+ | ==== | ||
+ | |||
+ | < | ||
+ | |||
+ | </ | ||
+ | ==== | ||
+ | |||
+ | < | ||
+ | |||
+ | </ | ||
+ | ==== Force a message to fail and bounce as " | ||
+ | |||
+ | < | ||
+ | |||
+ | </ | ||
+ | ==== | ||
+ | |||
+ | < | ||
+ | |||
+ | </ | ||
+ | ==== | ||
+ | < | ||
+ | exiqgrep -o 432000 -i | xargs exim -Mrm | ||
+ | |||
+ | </ | ||
+ | ==== | ||
+ | < | ||
+ | exiqgrep -i -f luser@example.tld | xargs exim -Mf | ||
+ | |||
+ | </ | ||
+ | ==== View a message' | ||
+ | < | ||
+ | exim -Mvh < | ||
+ | |||
+ | </ | ||
+ | ==== View a message' | ||
+ | |||
+ | < | ||
+ | |||
+ | </ | ||
+ | ==== View a message' | ||
+ | |||
+ | < | ||
+ | |||
+ | </ | ||
+ | ==== Add a recipient to a message | ||
+ | |||
+ | < | ||
+ | |||
+ | </ | ||
+ | ==== Edit the sender of a message | ||
+ | |||
+ | < | ||
+ | |||
+ | </ | ||