using egrep to find missing @ in log
- by jols
I am using the following command to find log entries that are the result of a log in to the email server:
egrep '_login[^ ]' /var/log/exim_mainlog
That works fine to find entries that contain content like this:
P=esmtpa A=courier_login:name@email.net S=1573 id=f1cd08396,...
But what I need to do is to change my grep statement, so that it…