SMTP Server not sending emails after changing internet provider
ramrajone Google no longer allows you to set app passwords and give no option now on it. I was using app passwords for another program for this same reason, but Google decided to disable the option to allow app passwords.
Not for me. I can still add and use these with my Google apps and personal account.
Cheers.
Daedalus01
I can create an app password
do you have 2-step verification set to ON?
Okay after some research, I activated the 2FA and now I can create app passwords. Still, after doing all that and setting up the email with the app password created, I still cant get it to work
KevinTheJedi I have 2FA turned on using a Yubikey and it does not give me the option for app passwords. I am not sure why.
Not sure, if I were you I'd contact Gmail and raise hell. There should be no reason for that. As you can see below I still have the option to disable/enable 2FA as well as add/remove App Passwords.
Maybe you need to login as the account administrator, go to the admin console, and allow App Passwords for specific accounts?
Cheers.
Daedalus01 Well Leave it to Google. Maybe its because I had 2FA enabled before the push. I disabled 2FA, re-enabled it still using my Yubikey and now app passwords are back. Didn't think to try that until now since other people were saying they still had app passwords. I figured Google just made it a hard decision.
ramrajone Hi, we have checked the Google workspace admin console aswell the firewall and the IP addresses and ports are all allowed. We just ran a test using the smtp on a Xerox scanner with the App password generated before and it sent the email of the scan pefectly. But when we try and use the same configuration on OsTicket it just does not work at all. Also, we tried using smtp-relay.gmail.com, and that worked flawlesly on the scanner, but yet again with no success on OsTicket
KevinTheJedi Hi, can you elaborate on that question please?
Also, now the IMAP stopped fetching emails, nothing has changed and it says Host not found (#11001): imap.gmail.com
Deather Host not found usually means DNS issues. By shared host I think ( but not certain) that he is asking if you are using a shared hosting platform for this.
Iām asking if you use a shared hosting platform or if this is is a sever you host in house. If you use shared host they typically have SMTP restrictions. If this is the case youād need to reach out to your hosting provider to have them lift the restrictions.
Since that domain canāt be found (itās a completely valid domain from Google) it appears you are having network/DNS issues on your server. You need to resolve your network/dns issues and you should be good.
Cheers.
- Edited
I don't know how in the world smtp.gmail.com
is working for IMAP for you. I've never seen that before. Typically it's imap.gmail.com
.
Cheers.
- Edited
KevinTheJedi
that's how I have always been using it and never had any issues
I think it's because Gmail uses the same server for IMAP and SMTP and I am setting IMAP Port 993.
Name: smtp.gmail.com
Addresses: 2607:f8b0:4004:c06::6c
172.253.63.108
Name: imap.gmail.com
Addresses: 2607:f8b0:4004:c17::6c
2607:f8b0:4004:c17::6d
142.251.163.108
142.251.163.109
That's very weird of them then lol Why don't they have just mail.gmail.com
or something generic if it's like that?
Cheers.
ramrajone Not sure how you are seeing that they are using the same server for smtp. and imap. Those are completely different IPv6 and IPv4 addresses and I get different ones than you. My guess would be is that both sets of ports are open on each server and then the backend routes it correctly. I agree with @KevinTheJedi though, they could just have a mail.gmail.com and be done.
- Edited
Hello everyone, after a while we managed to solve our issue. Our main issue was the HELO. No matter what host we picked, it always said HELO error. So I found a workaround and now the system is working flawlessly.
What I did is, got inside the OSticket folder, got into the Include folder and then into the Pear folder. Then went inside the Mail folfer. There I found a file called SMTP.php. I edit the file, to be more specific, the line 134
That is what the file said by default. I changed the string from localhost to ācomputername.domainname.comā (The FQDN) and now it just works.
Thank everyone for your help! Hope this helps someone else too!