yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] gc01:
** Never mind - lol - i just got 1.1529 and problem has gone best I can tell. sorry for noise.

Problem is still there - everything works fine from other mail apps -but 1.1529 seems to work for a while then suddenly it gets auth failures seemingly by sending a bad or missing password to the mail server.

Do you know how I can roll back to earlier play store version which was working - guess last working version was one prior to 1527
[Android Apps and Games] gc01:
This is actually an extremely critical bug - after multiple consecutive failures the server is locking the account for my user..
[Android Apps and Games] gc01:
I have disabled all accounts on fairemail - until i have a workaround or can roll back to earlier version.

Marcel would you mind rolling back the play store to earlier version - unless you have better way to get a working version?

thanks
[Android Apps and Games] ouzowtf:
I don't see (and never saw) such issues. Maybe it's the fault of your mail provider?!
[Android Apps and Games] gc01:
I am the email provider and run the server - fairemail has been working perfectly for a very long time - it changed last night after the update. The server continues to work fine with other mail clients - so it sure seems to me like FE changed somehow and is now failing to authenticate correctly - since it works for a while then stops - this is a but of a subtle bug i imagine - possibly related to save/retrieve of passwords.

the server software has not changed at all recently. Its running devecot 2.3.14 since march 6th. no changes since then.
[Android Apps and Games] M66B:
The time the message was stored is what determines the age of the message, which might be different from the time the message was sent/received.
[Android Apps and Games] M66B:
The password is sent exactly as you enter have entered it and there were no recent changes related to this.

Please see this FAQ about possible causes for authentication failures:

https://github.com/M66B/FairEmail/blob/master/FAQ.md#user-content-faq22
[Android Apps and Games] M66B:
Enable debug and protocol logging in the miscellaneous settings, reproduce the problem and send me the debug info by long pressing 'Support' and I will see what I can find out.
[Android Apps and Games] gc01:
Hey Marcel

since server locks me out completely after after several auth failures, ithis is a pretty unpleasant bug to work with.
[Android Apps and Games] M66B:
I don't think this is caused by a bug in FairEmail. With hundreds of thousands people using FairEmail a bug like this would be noticed very quickly.

Also, the password worked before, so I don't see why it wouldn't work later.

Anyway, there are too little details to tell more.
[Android Apps and Games] gc01:
ive activated debug / protocol logging - and re-enabled an account.

I checked the server logs in detail for the last week and the only user with auth problems is this account and only when authenticating from FE. When i use webmail or thunderbird for example everything works fine. All other users and other MUA clients work fine as always. So the problem is definitely scoped to FE and started after the update to 1527.

Without logging it worked for 5 mins or so then failed. I also activated a different mail app as I feared the worst on this one - server will see that as login from same account/ip obviously. hope that is not interfering with test.

After turning on debug logs it has not yet failed after 10 mins. Maybe I need to also disable the second client.
[Android Apps and Games] gc01:
yah - except from here it looks like it is a problem with FE.

I disabled the second mail app - will let it run for few minutes - next I will disable logging and see if error comes back.

I want to be systematic
[Android Apps and Games] muralimsir:
NetMail, like your NetGuard!

Why not NetMail, like NetGuard? Just a suggestion.
[Android Apps and Games] mrrocketdog:
could reverse it ; MailSafe. or still too generic?

err on the side of kindness
[Android Apps and Games] jerryn70:
What about EVE-Mail ?
[Android Apps and Games] Primokorn:
Already used: https://www.netmail.com
[Android Apps and Games] M66B:
I have just released

alpha

version 0.9

Changelog/download:

https://github.com/M66B/open-source-email/releases

I put a lot of effort into this project, so thanks are appreciated.

If you have a problem, please first upgrade to the latest version to see if the problem still exists.
[Android Apps and Games] Namnodorel:
Better, but very similar to https://maidsafe.net/ (interesting project btw)
[Android Apps and Games] Elektron60:
Or "M1mail" for Marcels first Mailer. ;)
[Android Apps and Games] Primokorn:
App name suggestions:

Google Docs

Names with an external link means that they are already in use. Please check before submitting new ones.

PM me if I missed your suggestion.
[Android Apps and Games] M66B:
Either try clearing the app data or reinstalling the app. My best guess is that the database upgrade failed.
[Android Apps and Games] m0d:
I have questions regarding notification:

