Skip to main content
Question

SMTP

  • August 31, 2014
  • 12 replies
  • 27 views

Forum|alt.badge.img+6

I cannot for the life of me set up SMTP outgoing email settings correctly (testing has been a headache). I have used several variations. Right now, we are using Google SSL (as far as I know). Anyone have advice as to what works/doesn't work in the SMTP settings? I have a lot of experience in email settings/configuration, but this has stumped me. Any help is much appreciated. Thanks!

12 replies

talkingmoose
Forum|alt.badge.img+36
  • Community Manager
  • August 31, 2014

The same SMTP settings you'd use in your email client should work for the JSS as well. Don't forget you'll need to use authentication to send through a third party server. Make sure you're not using an account that requires two-factor authentication.

You might also verify port 465 (SSL) or 587 (TLS) isn't blocked from your server. Google usually takes either.

If you still can't get this to work then test with a non-Google account such as iCloud or Outlook.com. If you have problems making those work then you probably have something outside your JSS causing interference.


acodega
Forum|alt.badge.img+15
  • Valued Contributor
  • August 31, 2014

Double check the Google Apps documentation, it looks like they've added material on selecting the right SMTP configuration based on your device. Also, to be honest I've made the mistake of typing smtp.google.com instead of smtp.gmail.com.


Forum|alt.badge.img+18
  • Honored Contributor
  • August 31, 2014

+1 for the Google apps relay.. Plug in the ip of the jss, and it won't complain about auth.
https://support.google.com/a/answer/2956491?hl=en


acodega
Forum|alt.badge.img+15
  • Valued Contributor
  • August 31, 2014

Just tested this on my Google Apps account. On the JSS config I used smtp.gmail.com, port 465, and I set encryption to SSL. I enabled "Requires authentication" with timeout set to five seconds.

Make sure to enter the username as username@domain.com, Google requires it.


Forum|alt.badge.img+5
  • Contributor
  • September 1, 2014

Requires authentication is not required actually.
Put smtp server as aspmx.l.google.com port 25
Encryption SSL
Sender Email Address: yourname@yourdomain.com


Forum|alt.badge.img+5
  • Contributor
  • September 1, 2014

@adamcodega This way work better I think, Just FYI.


Forum|alt.badge.img+8
  • Contributor
  • March 2, 2015

@thuluyang - thanks for that smtp server info! All other Gmail smtp settings were triple-checked and confirmed, but not working. Your method worked like a charm the first time -- cheers!


Forum|alt.badge.img+5
  • Contributor
  • April 2, 2015

@gokoudes I am happy that you came back and tell me it worked. Thanks


Forum|alt.badge.img+12
  • Contributor
  • October 12, 2016

If you are using a Hosted JSS, and G Suite for email, then the third column in https://support.google.com/a/answer/176600?hl=en (Restricted Gmail SMTP server) should work.


daniel_ross
Forum|alt.badge.img+20
  • Jamf Heroes
  • November 10, 2016

@thuluyang your instructions worked perfectly!


Forum|alt.badge.img+7
  • New Contributor
  • March 27, 2017

@thuluyang that was perfect. Many thanks


Forum|alt.badge.img
  • New Contributor
  • December 14, 2018

@thuluyang This worked like a charm as others have suggested. Tried all the other default stuff but no go.

Many thanks!