tail /var/log/maillog -n10000 | grep "user@example.com"
Notes:
- Better to tail than cat (in case its a big log)
- -n10000 is going back 10000 lines
- Add -f if you want to see a live feed of the log
- tail -f /var/log/maillog | grep "user@example.com"
How to grep a mail log to see if a message bouncedBy JV (Contact - View My Woyano)
Published Thu 15 Feb 2007,
1106 Views,
2 Comments
|

2 Comments
Hey you know AdGuy always gets the last word! ;)