It only changes state if I launch app, i.e. it was at 0 connected to wifi and still at zero, launch app and it changes to 1. So does this mean persistent notificarion not working as expected since it only changed state when I launched app?

How to see the pending operations, as notification just stays in 1 operation pending state for a while, and there does not seem to be any activity taking place(no changes in folders)

EDIT:

Have same issue when installing 0.9:

Installed apk again, no clearing nor uninstall and it seems to have worked this time.

Also, regarding back button behaviour:

Click account from drawer, outlook

Then click on any folder to browse that folder.

When you click back button it takes you back to unified inbox, and not to the folders list as expected since that is where I was.
[Android Apps and Games] Kelvino9:
Name suggestions

MailBoxer / Mailboxer

Mailboxer is the combination of the obviously two words mailbox and boxer.

The idea behind the name Mailboxer is that our little devices that we daily use for checking emails are like our mobile mailboxes.

The boxer part resembles the idea behind Safe email of actively and passively defending our mailbox (emails) with various skills.

MailFairy / Mailfairy

Mailfairy has been inspired by Marcel's website FairCode -> www.faircode.eu

As Safe email is meant to be a safe and secure email app it also tries to be lightweight and practical at the same time.

Toying around with the brand name FairCode, Fairy was an easy choice.

All of Marcel's apps are generally light and very helpful similar to the mythical being, fairy.

MailFairy therefore honors Marcel's brand and also underlines the usefulness of is mail app.
[Android Apps and Games] M66B:
The notification will be updated when new email arrives after the 'seen until' time. This time will be updated on tapping on the notification or swiping it away.

There is a problem with this when a late, new email arrives with a time before the 'seen until'. I will see if I can fix this tomorrow by setting the 'seen until' time back.

If anyone has a better idea about how to handle new email notifications, please let me know. I have noticed that this in other email apps does not always work as expected too.

It is on my to do list to show the pending operations.
[Android Apps and Games] geronimoge:
I like the idea using "mail" as the first word in the name.

"mailS" could be another one - "S" for safe, secure, simple, ...

But MailBoxer or MailFairy sounds good as well.
[Android Apps and Games] :
I like the MailFairy [MENTION=337991]Kelvino9[/MENTION]

Some app thoughts:

1. Spam button seems in a location prime for accidental presses, so near the trash.

2. There are two reply buttons. One below headers and one on bottom. Consider changing one to a "next message" button.

3. My threaded message icon is always there with gmail. It thinks I always have two messages, Inbox and AllMail, although it's technically the same message.
[Android Apps and Games] M66B:
I will swap the spam and delete buttons now that the delete button moves to trash instead of permanently deletes (with the exception of the trash folder, but that requires confirmation). Spam always requires confirmation. The idea is to have the most risky/less used buttons as far away as possible from your thumb (assuming you are right handed).

Reply and reply all are different functions.

Google's 'all' (archive) indeed needs some exceptions.
[Android Apps and Games] :
Oops… thanks. Didn't realize one was reply-all.
[Android Apps and Games] M66B:
No worries, it is an adventure for me as well.

I will hide it when there are no CCs.
[Android Apps and Games] Namnodorel:
Regarding notifications: Why not add some additional internal attribute "received", which stores the date when the mail arrived on-device? That wouldn't break the notifications anymore, right?
[Android Apps and Games] M66B:
Received on device is not a good criteria considering you could have been offline for a while.
[Android Apps and Games] Namnodorel:
From the perspective of the app, mails received after a longer time of Flight Mode are new and unread, or what am I missing here?
[Android Apps and Games] M66B:
This is not the same error.

The timeout indicates the app cannot connect to the server because something is blocking the connection, for example a firewall.
[Android Apps and Games] TheMadRuffian:
But FairEmail had been excluded already in the NetGuard rules :confused:
[Android Apps and Games] M66B:
Still the connection is being blocked.
[Android Apps and Games] M66B:
I have just released

stable

version 1.81

Changelog/download:

https://github.com/M66B/open-source-email/releases

XDA thanks, purchases and donations are appreciated.
[Android Apps and Games] 2anyone:
I'm in Lineage OS 14.1 20180220 version

Android 7.1.2

