I’ve got this working now using some old code I found. But then I discovered that you can configure these via the GUI in v5.7. Can’t get it to work, though. The outbound messages get stuck on the sendmail box. Here are some entries from mailq:
p1821Y807021 1838 Mon Feb 7 21:04 MAILER-DAEMON
(Deferred: Connection timed out with webmail.piedmont.org.)
<cloverleaf@healthvision.com>
p1821Y907021 1912 Mon Feb 7 21:04 MAILER-DAEMON
(Deferred: Connection timed out with webmail.piedmont.org.)
<cloverleaf@healthvision.com>
p17Ln7722695 39 Mon Feb 7 16:49 <cloverleaf@healthvision.com>
(Deferred: Connection timed out with webmail.piedmont.org.)
<patricia.mccarl@piedmont.org>
I’m thinking the problem is the attempt to connect to webmail.piedmont.org, but can’t find where that setting is configured. It’s not in sendmail.cf
Trish McCarl | Interface Developer | Piedmont Healthcare Corp
2727 Paces Ferry Rd, Suite 1-1000 | Atlanta, GA 30339
O: 470.271.4108 | M: 404.805.4103 | E: trish.mccarl@piedmont.org