Now I have tested my patch and it didn't work. That's because the [0-9.]+ before "closing connection" doesn't match hostnames, it only matches IP addresses. So a better (i.e. working) method is to use alnum:

^\w{3} [ :0-9]{11} [._[:alnum:]-]+ sSMTP\[[0-9]+\]: Sent mail for .* \([0-9]+ [[:alnum:]\.]+ closing connection\) uid=[0-9]+ username=[\._[:alnum:]-]+ outbytes=[0-9]+$

Hope this is useful.

Antony



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to