How to setup Gmail in phpBB 3.2.x in 2019?

I wrote a post long time ago about how to use Gmail with phpBB 3. Now it is 2019. It may get error with the same settings. It is not because my guide is wrong. Actually Google add more security protection on its Gmail facility.

Let me review the settings.

1) Make sure your Gmail account (Google Apps account) is working properly.

Sample below:

Gmail account: myname@gmail.com

Gmail password: 123456

You can sign in your Gmail from the browser, Chrome or Firefox, etc.

2) Enable POP

Forwarding and POP / IMAP. Under POP Download, click either Enable POP for all Mail, or Enable POP for Mail that Arrives Now (which ever suits your purpose). Configure anything else that appeals to you too. Exit from the Gmail Settings Window after saving your selections (this is important).

3) Settings in phpBB 3.2.x

Login the phpBB administrator panel.
Goto General Admin > Configuration > Email Settings
SMTP Server Address:tls://smtp.gmail.com
SMTP Ports: 465
Authentication method for SMTP: PLAIN
SMTP Username: myname@gmail.com
SMTP Password: 123456

After the above three steps, try to send email by forget password or register a new user.

Check the error log on the phpBB Admin panel.

There are may be erro 535 or error 534. The error looks like below:

Error 535

Email 错误
» EMAIL/SMTP
/forum/ucp.php

Ran into problems sending email at Line 1662. Response: 535 5.7.8 https://support.google.com/mail/?p=BadCredentials q128sm62190489pga.60 - gsmtp
.
Backtrace

Connecting to tls://smtp.gmail.com:465
LINE: 1205 <- 220 smtp.gmail.com ESMTP q128sm62190489pga.60 - gsmtp

# EHLO freesat.cn
LINE: 1552 <- 250-smtp.gmail.com at your service, [165.227.55.7]

LINE: 1552 <- 250-SIZE 35882577

LINE: 1552 <- 250-8BITMIME

LINE: 1552 <- 250-AUTH LOGIN PLAIN XOAUTH2 PLAIN-CLIENTTOKEN OAUTHBEARER XOAUTH

LINE: 1552 <- 250-ENHANCEDSTATUSCODES

LINE: 1552 <- 250-PIPELINING

LINE: 1552 <- 250-CHUNKING

LINE: 1552 <- 250 SMTPUTF8

# AUTH PLAIN
LINE: 1655 <- 334

# Omitting sensitive information
LINE: 1662 <- 535-5.7.8 Username and Password not accepted. Learn more at

LINE: 1662 <- 535 5.7.8 https://support.google.com/mail/?p=BadCredentials q128sm62190489pga.60 - gsmtp 

Error 534

Email 错误
» EMAIL/SMTP
/forum/ucp.php

Ran into problems sending email at Line 1662. Response: 534 5.7.14 https://support.google.com/mail/answer/78754 c3sm70133058pfg.88 - gsmtp
.
Backtrace

Connecting to tls://smtp.gmail.com:465
LINE: 1205 <- 220 smtp.gmail.com ESMTP c3sm70133058pfg.88 - gsmtp

# EHLO freesat.cn
LINE: 1552 <- 250-smtp.gmail.com at your service, [165.227.55.7]

LINE: 1552 <- 250-SIZE 35882577

LINE: 1552 <- 250-8BITMIME

LINE: 1552 <- 250-AUTH LOGIN PLAIN XOAUTH2 PLAIN-CLIENTTOKEN OAUTHBEARER XOAUTH

LINE: 1552 <- 250-ENHANCEDSTATUSCODES

LINE: 1552 <- 250-PIPELINING

LINE: 1552 <- 250-CHUNKING

LINE: 1552 <- 250 SMTPUTF8

# AUTH PLAIN
LINE: 1655 <- 334

# Omitting sensitive information
LINE: 1662 <- 534-5.7.14 <https://accounts.google.com/signin/continue?sarp=1&scc=1&plt=AKgnsbvN

LINE: 1662 <- 534-5.7.14 oQL0Oh8c3yyrQ3pFWK8OSPe0ZeGUxF2IhoMTilIFwIhrm23Gh3AzeyJieBixBumfmLEUcK

LINE: 1662 <- 534-5.7.14 8uGA3j9f8ivM_fTF4QTY7IjShfbixidMFTu6snmNH9dGueiZpHaWPcVtrUFLGIQqhSVSl7

LINE: 1662 <- 534-5.7.14 wxVGeVOzTzQnsRZbpMRXhyL1L6dmZbpzwZhRrQPbmg_MzYMtjzW7UwBT> Please log