is any possible I can update my SSL for android 7.1.2 instead of going to Android 8+?
[Android Apps and Games] mr.b4rt:
bought the pro version over playstore

thx for your work

regards
[Android Apps and Games] M66B:
I have just released

stable

version 1.82

Changelog/download:

https://github.com/M66B/open-source-email/releases
[Android Apps and Games] Freezy202:
Since the new update, I discovered some wakelocks and a heavy battery drain.

How can I help you to find the culprit?
[Android Apps and Games] M66B:
Wake locks are needed to prevent deep sleep while synchronizing and are part of a normal operation.

What do you consider a heavy battery drain? I consider anything less than mobile standby as normal.
[Android Apps and Games] Freezy202:
I have never seen wakelocks with older versions of your app before. That's why I am confused.

Before the update my deep sleep / awake ratio was 95% / 5%. After the update my device is 50% of the time awake.
[Android Apps and Games] M66B:
Wake locks were recently introduced with improving keeping alive the server connection, which should actually result in less battery usage.

You didn't answer the question what you consider heavy battery usage and the relation to mobile standby. Without this information I cannot help you.

Also, the screenshot doesn't show FairEmail is keeping your device awake for a long time. I see just 17 minutes in total. If I am reading this incorrect, please explain what the numbers mean.

Edit: I also like to see the log from 'about'.
[Android Apps and Games] chantoine:
Same behavior here.
[Android Apps and Games] M66B:
The behavior was unclear, see the questions I have asked (and haven't got an answer to), so "same behavior" is not something I can help with.
[Android Apps and Games] Freezy202:
If you want, I can do two cycles of my standby time with and without your app, so you'll have numbers you can work with.

You understood it wrong. Both of my accounts kept my phone awake, that means 17 minutes * 2 = 34 minutes awake plus 16 minutes of the faircode.email:stop wakelock equals 50 minutes of awake time.
[Android Apps and Games] M66B:
I have just released

stable

version 1.83

Changelog/download:

https://github.com/M66B/open-source-email/releases

This version fixes a wakelock being held while executing IMAP IDLE.

There is also a new advanced settings to disable FairEmail completely.
[Android Apps and Games] M66B:
Install version 1.83 to fix your device not sleeping and reduce the account keep alive interval because in your case it is too long and resulting in timeouts and therefore in expensive reconnects.
[Android Apps and Games] Freezy202:
Nice work! Seems like the wakelock problems are gone. My best invested five euros :)
[Android Apps and Games] jult:
Not on my device. Perhaps it's because my phone has an Exynos chip?
[Android Apps and Games] chantoine:
That's GREAAAAAAAAAAT, thanks ! :laugh:
[Android Apps and Games] M66B:
Maybe there are too many simultaneous connections:

https://github.com/M66B/FairEmail/blob/master/FAQ.md#user-content-faq23
[Android Apps and Games] gc01:
Turning off logging - i sent email to myself - it received 2 emails and auth failed again (loggin was off).

now account is locked out again for multiple failures.
[Android Apps and Games] M66B:
Is the auth failure on sending or receiving or both?

What is the error message exactly?

Can you send me the debug info? Without the debug info I can't tell much.
[Android Apps and Games] gc01:
The max number of user connections from a single IP is 50 on server - so unless FE is connecting 50 times starting last night and not in past, I don't think this is a problem.
[Android Apps and Games] gc01:
Hah - i captured the debug log - its sent to you - hopefully it got sent ok.
[Android Apps and Games] gc01:
seems to have sent ok. I get the sense the problem is with imap side not smtp side - but needs more work - user is now disabled on server - need to wait until it auto unlocks now. I cannot reboot server as its in production.

For now im disabling FE - let me know if you'd like me to try anything else - i'd like to minimize account lock ups on server (also looks like potential hack on server just to make things interesting :) )
[Android Apps and Games] gc01:
The popup error from FE is : [AUTHENTICATIONFAILED] Authentication failed.
[Android Apps and Games] M66B:
Since

Please double check your password. See also my email.
[Android Apps and Games] gc01:
password is fine - as I said it works for a while then stops.

Is there any reason the pssword would have been corrupted - working fine when i went to bed - update happens - and then auth failures start.

