Re: [Hampshire] sorbs.net, /var/log/maillog and whatelse ?

Inizio della pagina

Reply to this message
Autore: Ottavio Caruso
Data:  
To: Hampshire LUG Discussion List
Oggetto: Re: [Hampshire] sorbs.net, /var/log/maillog and whatelse ?
Isaac Close wrote:
> Hi,
>
> A Client has contacted me suggesting there email server is not
> functioning correctly, on closer inspection, their IP address is listed
> on www.sorbs.net
>
> First thing they want me to do is create a report to show what email has
> been sent out recently and to what addresses.
>
> I'm currently going cross-eyed looking in /var/log/maillog for a pattern.


grep '250 Ok' /var/log/maillog > 250.txt

for the good ones and

grep -i sorbs /var/log/maillog > sorbs.txt

or

grep -i 'connection refused' /var/log/maillog > refused.txt

for the bad ones.


--
Ottavio Caruso
http://www.pledgebank.com/boycottvista