Testing email accounts without sending email - Sendmail
Want to check whether all the email accounts’ aliases, forwarding and delivery is working properly or not and want to do that without sending zillions of manual/auto emails to zillions of user?
Solution:
/path-to-sendmail/sendmail -bv
If you want to do a batch job on many username, simple run that through a for loop.