SSMTP not working after GMAIL password change

Ask questions about Arch Linux ARM. Please search before making a new topic.

SSMTP not working after GMAIL password change

Postby spencermclegg » Mon Aug 08, 2016 11:17 pm

I've had SSMTP working for almost a year now with no issues. I recently changed my Gmail password so I updated my ssmtp.conf file with the new password; however I am getting the following error:
$this->bbcode_second_pass_code('', '
ssmtp: Cannot open smtp.gmail.com:587')
I read through this thread and several other threads but none of the suggestions worked.

I am using Linux 3.8.13 armv7l GNU/Linux.

ssmtp.conf:
$this->bbcode_second_pass_code('', 'UseTLS=Yes
UseSTARTTLS=YES
root=XXXX@gmail.com
mailhub=smtp.gmail.com:587
AuthUser=XXXX@gmail.com
AuthPass=XXXX
rewriteDomain=gmail.com
hostname=XXXX@gmail.com
FromLineOverride=YES')
I am able to connect to gmail fine with netcat:
$this->bbcode_second_pass_code('', 'root@mycomputer:~# nc smtp.gmail.com 587
220 smtp.gmail.com ESMTP y194sm15326510iod.17 - gsmtp')
Again, this has been working the only thing I updated was my gmail password. Any suggestions would be appreciated.

Spencer
spencermclegg
 
Posts: 1
Joined: Mon Aug 08, 2016 11:12 pm

Re: SSMTP not working after GMAIL password change

Postby moonman » Tue Aug 09, 2016 3:10 am

Don't know if this somehow got triggered to disabled by changing your password, but try allowing "less secure apps" in your gmail https://support.google.com/accounts/answer/6010255
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3387
Joined: Sat Jan 15, 2011 3:36 am


Return to User Questions

Who is online

Users browsing this forum: No registered users and 29 guests