Collapse
Submit a Service Request
Contact Information for Technical Support
My Service Notifications
PASS (MailBox Open state) message when techmail pops a Gmail mailbox
Answer ID 12160 |
Last Review Date 04/06/2022
How do I resolve a PASS (MailBox Open state) message so that techmail can open a Gmail mailbox?
Environment:
techmail, mailboxes, Gmail, all versions
Resolution:
The PASS (MailBox Open state) message can be sent to the Notifications console due to Gmail 2 factor authentication.
Techmail does not support Google 2 factor authentication. When managing settings in the Google Admin console the "Disable access to less secure apps" setting should not be used as it forces 2 factor authentication. For more information please refer to Control access to less secure apps.
Note that a informational message is sent by the Gmail servers to indicate that 2 factor authentication is being used. This message is not available in Notifications but can be checked by using the openssl command to connect to your gmail pop account.
An example session failing due to 2 factor authentication
openssl s_client -connect pop.gmail.com:995 -quiet
depth=2 C = US, O = Google Trust Services LLC, CN = GTS Root R1
verify error:num=20:unable to get local issuer certificate
verify return:1
depth=1 C = US, O = Google Trust Services LLC, CN = GTS CA 1C3
verify return:1
depth=0 CN = pop.gmail.com
verify return:1
+OK Gpop ready for requests from 160.34.89.238 e8mb315062571ioh
USER some_user_name
+OK send PASS
PASS password
-ERR [AUTH] Web login
depth=2 C = US, O = Google Trust Services LLC, CN = GTS Root R1
verify error:num=20:unable to get local issuer certificate
verify return:1
depth=1 C = US, O = Google Trust Services LLC, CN = GTS CA 1C3
verify return:1
depth=0 CN = pop.gmail.com
verify return:1
+OK Gpop ready for requests from 160.34.89.238 e8mb315062571ioh
USER some_user_name
+OK send PASS
PASS password
-ERR [AUTH] Web login
And if the mailbox password is incorrect you will receive:
-ERR [AUTH] Username and password not accepted.