I don't like Outlook, unfortunately that's what my school uses. For now I use Prospect Mail to acces this mail (and it does work correctly, although the interface is terrible - seems to be a clone of Outlook's).
My global problem is that when they send a mail to my outlook address, I don't know it. I had found a nice way to live with it, by redirecting (forwarding) the mail from Outlook to kmail (I still have to use Prospect Mail to send an answer because since they ativated two factor authentication Outlook's smtp refuses me).
Now, for some reason I cannot fathom, they have blocked redirection.
Getting mail from Outlook from kmail fails (I guess because of two factor authentication).
I have not been able to imagine a way to make Prospect Mail tell me that I received mail (and anyway it's not running all the time).
I wanted to try Mailspring, but it wants to store my credentials in a keyring, and although I have both gnome-keyring and libsecret installed (courtesy of MX-Linux I suppose), Mailspring does not find them (and mailspring --password-store= does not work, either with libsecret, gnome-keyring or tdewalletmanager-trinity).
So, as several of you recently praised the help offered by this mailing list, maybe I am in luck and one of you has some advice to offer on the subject?
Would it be possible to start Prospect mail (cron job?) and get some information about new incomming mails?
Thierry
said Thierry de Coulon via tde-users:
| I don't like Outlook, unfortunately that's what my school uses. | For now I use Prospect Mail to acces this mail (and it does work | correctly, although the interface is terrible - seems to be a clone of | Outlook's). | | My global problem is that when they send a mail to my outlook address, I | don't know it. I had found a nice way to live with it, by redirecting | (forwarding) the mail from Outlook to kmail (I still have to use | Prospect Mail to send an answer because since they ativated two factor | authentication Outlook's smtp refuses me). | | Now, for some reason I cannot fathom, they have blocked redirection. | | Getting mail from Outlook from kmail fails (I guess because of two | factor authentication). | | I have not been able to imagine a way to make Prospect Mail tell me that | I received mail (and anyway it's not running all the time). | | I wanted to try Mailspring, but it wants to store my credentials in a | keyring, and although I have both gnome-keyring and libsecret installed | (courtesy of MX-Linux I suppose), Mailspring does not find them (and | mailspring --password-store= does not work, either with libsecret, | gnome-keyring or tdewalletmanager-trinity). | | So, as several of you recently praised the help offered by this mailing | list, maybe I am in luck and one of you has some advice to offer on the | subject? | | Would it be possible to start Prospect mail (cron job?) and get some | information about new incomming mails?
Not directly on point, but it seems as if kmail doesn't always play nicely with others, particularly in its communications with the server.
NOT to hijack your thread but to provide an illustration that might help pin down the issue, I'm using the ProtonMail Bridge with kmail for years. It largely worked as expected, but a year or so ago messages got intermittent in being marked as read at the server. I try to keep a local archive, in mbox format, and I move messages there when I've read them. Unless I've kept kmail open, next time I start kmail the whole wad gets downloaded all over again. Additionally, often though not always a downloaded email is accompanied by another apparent kmail, identical headers but empty. And it cannot be deleted directly, though if it is marked for deletion it is gone when I reopen kmail.
This does not happen with, for instance, Thunderbird. Which suggests that kmail handles incoming mail in a fashion different from the way other mail clients do it. I do not know if the phenomenon is pertinent to what you're experiencing, but it might be a different symptom of the same disease.
On Sun, 15 Sep 2024 04:42:22 Thierry de Coulon via tde-users wrote:
I don't like Outlook, unfortunately that's what my school uses. For now I use Prospect Mail to acces this mail (and it does work correctly, although the interface is terrible - seems to be a clone of Outlook's).
My global problem is that when they send a mail to my outlook address, I don't know it. I had found a nice way to live with it, by redirecting (forwarding) the mail from Outlook to kmail (I still have to use Prospect Mail to send an answer because since they ativated two factor authentication Outlook's smtp refuses me).
Now, for some reason I cannot fathom, they have blocked redirection.
To clarify, by 'they' do you mean your school? Also, was the forwarding set up via the "Forwarding" or the "Rules" option in your account settings? I would find it odd that they blocked forwarding emails (which is just a fancy way of sending), so perhaps they've blocked sending emails to external domains?
In any case, I'd recommend contacting the IT department and raising an issue.
Getting mail from Outlook from kmail fails (I guess because of two factor authentication).
That would be the primary issue, yes. However, even if KMail supported OAuth, you may find that your school has a policy in place that prevents third-party clients. I assume Prospect Mail gets around this because it just bundles the outlook web app (although, it seems to provide some desktop integration).
I have not been able to imagine a way to make Prospect Mail tell me that I received mail (and anyway it's not running all the time).
I wanted to try Mailspring, but it wants to store my credentials in a keyring, and although I have both gnome-keyring and libsecret installed (courtesy of MX-Linux I suppose), Mailspring does not find them (and mailspring --password-store= does not work, either with libsecret, gnome-keyring or tdewalletmanager-trinity).
So, as several of you recently praised the help offered by this mailing list, maybe I am in luck and one of you has some advice to offer on the subject?
Would it be possible to start Prospect mail (cron job?) and get some information about new incomming mails?
Please keep in mind that I haven't tried either of the below suggestions, although I'd be happy to help if you get stuck.
A quick look at the Prospect Mail (PM) github[0] shows that it supports a '--minimized' command line option, so you could possibly set up a cron job that runs a script to start and, after some time, stop the program without the GUI appearing. Although, if you're not receiving notifications anymore, then that may be an issue in either PM, TDE's knotify, or your configuration.
Another potential option is "email-oauth2-proxy"[1]. It's a proxy for the traditional IMAP/POP/SMTP connections that KMail uses. In theory, it should be possible to set it up so that KMail can receive and send Outlook emails.
mio
[0]: https://github.com/julian-alarcon/prospect-mail [1]: https://github.com/simonrob/email-oauth2-proxy
On Sunday 15 September 2024 08.57:14 mio via tde-users wrote:
To clarify, by 'they' do you mean your school?
Yes
Also, was the forwarding set up via the "Forwarding" or the "Rules" option in your account settings?
Originaly (and still there) was simple forwading. It worked until about a week. No error message, just no more forwarding.
When I realised that fowarding was no more working, I tried the rules, but this produced error messages (apparently from the Outlook server, and sent back to those who emailed me - who in turn believed I had not received their mail.
I would find it odd that they blocked forwarding emails (which is just a fancy way of sending), so perhaps they've blocked sending emails to external domains?
So do I, can't see why they would do that. But obviously they did.
In any case, I'd recommend contacting the IT department and raising an issue.
This I will do
(...)
you could possibly set up a cron job that runs a script to start and, after some time, stop the program without the GUI appearing.
I'll take a look. I did not know about the minimize option, running Prospect mail minimized may be at least a workaround for the moment.
Another potential option is "email-oauth2-proxy"[1].
I'll take a llok too, but I doubt it would get past the two factor authorization. I've tried various mail programs, some just answer that the password is wrong, other say they need to be authorized by the server, so I will take a llok at that with my IT people.
Thanks a lot for all these suggestions!
Thierry
Thierry de Coulon via tde-users wrote:
Originaly (and still there) was simple forwading. It worked until about a week. No error message, just no more forwarding.
where is your mail server? There is no 2-factor auth between servers, but rather DKIM/SPF (which is called DMARC), so could be your server is either not viewed as trust worthy or it is rejecting the mails for some reason.
In any case, I use Outlook for the professional work. It is impossible to have a comfortable way of working with those MS oriented companies. They will always find a way to screw you and you spent hours looking for solutions that do not exist. Especially as no government or authority is supporting you.
I think some mail clients (newer KMail and whatever is the follower of Evolution) handle Outlook with 2-factor auth. I tried them with google, not with MS, because I do not want to mess up the business accounts and cause issues there.
BR