How to clear mailq in your Linux box
All the mails which are going from your sendmail is get stored in the following location
/var/spool/mqueue
so for clearing the mailq you just go the following location and delete all the contents under mqueue folder
cd  /var/spool/mqueue/
[root@localhost ~]# Â cd /var/spool/mqueue/
You have new mail in /var/spool/mail/root
[root@localhost mqueue]# ls

hello,
I want format of mailq that is what is the from: field and what is to: field