Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to send notification mails using monit v5.1. I am using Google Apps as a mailserver, so I wanted to use their infrastructure for outgoing mails.

I have entered the following information in my /etc/monit/monitrc:

set mailserver PORT 587 USERNAME "" PASSWORT "mypassword" using TLSV1 with timeout 30 seconds

When monit tries to send out mails, I get the following error:

Sendmail error: 530 5.7.0 Must issue a STARTTLS command first.

How can I tell monit to use STARTTLS? How can I send alert mails via monit using the Google Apps mailserver?

share|improve this question
up vote 1 down vote accepted

Just for a reference if someone has the same problem... it was simply a spelling mistake, I should have used "PASSWORD" instead of "PASSWORT". Then everything works fine.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.