FreeBSD Users: Time To Patch Sendmail Again
Barrett Lyon writes "The FreeBSD Project just submitted this security advisory out to the masses: "FreeBSD-SA-03:07.sendmail, a second sendmail header parsing buffer overflow." It seems that the overflow is not limited to FreeBSD and that there is currently no workaround "other than not using sendmail." Yet another good reason to run Qmail!"
Doesn't anyone on the /. team read before posting? This is the same hole that made the front page yesterday concerning the char to int conversion. Just cause one of the BSDs finally acknowleged the issue, it deserves *another* front page story? Jeez... upgrade to sendmail 8.12.9 and get on w/ your life...
The previous poster is not a troll! His facts (#1 & #2) are correct and his opinion (#3) is shared by many.
Wil
wiki
Just in case anyone's wondering, this is the same hole reported on Slashdot yesterday and reported in this CERT advisory.
I mention this because the FreeBSD posting doesn't explicitly mention which version of Sendmail this affects, but it does link to the CERT article.
From my point of view, it was a day without email anyway while I moved up main machines several -pX releases. Not a real problem, but yet another reason to teach myself how to use another mailserver than sendmail, as it seems to get this kind of thing quite often.
First start with the tutorial here
/usr/libexec/mail.local /usr/libexec/mail.local
There is only one change needed: after getting sendmail built and installed, and my sendmail.cf set up from the bsd-4.4 default cm file with M4, local delivery wouldn't work, and gave this error:
stat=Deferred: local mailer (/usr/libexec/mail.local) exited with EX_TEMPFAIL
You fix this problem with:
chown root
chmod u+s
http://tinyurl.com/4ny52
I'll be amused when OpenBSD can run Linux apps in FreeBSD compatibility mode faster than FreeBSD can.
I can "feel good" right up until the point where I'm patching my MTA yet again.
Say what you want about Dan, his product (qmail) hasn't changed for several years.
For something as "simple" as a MTA, there's no reason to recompile a fix every few months due to "yet another" buffer overflow. In the corporate world, this becomes doubly important.
Postfix is relatively secure, compared to sendmail.
dont start me on windows :)
Oooh I love posting in the bsd and apple sections. Unless you profess your undying love for the respective system, and refuse to say that feature F is not perfect, and could be improoved slightly, you'll be -1 trolled.
It really is so funny
For those out there looking to replace sendmail, I suggest Exim.
It's extremely stable (we've been running it on our mail cluster for 326 days now with 0 seconds of downtime) and unlike sendmail it doesn't have a config file that looks like line noise.
Blaming GW Bush for the Iraq war is like blaming Ronald McDonald for the poor quality of food.
At least, the reason real admins run FreeBSD. A fanboy like yourself probably wouldn't understand.
For every annoying gentoo user, are three even more annoying anti-gentoo crybabies. Take Yosh from #Gimp for example.
I can't think of any other popular opensource project having this many security scares in so few months lately...
The SMP team just managed to get OpenBSD to spin up the second CPU the other day, the fact that it doesn't do any work yet is not important...
Or an even bigger set back for SMP under Open is that the SMP-branch is about a year out of sync with the rest of the project. When they eventually get around to implementing SMP they've still to deal with all the problems that NetBSD has (big kernel lock anybody?) as they've copied most of their stuff from Net...
All of these reasons kind of scare me away from Open for good as I'm more or less out of non-MP servers and OpenBSD doesn't really lend it self well to the desktop...
I suddenly felt a disturbance in the force, like all my karma suddenly went away... Enough trolling for one day ;-)
Postfix is great.. Configure Postfix + spamassasin + amavis + Qmail LDAP + Procmail And you got yourself one badass mailserver
Say what you want about Dan, his product (qmail) hasn't changed for several years.
And that is part of the problem and one of the reasons why I still run Sendmail.
To get any decent function (outside of bare SMTP service) you have to add 3rd party patches and hope you get them in the right order...:(
BWP
With all the changes, it wouldn't be or look like sendmail.
Then you might as well be using qmail or postfix or some other alternative.
Well you only have to do it once during install if at all.
Just make sure you remember the right order for the next time you do it.
Or keep the results for reuse, or make a script to do the patches.
I'd personally avoid most 3rd party patches - since few people code as rigorously as DJB.