From wiki
Revision as of 09:49, 14 November 2019 by PeterThorpe (talk | contribs) (Introduction)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


Works on Marvin. Nodes throwing an "Unable to set UseSTARTTLSCert="YES"" error but I suspect the real issue is that the nodes can't ping the mailhost server. Likely solution is setting up marvin as a mailhost/redirector and sending the email to marvin to forward onwards.

Need to set the command used for email for each node usin g

qconf -mconf nodeX

in this case we want the mailer to be /usr/sbin/ssmtp


source /usr/sbin/ssmtp
/usr/sbin/ssmtp start

Then rolled out the following config to all of the nodes:

# /etc/ssmtp.conf -- a config file for sSMTP sendmail.
# See the ssmtp.conf(5) man page for a more verbose explanation of the
# available options.

# The person who gets all mail for userids < 500
# Make this empty to disable rewriting. 

# The place where the mail goes. The actual machine name is required
# no MX records are consulted. Commonly mailhosts are named
# The example will fit if you are in and your mailhub is so named.

# Example for SMTP port number 2525
# mailhub=mail.your.domain:2525
# Example for SMTP port number 25 (Standard/RFC)
# mailhub=mail.your.domain        
# Example for SSL encrypted connection
# mailhub=mail.your.domain:465

# Where will the mail seem to come from?

# The full hostname

# Set this to never rewrite the "From:" line (unless not given) and to
# use that address in the "from line" of the envelope.

# Use SSL/TLS to send secure messages to server.
# added PT 201809

# Use SSL/TLS certificate to authenticate against smtp host.
# Use this RSA certificate.

# Get enhanced (*really* enhanced) debugging information in the logs
# If you want to have debugging of the config file parsing, move this option
# to the top of the config file and uncomment

# Email 'from headers can override the defaul domain?

# added cert PT 2018 0928

It may be possible to make the output neater. Links for later reference