bear Posted May 11, 2022 Share Posted May 11, 2022 Since day 1, I've never been able to get POP ticket import working in WHMCS (v 8.1.3). I've tried port 110 and 995 (both ok/reachable on the servers) with a mail account on the same server as well as a totally different one, a new POP mailbox as well as an older one and so on. No success. Mainly the same error: "The Mail Import test failed: last request failed: [AUTH] Authentication failed." Server mail log shows: "pop3-login: Disconnected: Aborted login by logging out (auth failed, 1 attempts in 2 secs)" Mail account can easily be checked using local mail program here, auth is just fine. Changed passwords on the mail account being tried so it had no special characters, as well as making it both long and short, respectively, and have the same result. I've been using piping, but had a need for one department to use POP import, so would like to get some fresh ideas, if anyone has any. 0 Quote Link to comment Share on other sites More sharing options...
xyzulu Posted May 11, 2022 Share Posted May 11, 2022 What email provider? I have no issues with pop importing (for years).. usually gmail or google workspace accounts. There is also a new oauth gmail/google option worth trying. 0 Quote Link to comment Share on other sites More sharing options...
bear Posted May 11, 2022 Author Share Posted May 11, 2022 My own servers (Dovecot). The setup asks for the email and password, which more than one server refuses to authenticate. The accounts work, so it's something to do with the WHMCS connection. 0 Quote Link to comment Share on other sites More sharing options...
xyzulu Posted May 11, 2022 Share Posted May 11, 2022 Test another server? ie gmail.com to see if the issue is also happening there? 0 Quote Link to comment Share on other sites More sharing options...
bear Posted May 11, 2022 Author Share Posted May 11, 2022 I'm not interested in using Gmail, I need to try and figure out why this is failing with my own servers. 0 Quote Link to comment Share on other sites More sharing options...
Bigol'tastynuggets Posted May 11, 2022 Share Posted May 11, 2022 I think he means to establish if it's an email server issue OR a whmcs feature - process of elimination type of scenario. What do the logs indicate on your email server? Does the auth request reach the server? 0 Quote Link to comment Share on other sites More sharing options...
bear Posted May 11, 2022 Author Share Posted May 11, 2022 I understand what he'd meant there, but as it's connecting to 2 separate servers in testing, the chances of it being an email server issue are somewhat less (and besides, Gmail setup with 0AUTH is a royal pain if I have no intention of using Gmail with this). As for the server logs, I gave the result above in my initial post: "Server mail log shows: pop3-login: Disconnected: Aborted login by logging out (auth failed, 1 attempts in 2 secs)". Same result with TLS (port 995) and plain (110) on both servers. The same account that won't authenticate using WHMCS is fine using a mail program. Something WHMCS sends is causing it to crap out. 0 Quote Link to comment Share on other sites More sharing options...
bear Posted May 11, 2022 Author Share Posted May 11, 2022 Sonofagun. It's just the "test this connection" that fails. Each time I'd tried, I stopped short of making the department because it told me it wasn't connecting, and the server logs bore that out. Decided to follow through, make the department and set up the cron and it imports fine. Thanks for the replies, looks like this is a case of the WHMCS check doing something weird. So much wasted time... 2 Quote Link to comment Share on other sites More sharing options...
Carolyn Sutton Posted June 9, 2022 Share Posted June 9, 2022 On 5/11/2022 at 5:19 PM, bear said: I'm not interested in using Gmail, I need to try and figure out why this is failing with my own servers. But why not suing Gmail? what is reason? 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Support Manager WHMCS John Posted June 9, 2022 WHMCS Support Manager Share Posted June 9, 2022 Hi @bear, Attached is a test script, this will provide more verbose output for you to debug. Please edit line 28 with your mailserver hostname. Edit line 33 with your mailbox's username and password. Then upload to your WHMCS directory and visit in your browser. pop_debugv80.php 0 Quote Link to comment Share on other sites More sharing options...
bear Posted June 9, 2022 Author Share Posted June 9, 2022 I don't need to debug, John. It's the connection test that doesn't work; the actual import works as expected. That suggests the test WHMCS does when asking it to confirm settings is flawed in some way. 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Support Manager WHMCS John Posted June 9, 2022 WHMCS Support Manager Share Posted June 9, 2022 Hi @bear, Which version of WHMCS are your running, please? 0 Quote Link to comment Share on other sites More sharing options...
bear Posted June 9, 2022 Author Share Posted June 9, 2022 It's never worked. From version 5 all the way to 8, I've never gotten any result other than the one shown above. I'm over it. Moved on. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.