So I get home Sunday after being out all weekend and notice that after the spam and the legitimate emails, I'm missing the regular email from my server telling me what it's been up to. Obviously something from the full system upgrade I was forced to do because of the glibc upgrade has broken cron's ability to send local email. I start messing around and find that mail doesn't work. It seems I need ssmtp installed but nothing installed it or seems to depend on it. I install that and now it gives me can't connect mail:25 errors. I edit /etc/ssmtp/ssmtp.conf and change 'mailhub=mail' to 'mailhub=mail.mindstab.net'. That seems to do the trick. Suddenly cron seems to be sending mail again. So that's good, but it's bad that it silently broke in the first place. And a pain as it took about 45 minutes to diagnose and fix.





July 16th, 2007 at 8:39 am
I recommend postfix over ssmtp. I always used to have these kinds of pains with ssmtp.
July 16th, 2007 at 8:43 am
Ah, yes, well curiously I have qmail installed. So postfix would be a bad idea. Although maybe something there is broken now.