Hi Cody,

I tried this myself ...

Assume:
--
Google username: foobar
Google password: SuperSecret
GMail address: foo...@gmail.com
Google Account -> Sign-in & Security -> Apps with account access -> Allow less 
secure apps: ON
--
Ref: https://support.google.com/a/answer/176600?hl=en

Note: user.conf SMTP_FROM is *not* defined.

Network tab -> Outbound SMTP Mail Relay:
--
SMTP Server: smtp.gmail.com
SMTP Domain: gmail.com
SMTP Authentication: [plain]
SMTP Port: 587
SMTP Encryption: TLS/STARTTLS - [Check Cert]
SMTP Cert File: 
SMTP Username: foobar
SMTP Password: SuperSecret
--

No rebooting or restarting required to test, simply click:
Network tab -> Outbound SMTP Mail Relay: {Test SMTP mail Relay}

The above worked perfectly for me.

If you continue to have issues, you could try the latest AstLinux pre-prelease 
[1] which contains a newer "msmtp" version.

Lonnie

[1] https://www.astlinux-project.org/dev.html



> On Jul 11, 2018, at 11:11 PM, Cody Alderson <aldersona...@gmail.com> wrote:
> 
> Lonnie,
> 
> Everything I have been reading indicates to use the full address, but I tried 
> it without as you indicates. Note that I saved the settings and rebooted. 
> Still same message when attempting to test the SMTP relay. Maybe Gmail has 
> changed something other than need to turn on allow access to less secure 
> apps? I'll try another email server in the morning. So far nothing is working 
> to get it functional again.
> 
> Thanks all for your help.
> 
> Cody
> 
> On Wed, Jul 11, 2018 at 7:37 AM, Lonnie Abelbeck <li...@lonnie.abelbeck.com> 
> wrote:
> 
> > On Jul 11, 2018, at 3:28 AM, Michael Keuter <li...@mksolutions.info> wrote:
> > 
> > 
> >> Am 11.07.2018 um 07:14 schrieb Cody Alderson <aldersona...@gmail.com>:
> >> 
> >> Hi,
> >> 
> >> I changed my Gmail password and updated it using the Network tab and 
> >> Outbound SMTP Mail Relay in Astlinux. I did not change anything else in 
> >> Astlinux except the updating to the correct password, saving the settings 
> >> and rebooting.
> >> 
> >> These are my settings. For purposes of this email, I put "nothing entered 
> >> in this field" where the field is blank, and I only explain what is in the 
> >> username/password fields for security reasons.
> >> 
> >> SMTP Server: smtp.gmail.com
> >> SMTP Domain: nothing entered in this field
> >> SMTP Authentication: login
> >> SMTP Port: 465
> >> SMTP Encryption: SSL/SMTP – Ignore Cert
> >> SMTP Cert File: nothing entered in this field
> >> SMTP Username: my full gmail email address
> >> SMTP Password: my password
> >> 
> >> When I press Test SMTP Mail Relay and then Send Test Email, I get "invalid 
> >> email address."
> >> 
> >> Any suggestions as to the cause? Could it have anything to do with Gmail's 
> >> "access to less secure apps" setting?
> >> 
> >> Thank you,
> >> 
> >> Cody
> > 
> > Hi Cody,
> > 
> > try using in your user.conf:
> > 
> > SMTP_FROM="your-gmail-address"
> > 
> > also:
> > SMTP Domain: gmail.com
> > 
> > You could also try TLS on port 587 (and check the cert).
> > Yes, I guess the "access to less secure apps" setting may need to be 
> > enabled.
> > 
> > https://www.lifewire.com/what-are-the-gmail-smtp-settings-1170854
> > 
> > Michael
> 
> Here is another reference, look for "Gmail SMTP server"
> https://support.google.com/a/answer/176600?hl=en
> 
> My hunch is for "SMTP Username" you are using your full foo...@gmail.com 
> address, but it only wants "foobar"
> 
> Lonnie
> ------------------------------------------------------------------------------


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org.

Reply via email to