On 2010/11/11 07:59 AM, Kaushal Shriyan wrote:
Hi,is there a way to grep for sender email address using mailq command ? i did sudo mailq | grep senderemailaddress didnot worked Thanks Kaushal
If you want to see the top sender in the queue, say for Today, use:mailq | grep "Nov 11" | awk '{print $7}' | sort | uniq -c | sort -nr | less
The ouput will be in the form of: Number-of-queued-mails Sender_address regards Tom
