I want to list email send to the domain gmail.com how to achive it

cat /var/log/maillog | grep -i cleanup | egrep 'to=<*@gmail.com'

where * = all user of gmail.com domain i think

is the above reular expression is correct ?

Please help i want the count for how mail email are sent to gmail.comdomain.


Regards,
Kshitij

Reply via email to