LINE: 1662 <- 534-5.7.14 in via your web browser and then try again.

LINE: 1662 <- 534-5.7.14 Learn more at

LINE: 1662 <- 534 5.7.14 https://support.google.com/mail/answer/78754 c3sm70133058pfg.88 - gsmtp

At this point, you should go to change the settings of your Gmail or Google account.

4) Settings at Google

Enable less secure apps to access account

Sign in to your Google account

Click Security

On the bottom of the page, in the Less secure app access panel, click Turn on access.

 

Unlock Captcha

Sign in to your Google account

Open https://accounts.google.com/DisplayUnlockCaptcha link and click button to unlock Captcha

Now, the Gmail can handle the mailing from phpBB without errors.

 

Another Facebook security failure: millions of records leaked

540 million data records of Facebook users were compromised after third-party apps and sites stored the data on unsecured servers.

The leaked information included comments, likes, reactions, account names, and FB IDs, and some email addresses. The app called At The Pool even stored passwords of 22,000 users in plaintext.

Security expert tips: If you have used At The Pool, make sure you are not reusing the same password for any other accounts. All other Facebook users, beware of phishing attacks based on your account activity.

How to protect yourself

  • Don’t use third-party Facebook apps. These apps collect data on Facebook and deliver it to third parties who may not be secure. If you don’t want your private data showing up on unsecured servers, don’t use any third-party apps on Facebook.

  • Don’t use Facebook. This is a tough ask for many users, but the arguments for leaving Facebook are growing. With more and more data breaches and suspicious activities coming to light every month, more people are questioning whether this free service is worth it.

  • Reduce your Facebook activity levels. The less time you spend on Facebook and the less you do on their platform, the less they know about you. When creating or editing your account, don’t provide them with any more data than they need to provide their service.

Firmware update of my Kindle Paperwhite 7th gen

Yesterday night, when I open the cover of my Kindle paperwhite, it displayed the updating screen.

So it is automatically update. We call it OTA update, or over-the-air update.

 

Now it is version 5.11.1.1. I remembered I did a manual update last Augest. After that update, it was 5.9.7.

On my Kindle, the What’s New page shown two release version, 5.10.3 and 5.11.1.1.

Let’s have a look at the What’s New.

Version 5.11.1.1 – April 2019

New translation language: Tanslation support added for Afrikaans, Catalan, Icelandic, Swedish and Welsh.

New keyboard languages: Keyboard support added for Afrikaans, Danish, Icelandic, Norwegian and Swedish.

Performance improvements, bug fixes, and other general enhancements.

Version 5.10.3 – February 2019

Performance improvements and other general enhancements.

Here is the link to download the firmware for v5.11.1.1, if you don’t get the OTA update.

Traffic Reports

It is already twelve days past. I started a new campaign since March 20. Here is an update of it.

From 2019.03.20 to 2019.3.30

Compared with the previous year.

 

Traffic from 2019.3.20 to 2019.3.30
  • Users: 39.76% increase
  • New Users: 39.46% increase
  • Sessions: 45.73% increase
  • Pageviews: 77.61% increase
  • Bounce Rate: 8.54% decrease.

These changes are in a good direction. I am happy about it.

Based on the Awstats report.

During the same period.

Average Visits is 576,  105% increase.

Average pages is 2379,  165% increase.

Continue reading “Traffic Reports”

Hot to fix the problem on the new installation MariaDB

After the installation of MySQL server or MariaDB on Ubuntu, I would like to use phpMyAdmin or Adminer to access the MySQL server. But the first time the error comes like below.

Access denied for user ‘root’@’localhost’

mysqli_real_connect(): (HY000/1698): Access denied for user ‘root’@’localhost’

MySQL connect error on phpMyAdmin

 

MySQL connect error on Adminer

Here is the solution to make the root connect to a server without error.

Continue reading “Hot to fix the problem on the new installation MariaDB”

How to enable the VM auto-boot in Proxmox VE

After the setup of my first Proxmox VE, I need to shutdown and startup your Proxmox hardware node. There are many reasons for this such as adding new hardware or to apply new kernel updates.

Before shutting down the Host machine, I have to shutdown the LXC container and all VMs.

When I start the Proxmox VE host node, the VM will not start up automatically. I will do it manually.

Here is the way to make the VMs auto-start with the HOST.

Datacenter > Virtual Machine > 109 (example.com) > Options > Start at boot

Double click the “Start at boot”, select the check box and OK.

Start at boot, options of Virtual Machine in Proxmox VE

Continue reading “How to enable the VM auto-boot in Proxmox VE”

  • Archives