News for hackers. Stuff that matters.
Re:Sendmail removed from OpenBSD base by nailer on Tuesday September 16, 2014 @10:58AM (#8324801)
Sendmail 9 is the worst, most un-Unixlike piece of software.

Want to send UUCP mail? x400 mail? Need other non-SMTP mail support? No, because it's 2014 and most people will never, ever use these? Too bad, the code's installed and running waiting for more exploits.

Want to configure it, in 'human readable plain text' too bad, here's a macro language which no other daemon uses.

Sendmail 9 is rank and the authors know it - Sendmail X (/10) looks far similar to postfix or other modular mail servers than sendmail 9 does.

Re:Sendmail removed from OpenBSD base by allegory on Tuesday September 16, 2014 @04:40PM (#8326980)
We still have a UUCP feed from a legacy DOS (!) financial system. Dials us up every day and pumps us data in a message body.

We inherited it during a buy out. It dialled into a SPARCstation 2 originally but that died with a PROM failure (after nearly 18 years of 24/7 service in 2008!). It still had SunOS 4 on it. It was replaced overnight with a hacked up .Net app that receives the message from an old Hayes modem plugged into a USB<>serial adapter from Maplin (bought that evening), parses it terribly naively, translates it to a SOAP message and calls a WCF service on our back end rather than is picked up from a mail spool forwarding.

Think of this story every time you whinge about a REST API problem :)

Re:Sendmail removed from OpenBSD base by __david__ on Tuesday September 16, 2014 @01:13PM (#8325574)
> Want to send UUCP mail? x400 mail? Need other non-SMTP mail support? No, because it's 2014 and most people will never, ever use these? Too bad, the code's installed and running waiting for more exploits.

Agreed. Fork that into something else if people still need it.

> Want to configure it, in 'human readable plain text' too bad, here's a macro language which no other daemon uses.

Here I disagree. Not that the language isn't bad (though I do still use home-grown m4 in some old Apache configs), but the overall configuration of Sendmail is roughly equivalent to Postfix, Exim, or any other fully featured SMTP server:

1. look at the online manual, reading the descriptions of every single individual config option.

2. copy and paste as appropriate.

Having set up all three of those, I can say that getting a correctly functioning Postfix or Exim takes just as long as getting a correctly functioning Sendmail. All of them have a lot of arcane options.

Re:Sendmail removed from OpenBSD base by nailer on Wednesday September 17, 2014 @04:57AM (#8329155)
> Not that the language isn't bad

I'm mainly arguing that the language is bad, so we agree there too.

> The overall configuration of Sendmail is roughly equivalent to Postfix, Exim, or any other fully featured SMTP server...

Default install of Postfix to a working SMTP server: read /etc/postfix/main.cf, uncomment the line which makes postfix listen on all interfaces, restart the service. Way less research, and for more sensible defaults, than sendmail.

Re:Sendmail removed from OpenBSD base by rodgerd on Tuesday September 16, 2014 @05:49PM (#8327302)
> Having set up all three of those, I can say that getting a correctly functioning Postfix or Exim takes just as long as getting a correctly functioning Sendmail. All of them have a lot of arcane options.

You are either a genius at sendmail, or incompetent at Exim and Sendmail.

Re:Sendmail removed from OpenBSD base by ChuckMcM on Tuesday September 16, 2014 @12:00PM (#8325147)
I keep wondering if some clever person will re-use the UUCP code over Tor to build a simple email system that doesn't traverse the 'regular' channels. Sure SMTP over Tor has this property but UUCP over Tor would let you be much more clever.
Re:Sendmail removed from OpenBSD base by danudey on Tuesday September 16, 2014 @01:33PM (#8325732)
> Sendmail X (/10) looks far similar to postfix or other modular mail servers than sendmail 9 does.

Super, so I can finally replace Postfix with something which is like postfix, but not quite, and hasn't been as proven in the field.

Re:Sendmail removed from OpenBSD base by vidarh on Tuesday September 16, 2014 @11:51AM (#8325097)
Sendmail was awful and archaic already when I first used it in 1995. It's amazing that anyone has still been using it for the last decade.
Re:Sendmail removed from OpenBSD base by zorked on Tuesday September 16, 2014 @08:08PM (#8327799)
Ah, sendmail in the 90's. So many buffer overruns you might just as well enable telnet and change your root password to "hackme".
Re:Sendmail removed from OpenBSD base by Natsu on Tuesday September 16, 2014 @03:09PM (#8326409)
... let alone the past two decades.
Re:Sendmail removed from OpenBSD base by jfb on Tuesday September 16, 2014 @11:54AM (#8325112)
I'm waiting with bated breath for the knee-jerk contrarian "sendmail survived therefore it is great" comment.
Re:Sendmail removed from OpenBSD base by cuillevel3 on Tuesday September 16, 2014 @07:40PM (#8327706)
> Sendmail 9 is the worst, most un-Unixlike piece of software.

So you'd say UUCP support is the reason for sendmail being 'un-Unixlike'? Isn't UUCP, you know, like the historic essence of Unix?

Re:Sendmail removed from OpenBSD base by cbd1984 on Wednesday September 17, 2014 @12:51AM (#8328669)
No, the un-Unixlike part is having so much functionality jammed into one binary.

The Unixlike solution would be to have multiple servers, each speaking one protocol (or thereabouts), and then you'd only install what you need.