Thanks for coming back, please see below, I've commented them, but in short. The first one is what used to work, IMAP on secondary email of main account. This is what still works on POP (I did try modifying the string to check POP as well, but clearly my curl skills are limited). The second one is my partner's account. The last one is the primary email on the main account (this is what I use for webmail). BTW as an aside (maybe), if I try and reset the password on that secondary email, it can't find the account, I'm pretty sure thats at the heart of it somewhere, but can't explain why POP still works fine.
### NORMAL ACCOUNT
curl -v imaps://imap.virginmedia.com -u mxxxxx@virginmedia.com:XXXXXXXXXX 2>&1 | (where findstr && (findstr /V "LOGIN" | findstr "A0") || (grep -v "LOGIN" | grep "A0"))
-bash: where: command not found
> A001 CAPABILITY
< A001 OK CAPABILITY completed.
0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0< A002 NO [AUTHENTICATIONFAILED] Authentication failed.
### WORKING ACCOUNT (Partner’s)
curl -v imaps://imap.virginmedia.com -u axxxxx@virginmedia.com:XXXXXXXX 2>&1 | (where findstr && (findstr /V "LOGIN" | findstr "A0") || (grep -v "LOGIN" | grep "A0"))
-bash: where: command not found
> A001 CAPABILITY
< A001 OK CAPABILITY completed.
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0> A003 LIST "" *
< A003 OK List completed (0.013 + 0.000 + 0.012 secs).
> A004 LOGOUT
< A004 OK Logout completed (0.001 + 0.000 secs).
### PRIMARY ADDRESS ON “NOT WORKING” Account
curl -v imaps://imap.virginmedia.com -u mxxx@thexxxxxxx.co.uk:XXXXXXXXXX 2>&1 | (where findstr && (findstr /V "LOGIN" | findstr "A0") || (grep -v "LOGIN" | grep "A0"))
-bash: where: command not found
> A001 CAPABILITY
< A001 OK CAPABILITY completed.
< A002 NO Invalid Backend.