1 |
On 01/19/2018 05:30 PM, Grant Taylor wrote: |
2 |
> I'm trying to juggle the various pieces as I understand them to see if |
3 |
> everything can work together. |
4 |
|
5 |
I have a fleeting thought that /might/ work. I want to write it down |
6 |
before I loose it. |
7 |
|
8 |
1) Configure Sendmail's MTA to not have any listening daemon ports. - |
9 |
This means that all interface to the MTA will be via the |
10 |
/path/to/sendmail binary. |
11 |
2) Configure Sendmail's MSA to listen on TCP port 25. |
12 |
3) Configure Sendmail's MSA to smart host (without encryption) through |
13 |
your existing SMTP to Exchange gateway. |
14 |
|
15 |
I /think/ this addresses most parts. |
16 |
|
17 |
SMTP from ??? connects to the MSA which connects to the Exchange Gateway |
18 |
which connects to Exchange via something other than SMTP. - I think |
19 |
that tracks. |
20 |
|
21 |
Email from the local machine uses the /usr/sbin/sendmail interface which |
22 |
speaks SMTP to the world or a smart host. |
23 |
|
24 |
I think that does work. Granted, there are some IPs and or ports to |
25 |
juggle to make sure that Sendmail's MSA and your SMTP to Exchange |
26 |
gateway don't conflict. But I think that should be possible to handle. |
27 |
|
28 |
I don't know if the other common MTAs can do anything like this or not. |
29 |
I would hope that they can. |
30 |
|
31 |
I will also say that it is possible to get Sendmail to do some really |
32 |
complex things. It may be possible to get a single sendmail daemon to |
33 |
do everything. But I think that is going to be more complicated, |
34 |
possibly needlessly so if the above recommendation works. |
35 |
|
36 |
I need to know more details about the different accounts and how they |
37 |
interact with msmtp (which I have zero experience with) to know if they |
38 |
will play nicely with the above configuration. |
39 |
|
40 |
The only niggling feeling I have is about 127.0.0.1:25. Is anything at |
41 |
all using that? I've run across a lot of programs that assume the local |
42 |
MTA is listening there. - If something is, then it's likely a matter |
43 |
of juggling IP(s) and port(s) that various things are listening on. |
44 |
|
45 |
|
46 |
|
47 |
-- |
48 |
Grant. . . . |
49 |
unix || die |