1 |
On 01/19/2018 11:59 AM, Grant Edwards wrote: |
2 |
> I meant the sematics and sytax of the command line options and the data |
3 |
> accepted on stdin and produced on stdout. I probably should have said |
4 |
> "usage" rather than API. Since I always use that utility from a Python |
5 |
> or Bash program, in my head that's its API. |
6 |
|
7 |
I figured that's what you mean. I agree that's effectively what it has |
8 |
become. |
9 |
|
10 |
I think I've read too many "the command line is not an API" blog |
11 |
articles recently. |
12 |
|
13 |
> Exactly. |
14 |
|
15 |
;-) |
16 |
|
17 |
> Thanks. |
18 |
|
19 |
You're welcome. |
20 |
|
21 |
> I was sort of afraid that sendmail was going to be the answer. |
22 |
|
23 |
Not necessarily. |
24 |
|
25 |
I expect that any modern MTA can be configured to behave the same way. |
26 |
|
27 |
> The last time I ran sendmail was on a Sun-3/60 machine, and I never did |
28 |
> quite understand how to configure it... |
29 |
|
30 |
Wow. I bet that was pre-m4 configuration days. - I've been running |
31 |
Sendmail (by choice) for ~18 years and have always used m4 to configure |
32 |
it. - From what I've heard, the pre-m4 days were a LOT more difficult. |
33 |
|
34 |
I expect that what you're wanting to do can be done in less than an |
35 |
hour. Maybe even less than half an hour. |
36 |
|
37 |
Let me know if you want pointers from a Sendmail vet that's built |
38 |
(re)built a Gentoo server with Sendmail, functioning as a backup MX w/ |
39 |
filtering, in the last month. (I converted from CentOS 6.x to Gentoo - |
40 |
17.0 profile.) |
41 |
|
42 |
|
43 |
|
44 |
-- |
45 |
Grant. . . . |
46 |
unix || die |