Bug#495760: ssmtp: Logcheck file format incorrect

2008-08-22 Thread Antony Gelberg
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]+ [[:aln

Bug#495760: ssmtp: Logcheck file format incorrect

2008-08-20 Thread Antony Gelberg
Package: ssmtp Version: 2.62-1 Severity: normal Hi, /etc/logcheck/ignore.d.server/ssmtp contains the line (excuse wrapping): ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ sSMTP\[[0-9]+\]: Sent mail for .* \([0-9]+ [0-9.]+ Bye\) uid=[0-9]+ username=[\._[:alnum:]-]+ outbytes=[0-9]+$ However, ssmtp on my mach