Once my account on the server is unlocked i can try re-entering the password if you think FE may have corrupted it somehow.

My password hasn't changed recently - and I have not made any changes to FE settings in a long time.
[Android Apps and Games] M66B:
From which version did you update?
[Android Apps and Games] gc01:
Followup - this issue is NOT Fairemail - its my own fault.

I had an old cell phone which was turned on - for reasons I cannot explain it decided to check email starting last night - since the phone is not used it never got the updated password for mail account - and this caused the mail server to lock out the account for a period due to repeated login failures - this lock out likely caused auth fail on other clients including FE.

At least that's what seems to have happened - bit odd really - but FE is fine - and Marcel was kind enough to test directly on the same server - so ... all is good ... sorry for noise.

Thank you again for jumping in on this Marcel - truly appreciated and sorry for unnecessary noise.
[Android Apps and Games] M66B:
A 1 star review because the app asks once after three weeks for a review.

I think people are pretty unfriendly and ungrateful. In any case this is not very motivating.
[Android Apps and Games] M66B:
Version 1.1530 is available on GitHub now and in the Play store test program after Google's approval.

Changelog/download:

https://github.com/M66B/FairEmail/releases
[Android Apps and Games] topcaser:
Hi Marcel, I have read some negative feedbacks on the play store. I am writing software for Garmin products and hey, there is again and again some guys out there complainimg about the software although I am experienced in UX design. Not nice but hey, your app gets 4,8 stars at 12982 feedbacks. I would say an overwhelming part out there is very happy with your software. The rest of the guys probably never see your enthusiasm in that piece of software. I can understand your frustration but you won't change this by any means.

Keep up your good work. You are doing a fantastic job.
[Android Apps and Games] mrrocketdog:
@M66B what does "storage access framework not available" error mean? i'm trying to DL a song. have granted storage to FE. any hints?
[Android Apps and Games] M66B:
Please see this FAQ for the cause and possible solutions:

https://github.com/M66B/FairEmail/blob/master/FAQ.md#user-content-faq25
[Android Apps and Games] mrrocketdog:
well marcel , i guess you've thought just about every scenario that could ever come up. :)

once again i am really inspired by your knowledge of how your apps work. unfortunately i have no pc and my spare phone that is able to run adb and fastboot commands wont/cant recognize my phone.

dave
[Android Apps and Games] mrrocketdog:
@m66 , i was not able to follow the FAQ on my "framework missing" issue as i do not have a pc. but , i restored the stock file mngr. and bingo! framework is back and i am now able to DL attachements in emails. (got the idea from your FAQ).

thank you again for your knowledgeable and quick respones.:good:
[Android Apps and Games] M66B:
Version 1.1531 1.1532 is available on GitHub now and in the Play store test program after Google's approval.

Changelog/download:

https://github.com/M66B/FairEmail/releases
[Android Apps and Games] M66B:
Version 1.1533 is available on GitHub now and in the Play store test program after Google's approval.

Changelog/download:

https://github.com/M66B/FairEmail/releases

This version adds a new connection option to use validated networks only. Android checks all network connections for actual internet connectivity and if you enable this new option, FairEmail will delay connecting to the email server(s) until the internet connection has been validated by Android. This might not work with a VPN because many VPNs do not validate the internet connection. I like to hear if switching networks (mobile to WiFi, etc) still works properly with this new option enabled.
[Android Apps and Games] ouzowtf:
Seems to work fine for me, when this is checked and with changing to/from mobile connection
[Android Apps and Games] M66B:
Version 1.1534 is available on GitHub now and in the Play store test program after Google's approval.

Changelog/download:

https://github.com/M66B/FairEmail/releases
[Android Apps and Games] M66B:
Several people contacted me that FairEmail doesn't work properly on Samsung devices anymore.

"Samsung has introduced a new severe (default ON) restriction. Apps can no longer hold wake lock in foreground services. This breaks many use-cases, for instance health apps are now unable to gather sensoric data for their users. See details here and read below for workarounds."

Samsung

Hey Android vendors, don’t kill my app!

dontkillmyapp.com

