Exim Commands
Debug a mail delivery:
/usr/sbin/exim -bt -d email@address.com
Retry message delivery:
/usr/sbin/exim -M messageID
Force delivery of all message:
/usr/sbin/exim -qf
Force delivery of all message and delete of frozen ones:
/usr/sbin/exim -qff
Shows log delivery for a message:
/usr/sbin/exim -Mvl messageID
Display message body:
/usr/sbin/exim -Mvb messageID
Display message header:
/usr/sbin/exim -Mvh messageID
Delete a message without warning:
/usr/sbin/exim -Mrm messageID
Count messages in queue:
/usr/sbin/exim -bpr | grep "<" | wc -l or /usr/sbin/exim -bpc
Display all messages from queue:
/usr/sbin/exim -bp
Count frozen messages:
/usr/sbin/exim -bpr | grep frozen | wc -l
Delete frozen messages:
/usr/sbin/exim -bpr | grep frozen | awk '{print $3}' | xargs /usr/sbin/exim -Mrm
Không có nhận xét nào:
Đăng nhận xét