Discussion:
sendmail / ssmtp with gmail
Jason Rose
2010-01-14 03:25:16 UTC
Permalink
Hey all,

I am trying to make my voicemail to email work, and its proving to be a pain!

I have ssmtp installed so I can authenticate to secure servers easily but gmail keeps reporting:
"ssmtp: Server didn't like our AUTH LOGIN (530 5.7.0 Must issue a STARTTLS command first. 10sm361803eyd.21)"

My config is
root=jrose-NXvcCiDJKGWWxxmzC2Lj+***@public.gmane.org
mailhub=smtp.gmail.com:587
rewreiteDomain=
UseSTARTTLS=YES
hostname=jrose-NXvcCiDJKGWWxxmzC2Lj+***@public.gmane.org
AuthUser=jrose
AuthPass=XXX
FromLineOverride=YES
AuthMethod=LOGIN

any pointers or suggestions?

I can get this working with rogers, but would rather it on my domain.

Thanks,
Jason
Aloysius Thevarajah Lloyd
2010-01-14 03:55:01 UTC
Permalink
I assume you are using google apps.

Try
Post by Jason Rose
Hey all,
I am trying to make my voicemail to email work, and its proving to be a pain!
I have ssmtp installed so I can authenticate to secure servers easily but
"ssmtp: Server didn't like our AUTH LOGIN (530 5.7.0 Must issue a STARTTLS
command first. 10sm361803eyd.21)"
My config is
mailhub=smtp.gmail.com:587
rewreiteDomain=
UseSTARTTLS=YES
AuthUser=jrose
AuthPass=XXX
FromLineOverride=YES
AuthMethod=LOGIN
any pointers or suggestions?
I can get this working with rogers, but would rather it on my domain.
Thanks,
Jason
Jason Rose
2010-01-14 04:11:06 UTC
Permalink
Thanks, but that wasnt the issue... its not sending a STARTTLS "Must issue a STARTTLS" even tho the headers are correct.

I have forced it to work on my rogers email (apparently you can add other domains onto rogers...good to know) so it accepts email from voicemail-NXvcCiDJKGWWxxmzC2Lj+***@public.gmane.org to be sent thru a rogers relay.

Last question would be, does anyone know how I can change from from name in *?

Thanks,
Jason




________________________________
From: Aloysius Thevarajah Lloyd <lloyd.aloysius-***@public.gmane.org>
To: Jason Rose <jjkool-bJEeYj9oJeDQT0dZR+***@public.gmane.org>
Cc: asterisk-***@public.gmane.org
Sent: Wed, January 13, 2010 10:55:01 PM
Subject: Re: [on-asterisk] sendmail / ssmtp with gmail

I assume you are using google apps.

Try
Post by Jason Rose
Hey all,
I am trying to make my voicemail to email work, and its proving to be a pain!
I have ssmtp installed so I can authenticate to secure servers easily but
"ssmtp: Server didn't like our AUTH LOGIN (530 5.7.0 Must issue a STARTTLS
command first. 10sm361803eyd.21)"
My config is
mailhub=smtp.gmail.com:587
rewreiteDomain=
UseSTARTTLS=YES
AuthUser=jrose
AuthPass=XXX
FromLineOverride=YES
AuthMethod=LOGIN
any pointers or suggestions?
I can get this working with rogers, but would rather it on my domain.
Thanks,
Jason
Aloysius Thevarajah Lloyd
2010-01-14 04:25:41 UTC
Permalink
serveremail= xxx ; Who the e-mail notification should appear to come from
fromstring= xxx ; Real name of email sender
Post by Jason Rose
Thanks, but that wasnt the issue... its not sending a STARTTLS "Must issue
a STARTTLS" even tho the headers are correct.
I have forced it to work on my rogers email (apparently you can add other
domains onto rogers...good to know) so it accepts email from
Last question would be, does anyone know how I can change from from name in *?
Thanks,
Jason
------------------------------
*Sent:* Wed, January 13, 2010 10:55:01 PM
*Subject:* Re: [on-asterisk] sendmail / ssmtp with gmail
I assume you are using google apps.
Try
Post by Jason Rose
Hey all,
I am trying to make my voicemail to email work, and its proving to be a pain!
I have ssmtp installed so I can authenticate to secure servers easily but
"ssmtp: Server didn't like our AUTH LOGIN (530 5.7.0 Must issue a
STARTTLS
Post by Jason Rose
command first. 10sm361803eyd.21)"
My config is
mailhub=smtp.gmail.com:587
rewreiteDomain=
UseSTARTTLS=YES
AuthUser=jrose
AuthPass=XXX
FromLineOverride=YES
AuthMethod=LOGIN
any pointers or suggestions?
I can get this working with rogers, but would rather it on my domain.
Thanks,
Jason
Loading...