Indeed there must be a way, since for SmartView it is possible to send authenticated and TLS emails.
However I'm messing a bit with /sbin/sendmail (msmtp) and when enabling TLS I'm getting an error that "sendmail: support for TLS is not compiled in" (R81, take 44).
Does that mean Smartview is actually using /opt/CPsuite-R81/fw1/bin/sendmail ?
Does the -m option take the same file as msmtp?
sendmail [-t server] [ [-m filename] | [-s subject] [-f from] email-address]
I have something like this:
[Expert@Lab-MGMT01:0]# cat sendmail.cfg
# Set default values for all accounts.
account default
auth on
tls on
tls_trust_file /var/opt/CPshrd-R81/conf/ca-bundle.crt
logfile /var/log/msmtp
# Office365
host smtp.office365.com
port 587
from [email protected]
user [email protected]
password PlaintextPassword
# Syslog logging with facility LOG_MAIL instead of the default LOG_USER
syslog LOG_MAIL
Called as:
[Expert@Lab-MGMT01:0]# /opt/CPsuite-R81/fw1/bin/sendmail -m sendmail.cfg [email protected]
0
[Expert@Lab-MGMT01:0]#
[Expert@Lab-MGMT01:0]# sendmail -C sendmail.cfg [email protected]
sendmail: support for TLS is not compiled in
[Expert@Lab-MGMT01:0]#
Any thoughts?
Steven.