AquaMail Forum

English - Android => Bug reports => Topic started by: ehquionest on December 03, 2015, 11:03:18 am

Title: Can't use with any VPN app
Post by: ehquionest on December 03, 2015, 11:03:18 am
Hello !
I use AquaMail Pro and for me this is the best email app. But I use also a VPN app on my Android phone and this unabble Aquamail to check, receive or send any email. If I stop the VPN, Aquamail works again. I have to say that this is the same issue with any of several VPN app I tried...
Can you help me ??
Thank you !
Title: Re: Can't use with any VPN app
Post by: Kostya Vasilyev on December 04, 2015, 01:25:37 am
There should be nothing special about a VPN -- at the same time, I have no idea if your VPN does the right thing.

AquaMail doesn't care, really. It just uses standard networking functions to do what it needs to do.

My WiFi router is behind a VPN essentially -- L2TP, that's how providers set things up where I live -- no issues.

A VPN on the phone should be directing network traffic in a way that does not require all applications to be modified.

Things I'd check right away -- is whether mail ports are forwarded (and not just web browsing ports).

IMAP: 143, 993. POP3: 110, 995. SMTP: 25 (rare), 587, 465.

If you have any @gmail accounts in AquaMail with OAUTH, the app will also need access to:

https://accounts.google.com and https://www.googleapis.com if it's an account *not* present in system settings

and

whatever Google Play uses to do its OAUTH thing if it *is* present in system settings (I have no idea what "endpoints" Play talks to).
Title: Re: Can't use with any VPN app
Post by: ehquionest on December 04, 2015, 07:41:12 pm
Could it be because my smartphone is rootted ? As I said all VPN app I tried (a lot of them) does the same...
Thank you !
Samuel
Title: Re: Can't use with any VPN app
Post by: Kostya Vasilyev on December 04, 2015, 08:41:22 pm
I don't think this is related to rooting (and believe that VPN apps won't run without root).

Yeah, maybe you've tried them all --

-- but do you *know* if they forward traffic on mail port numbers?

-- do you know if they're supposed to work with mail apps?

Maybe you can try K9 Mail as a reference point.
Title: Re: Can't use with any VPN app
Post by: ehquionest on December 04, 2015, 08:42:11 pm
No I don't know all of this  :-\
Title: Re: Can't use with any VPN app
Post by: mikeone on December 04, 2015, 11:52:25 pm
No I don't know all of this  :-\
So, as a first step it could be helpful to follow Kostya's suggestion and try K9 mail.
Title: Re: Can't use with any VPN app
Post by: Kostya Vasilyev on December 06, 2015, 04:08:56 pm
Re: No I don't know all of this

A VPN app should not require modifications to "mail apps", "twitter apps", "web browser apps", "calorie counting apps" etc.

It should just let those apps work as before, but redirecting traffic the way you expect it to.

If you are not very technical and don't understand what I'm trying to tell you about "port numbers" and "TCP/IP" --

-- please contact the VPN app's support and ask them *specifically* if their VPN is supposed to work for e-mail apps using IMAP and SMTP, using the port numbers I've given above.

Re: K9 Mail

Yes, always a good idea to do a "sanity check".
Title: Re: Can't use with any VPN app
Post by: StR on December 06, 2015, 10:52:12 pm
I would say that those questions should be first addressed to the IT people who provide the VPN access. (I suspect it's a corporate VPN.) It would be likely the corporate VPN policies that might limit access to certain resources (what is allowed and what is not), than the apps properties.
Title: Re: Can't use with any VPN app
Post by: Kostya Vasilyev on December 06, 2015, 10:57:07 pm
StR - yes, that's a good point.

My impression was of VPN apps "for security" which make your network connection "pop out" somewhere else geographically.

But maybe it is a corporate VPN (but then he probably wouldn't be trying "all VPN apps", which he mentioned).
Title: Re: Can't use with any VPN app
Post by: StR on December 07, 2015, 08:00:31 am
Kostya, you are probably right...
"several vpn apps" made me wondering why he/she would be trying different vpn apps, but I didn't think about that type of vpn. For a moment I was actually thinking if there were any vpn clients that might be distributed by wi-fi router makers - to ease access to home networks...
Title: Re: Can't use with any VPN app
Post by: ehquionest on December 14, 2015, 02:51:18 pm
Hi ! I installed K9-Mail and all work well with the VPN, while Aqua Mail doesn't work... Any idea ?
Title: Re: Can't use with any VPN app
Post by: Kostya Vasilyev on December 15, 2015, 10:35:30 pm
No, no idea. TCP/IP socket code is in Android, not app.

Is your account @gmail?

Is it set up as such -- Gmail and Google Apps -- in AquaMail?

If so, please remove it and add back as "Internet Mail", with entering your password (just like you had to do in K9 Mail which doesn't support OAUTH).
Title: Re: Can't use with any VPN app
Post by: ehquionest on December 16, 2015, 10:35:59 am
No it's my own provider email. I tried again as you said with "mail internet", but same problem... sorry
Title: Re: Can't use with any VPN app
Post by: mikeone on December 16, 2015, 11:59:24 am
No it's my own provider email. I tried again as you said with "mail internet", but same problem... sorry
You mean your owm "email server", configured and supported by yourself?
Title: Re: Can't use with any VPN app
Post by: ehquionest on December 16, 2015, 12:02:29 pm
No by Infomaniak in Switzerland
Title: Re: Can't use with any VPN app
Post by: Kostya Vasilyev on December 16, 2015, 02:06:57 pm
Sanity check.

I just tried the top rated VPN app in Play -- called VPN Master, which has a spectacular 4.6 rating:

https://play.google.com/store/apps/details?id=free.vpn.unblock.proxy.vpnmaster

- In AquaMail, some mail accounts (providers) worked, some didn't (network / connect errors):

Worked: Yahoo, Mail.ru, Office 365
Didn't work: Gmail, Fastmail, Yandex.ru

- Tried adding one of those non-working accounts into Gmail Android App:

Didn't work, stuck "validating account settings" forever

- Google Play app:

Didn't work, stuck "refreshing", eventually "connection timed out"

( I wanted to install K9 Mail )

- Gmail app with my primary Gmail account:

Didn't work: test message didn't arrive, "pull to refresh" stuck on "refresh wheel"

- Chrome:

Tried three web sites which I visit daily, not one of them opened, "web page not available, connection timed out".

- Tried a different VPN endpoint, UK was the default, changed to Nederlands, no difference.

---

Does not look all that wonderful and magical to me (esp. for an app rated at 4.6).

But surely it's "a bug in AquaMail", right?

Title: Re: Can't use with any VPN app
Post by: ehquionest on December 16, 2015, 03:00:42 pm
What I know for sure in my case, is that with any VPN I use, all app on my Android phone work well except few email apps. I recently bought a VPN licence and all still work ok on my phone including K-9 mail, but not Aquamail. I don't know what to say...
Title: Re: Can't use with any VPN app
Post by: Kostya Vasilyev on December 16, 2015, 04:52:56 pm
I happy to hear that you found an email app that does work for you.