Good luck with your crippled Samsung device. If anybody is wondering why I never ever will buy a Samsung device: now you know. I am not even speaking about the significant number of bugs in Samsung's Android version, which never get fixed.
[Android Apps and Games] Namnodorel:
In a recent (German) article with a comparison between E-Mail clients, FairEmail was praised as one of the three clients with exemplary behavior in terms of privacy: https://mobilsicher.de/ratgeber/apps-gecheckt-diese-7-e-mail-apps-lesen-mit

7 of the 20 apps that were tested were found to give the companies behind them access to mail content, passwords, recipients, location, etc.
[Android Apps and Games] ouzowtf:
Old story 😉

https://xdaforums.com/t/app-5-0-fai...vacy-oriented-email-app.3824168/post-84655317
[Android Apps and Games] nadir husain:
Where I live the only Android phones available are Samsung and Chinese phones like Oppo, Vivo, etc. Marcel what do u suggest?
[Android Apps and Games] M66B:
My suggestion is to purchase a Google Pixel device. You'll guaranteed get updates for a very long time, which means the device will last longer too. I am currently looking for a good deal for the Pixel 4a 5G, which is hard because Pixel devices are not officially sold in the Netherlands.
[Android Apps and Games] maybeme2:
Marcel, what android phone are you currently using? Which non-Samsung phone do you recommend?

Thanks.
[Android Apps and Games] M66B:
I am still using a Pixel 3a XL.
[Android Apps and Games] topcaser:
Hi, I am missing the answer option in the list of quick selections, a direct way to answer an email with just one click. Could you please add this?
[Android Apps and Games] M66B:
What are "quick selections" ?
[Android Apps and Games] fraschi51:
I find the reply option in the general overflow button better ... the one click more should not really be a problem.
[Android Apps and Games] M66B:
There is also a good reason for this: less buttons covering stuff.
[Android Apps and Games] topcaser:
Hm, one can decide for himself whether the reply button is shown or not. I would rate for it. I am used to Gmail app and there it's possible with one click
[Android Apps and Games] M66B:
Can the Gmail app also defer downloading large message texts, or will your data be used without confirmation? This is relevant because tapping on the action button also determines which actions are actually possible. You can't reply to a message for which the message text isn't downloaded yet.

IMHO one tap can't be a huge deal. Writing a reply is more work.
[Android Apps and Games] AndroAlex:
@M66B Dear Marcel,

many thanks for the above circumstance and for your more detailed information, and for the link ... :)

That's why we are so grateful to you that after installing your apps (FairMail and NetGuard) you point out this and open the appropriate settings directly from your app ... :)
[Android Apps and Games] M66B:
Version 1.1535 1.1536 is available on GitHub now and in the Play store test program after Google's approval.

Changelog/download:

https://github.com/M66B/FairEmail/releases

This version adds forwarding multiple messages (via multiple selection).
[Android Apps and Games] ianmacd:
One feature that I keep wanting to use in FairEmail is the ability to bounce a message to a new recipient. That's bounce in the old UNIX MUA sense of relaying an unaltered e-mail message (i.e. with the original header and body intact), as if the new recipient had simply been bcc-ed on the original.

I realise that bouncing can be problematic these days, due to the use of SPF, but I still do it a lot and often find myself having to defer an action until I can get to a Linux machine to use mutt.

Bouncing functionality was never really implemented outside of the UNIX world and seems to be an almost forgotten footnote of Internet history these days, but it would be super if FairEmail implemented this.
[Android Apps and Games] M66B:
Why not use 'forward as attachment' in the horizontal three-dots menu? This won't have SPF, DKIM, etc problems, so that the message doesn't end up in the spam folder or even doesn't arrive at all.
[Android Apps and Games] ianmacd:
Well, because that is an alteration of the original e-mail.

Usually I'm bouncing instead of forwarding, because I want to preserve the original Message-ID, In-Reply-To and Date headers. That way, the message will be correctly inserted in the recipient's in-box at the right place of the right thread with the original date; all depending on their mail system, of course, but even Gmail does the right thing here.

If I encapsulate the original e-mail as an attachment to another, the new message's metadata will take precedence on the recipient's system.
[Android Apps and Games] M66B:
I see, but since the DKIM signature will be broken, such messages will more often than not end up in the spam folder. So, this isn't a supportable feature.

Edit: the original message will not be altered, but sent as an attachment.

Edit: is this what you mean? https://tools.ietf.org/html/rfc2822#section-3.6.6