On 01/19/2018 11:59 AM, Grant Edwards wrote:
I meant the sematics and sytax of the command line options and the data accepted on stdin and produced on stdout. I probably should have said "usage" rather than API. Since I always use that utility from a Python or Bash program, in my head that's its API.

I figured that's what you mean. I agree that's effectively what it has become.

I think I've read too many "the command line is not an API" blog articles recently.

Exactly.

;-)

Thanks.

You're welcome.

I was sort of afraid that sendmail was going to be the answer.

Not necessarily.

I expect that any modern MTA can be configured to behave the same way.

The last time I ran sendmail was on a Sun-3/60 machine, and I never did quite understand how to configure it...

Wow. I bet that was pre-m4 configuration days. - I've been running Sendmail (by choice) for ~18 years and have always used m4 to configure it. - From what I've heard, the pre-m4 days were a LOT more difficult.

I expect that what you're wanting to do can be done in less than an hour. Maybe even less than half an hour.

Let me know if you want pointers from a Sendmail vet that's built (re)built a Gentoo server with Sendmail, functioning as a backup MX w/ filtering, in the last month. (I converted from CentOS 6.x to Gentoo - 17.0 profile.)



--
Grant. . . .
unix || die

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to