Friday, November 24, 2006

Sendmail: Flush specific messages from mail queue

You can flush the sendmail queue by this command.
If is useful for check the status of mail server.

1. Flush all
# /usr/sbin/sendmail -q -v

2. Flush specific domain
# /usr/sbin/sendmail -qR acty.com.tw -v

No comments:

Post a Comment