Skip to content

Instantly share code, notes, and snippets.

@arikfr
Created December 13, 2010 14:35
Show Gist options
  • Star 19 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • Save arikfr/739039 to your computer and use it in GitHub Desktop.
Save arikfr/739039 to your computer and use it in GitHub Desktop.
Setting Monit to work with Gmail as mail server
set mailserver smtp.gmail.com port 587 username "user@domain.com" password "password" using tlsv1 with timeout 30 seconds
@bipinacellere
Copy link

How to setup with office 365 email account?
I tried following way but it does not work. I m getting error "Sendmail error: 504 5.7.4 Unrecognized authentication type"

set mailserver smtp.office365.com port 587
username "MYEMAIL"
password "MYPASSWORD"
using tlsv1
with timeout 30 seconds

@ashish173
Copy link

If you are using gmail as mailserver then you'll have to do a couple of things before you can successfully send mails http://serverfault.com/questions/635139/how-to-fix-send-mail-authorization-failed-534-5-7-14

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment