Author Topic: Gmail identities via Aqua mail inconsistent headers on Outlook  (Read 5197 times)

Quonet67281

  • Newbie
  • *
  • Posts: 4
Gmail identities via Aqua mail inconsistent headers on Outlook
« on: February 23, 2017, 03:38:10 pm »
I have verified all my Aqua Mail settings are the same as my colleague Android user. I have verified both of our Gmail settings are identical. We both have IMAP turned on on Gmail on the web. Neither one of have Gmail on the web setting for Treat as an Alias turned on for our custom domain used thru gmail. We both have Gmail set to send using godaddy's smptout.secureserver on port 465 using SSL. When he sends a message from Aqua Mail using his custom identity that is read by an external Outlook user what the external Outlook user sees is "From:" it appears totally professional with NO "on behalf of". It says for him From:his_username@ourdomain. and that's it. But if I send a message from my Aqua Mail that is a read by an Outlook user what the Outlook user sees is from from:"GmailUser@gmail. on behalf of my_username@ourdomain." I never get the "on behalf of" problem when sending through regular Gmail or Gmail app for Android or gmail all for iPhone or Gmail on the web. Google support says Outlook receipients of messages sent using your custom domain via Gmail "may"see this "on behalf of" due to sender in the header info not matching the Gmail  domain. But Google support provides no more information or remedy or explanation of why it happens sometimes for some users and never for other users with all the same settings. Let me repeat I do not have this set to treat as an Alias within Google. If you set it that way you WOULD expect to see the on behalf of. I don't have it set that way and either does my colleague.

 Could it be an Aqua Mail problem causing this? Any other solution? If I can't solve this I will have to discontinue my use of Aqua Mail and go back to the Gmail app for Android which is horrible because of its forced threaded conversation view despite having a setting to turn it off (which doesn't work).

StR

  • Hero Member
  • *****
  • Posts: 1558
Re: Gmail identities via Aqua mail inconsistent headers on Outlook
« Reply #1 on: February 23, 2017, 10:58:32 pm »
As a user of Aquamail who is using exactly the same setting for one of the accounts, I can tell you that the reason for your problem is not Aquamail but the way you have it configured.
And if you don't believe my word, - the example of your colleague for whom it works properly proves that.
So, your jerk-knee reaction to jump ship is unwarranted.

Here is, I suspect, what you are missing in your configuration: in your case, Aquamail is sending via Gmail's SMTP server, not  smptout.secureserver. If your message was going out via smptout.secureserver, there would be NO trace of your GMail address in it, whatsoever, because the message wouldn't experience GMail on its way out.

Here is what you should do:

If the account is configured as IMAP (not Gmail OAuth2):
Long press on the account name (in the account list view) -> Account Setup.

First verify that on your first screen you have "my_username@ourdomain" on the first screen.
Press on "manual". Keep the IMAP settings on the next screen and press on "Next".
On the next, SMTP-server screen, make sure you have smptout.secureserver port 465, and everything else pertaining to that.
(I am ready to bet is that you have Gmail's SMTP there.)

If the account is configured as Gmail OAuth2 (The same would work for an IMAP account):
Long press on the account name (in the account list view) -> Identities
Create (or edit an identity if you created one for your "my_username@ourdomain" address.
In the SMTP server (for that identity), choose smptout.secureserver port 465, and everything else pertaining to that.

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: Gmail identities via Aqua mail inconsistent headers on Outlook
« Reply #2 on: February 24, 2017, 03:38:24 pm »
Yes, if Gmail is aware of the identity, then it's possible to use Gmail's SMTP to send messages "from" that identity (and Gmail will pass it to the "real" SMTP server behind the scenes).

This is the default when adding an identity in Aqua Mail.

It also is possible to make Aqua Mail use the "real" SMTP server directly, just like StR wrote above, except one little bit of info is missing:

When adding or editing an identity in Aqua Mail, there is a checkbox (on the screen where you enter the identity's email address) to "Configure outgoing server".

If off (default), the app will send through the "parent account's" SMTP server.

So please enable that checkbox, enter the "real" SMTP server and the app will use that when sending "from" the identity.
Creating debug logs for diagnostics: https://www.aqua-mail.com/troubleshooting/

The official FAQ: https://www.aqua-mail.com/faq/

Лог-файлы для диагностики: https://www.aqua-mail.com/ru/troubleshooting/

Вопросы и ответы: https://www.aqua-mail.com/ru/faq/

Quonet67281

  • Newbie
  • *
  • Posts: 4
Re: Gmail identities via Aqua mail inconsistent headers on Outlook
« Reply #3 on: February 25, 2017, 01:10:24 pm »
I think I figured it out. I had the outgoing server (smptout.secureserver.net) configured and with the correct port, etc., but it threw me off that in Aqua Mail after long pressing the Account Name and choosing Identities in the "Edit Identity: Simple setup" below the alias email address and Configure outgoing server check box it also says "Password ____________." The password thing threw me off. Because if you don't put a password there and assume your server config on the next page after then hitting Manual instead of hitting Next will ask for a password (which it does, expectedly) you can't wrongly assume that it will "backflow" into the first "Password __________" line above from the previous page which it ALSO needs. If you wrongly assume that, everything will actually look like it's working and configured properly afterr put in your outgoing server configuration and password but just like Kostya alluded to, you can deduce that it will actually be defaulting back to the Gmail outgoing server and not your external outgoing server. I believe therein lies the problem. I don't have an Outlook account to test it with. If someone is using Outlook on their computer if you can Private Message me your email address I would love to send you a test message it to see if this as actually the problem.

I don't know why it's designed this way to ask for the password twice. I suppose there is a reason.

Also it would be good to have a "show password" as you type option, like a lot of programs seem to have more and more of these days.

It would be great if you got a summary page of your successful settings by clicking some button that would show you which server is actually being used...the default Gmail one or your custom one.
« Last Edit: February 25, 2017, 01:12:30 pm by Quonet67281 »

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: Gmail identities via Aqua mail inconsistent headers on Outlook
« Reply #4 on: February 25, 2017, 01:42:30 pm »
Re: asking for the password twice

This is an "interaction flow bug" in the UI -- the "identity setup" screen is based on the "account setup" screen.

And on the account setup screen, at least for IMAP / POP3 + SMTP accounts, the user can enter the password once (on the "simple", initial screen) and it'll be copied into both the incoming and outgoing server settings  -- or can tap Manual and enter separate passwords and even logins for the two (incoming and outgoing) servers.

There probably is no need to have the password field on the identity screen.

Re: Outlook

As in, Hotmail / Outlook.com / Live.com - "the mail service"? As opposed to Outlook "the mail app"?

https://www.aqua-mail.com/forum/index.php?topic=1782.msg21439#msg21439

As far as I know, this is fixed -- as long as your Outlook account has been "upgraded to new servers". This "upgrade" is something that MS has been doing for about a year, gradually, I thought they've done all accounts already, but maybe not.
Creating debug logs for diagnostics: https://www.aqua-mail.com/troubleshooting/

The official FAQ: https://www.aqua-mail.com/faq/

Лог-файлы для диагностики: https://www.aqua-mail.com/ru/troubleshooting/

Вопросы и ответы: https://www.aqua-mail.com/ru/faq/

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Creating debug logs for diagnostics: https://www.aqua-mail.com/troubleshooting/

The official FAQ: https://www.aqua-mail.com/faq/

Лог-файлы для диагностики: https://www.aqua-mail.com/ru/troubleshooting/

Вопросы и ответы: https://www.aqua-mail.com/ru/faq/

mikeone

  • Hero Member
  • *****
  • Posts: 2762
Re: Gmail identities via Aqua mail inconsistent headers on Outlook
« Reply #6 on: February 25, 2017, 01:52:42 pm »
Also it would be good to have a "show password" as you type option, like a lot of programs seem to have more and more of these days.
The checkbox "Show password" appears if you enable the checkbox "configure outgoing server".
-> see screenshots

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: Gmail identities via Aqua mail inconsistent headers on Outlook
« Reply #7 on: February 25, 2017, 06:38:52 pm »
Re: The checkbox "Show password" appears if you enable the checkbox "configure outgoing server".

But it's only enabled during initial setup, or when updating settings, only if you completely remove the password first. A security feature in case the phone falls into wrong hands.
Creating debug logs for diagnostics: https://www.aqua-mail.com/troubleshooting/

The official FAQ: https://www.aqua-mail.com/faq/

Лог-файлы для диагностики: https://www.aqua-mail.com/ru/troubleshooting/

Вопросы и ответы: https://www.aqua-mail.com/ru/faq/

StR

  • Hero Member
  • *****
  • Posts: 1558
Re: Gmail identities via Aqua mail inconsistent headers on Outlook
« Reply #8 on: February 25, 2017, 11:59:07 pm »
@Kostya:

I believe the OP was asking about Outlook, - as just a tool in which he saw that the message sent from his/her mal-configured (compared to his/her expectation) Aquamail.

@Quonet67281:
You can check that in ANY client (including Aquamail) using any service. 
I.e. you can send a message from your account in question to any other account of yours.
Look at the "From:" for those messages. That should be sufficient, but you can also check the full headers for any other lines "on behalf". (View -> Full headers in Aquamail).

I will PM you an address to which you can send your message, and I can privately let you know how it looks.


Quonet67281

  • Newbie
  • *
  • Posts: 4
Re: Gmail identities via Aqua mail inconsistent headers on Outlook
« Reply #9 on: February 26, 2017, 01:41:14 am »
Re: asking for the password twice

This is an "interaction flow bug" in the UI -- the "identity setup" screen is based on the "account setup" screen.

And on the account setup screen, at least for IMAP / POP3 + SMTP accounts, the user can enter the password once (on the "simple", initial screen) and it'll be copied into both the incoming and outgoing server settings  -- or can tap Manual and enter separate passwords and even logins for the two (incoming and outgoing) servers.

There probably is no need to have the password field on the identity screen.

Re: Outlook

As in, Hotmail / Outlook.com / Live.com - "the mail service"? As opposed to Outlook "the mail app"?

https://www.aqua-mail.com/forum/index.php?topic=1782.msg21439#msg21439

As far as I know, this is fixed -- as long as your Outlook account has been "upgraded to new servers". This "upgrade" is something that MS has been doing for about a year, gradually, I thought they've done all accounts already, but maybe not.

>"And on the account setup screen, at least for IMAP / POP3 + SMTP accounts, the user can enter the password once (on the "simple", initial screen) and it'll be copied into both the incoming and outgoing server settings  -- or can tap Manual and enter separate passwords and even logins for the two (incoming and outgoing) servers."

If I'm understanding what you wrote correctly, then I haven't solved the problem because I already had the custom server name and password in the "Edit identity: Outgoing server" but not in the "Edit identity: Simple setup" page before. I thought by now adding it to the Simple setup page (which has now been saved there (as indicated by: "*********" in the Password field), in addition to the Outgoing server page which it had been saved in before, then I must have solved the problem.

>As in, Hotmail / Outlook.com / Live.com - "the mail service"? As opposed to Outlook "the mail app"?

I mean whatever typical business users have on their PCs. I think it's Outlook using an Exchange server backend.

I started this post a few hours ago and by now I have confirmed that adding the Simple screen password worked. For whatever reason in my case I needed the outgoing server password both in the Simple and Complicated screens.


Quonet67281

  • Newbie
  • *
  • Posts: 4
Re: Gmail identities via Aqua mail inconsistent headers on Outlook
« Reply #10 on: February 26, 2017, 01:55:14 am »
The problem was solved by adding the outgoing server password to the Simple screen. I don't like that page because it's not even clear what password one is supposed to enter there. I don't know why it doesn't backflow to the Simple screen from the Manual configuration page. But anyway, perhaps one explanation of why I needed the password in both places for it to work properly is that there is no ERROR message given when an outgoing server password is wrong (perhaps it was wrong in my case on the Manual page...I don't know) and AquaMail just defaulted back to the gmail outgoing server without letting me know it couldn't log into the custom server. But I can tell you with 100% certainty that Outook-user readers of my mail absolutely got the "on behalf of" thing before my additionally adding the outgoing server password to the simple configuration screen (in addition to the Manual configuration page which already had the proper server name, port, password, etc.)

There is no question that AquaMail is the most efficient and customizable email application in existence. It is simply the best. I think it's an uncontroversial assertion. Why would Google with its unlimited resources not have a mail app where you can actually turn off threaded conversation view and add aliases? If more people knew about AquaMail it would be used by more people. I did have one problem with it on my iPhone back in the day but I have long since given up iPhone. The problem back then was that it just stopped receiving mail totally. It looked like it was refreshing and pulling my but it just completed stopped actually grabbing messages from Gmail. It just looked like I hadn't gotten any new messages in 20 hours. I reinstalled it and it worked fine. But I am concerned that will happen with my Android version of it.

Is there a way to export all of my AquaMail settings so that I can easily reinstall AquaMail and upload the same settings to a fresh AquaMail install?

It would be great if there was a single command feature on AquaMail, "Save settings and reinstall with existing settings." Just in case there's a bug in Android OS that caused the problem.
« Last Edit: February 26, 2017, 02:00:29 am by Quonet67281 »

mikeone

  • Hero Member
  • *****
  • Posts: 2762
Re: Gmail identities via Aqua mail inconsistent headers on Outlook
« Reply #11 on: February 26, 2017, 02:29:35 am »
Is there a way to export all of my AquaMail settings so that I can easily reinstall AquaMail and upload the same settings to a fresh AquaMail install?

It would be great if there was a single command feature on AquaMail, "Save settings and reinstall with existing settings." Just in case there's a bug in Android OS that caused the problem.
You can use the "Backup and restore" function in AquaMail, which you will find in the app's Menu list.

How to use this option please have a look into the app's FAQ-page:
[... search for 'backup' to find the entry 'How can I make a backup of my mail accounts?'

PS:
The backup includes both: account settings and optionally the app settings.

http://www.aqua-mail.com/?page_id=227