Re: [Evolution] Adding Google account broke Evolution

2021-12-16 Thread Milan Crha via evolution-list
On Thu, 2021-12-16 at 11:05 -0800, Alex Doll wrote:
> I didn't pursue a fix, I just removed my google accounts from
> Evolution and disabled the Google account from the Gnome panel to
> make the login prompts go away.


Hi,
you should be able to use the OAuth2, especially with the 3.42.2, which
you seem to be using. It can be a bit more problematic with the ancient
3.36.5, though I think not so hard too.

I do not think there are any easier ways how to make it work than what
Evolution offers (there had have some glitches in the process before
3.40 or some such version), just do Edit->Accounts->Add->Collection
Account->[fill a @gmail.com address]->Lookup->(finds 8 candidates
here)->Next->Next->Next->..., then fill in OAuth2 credentials and
that's all.

Alternatively, File->New->Mail Account->[fill a @gmail.com address]
->Next->Next->Apply. Then you are asked for the OAuth2 credentials and
that's all.

You get all your mail, tasks, contacts (CardDAV) and (enabled for sync)
calendars (CalDAV). There are shown related links in the account
wizards.

The third option is to add a Google account in the GNOME Online
Accounts, which the evolution-data-server talks to and provides the
information for Evolution (and any other application using the
evolution-data-server).

Bye,
Milan

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Error Message with Sent Mail on Evolution

2021-12-16 Thread Milan Crha via evolution-list
On Fri, 2021-12-17 at 01:06 +0100, Nathan Parker via evolution-list
wrote:
> [imapx:A] I/O: 'A00021 APPEND Sent (\SEEN) "17-Dec-2021 00:00:23
> +" {954}'
> [imapx:A] I/O: ''
> [imapx:B] I/O: 'B00022 SELECT INBOX'

Hi,
did you remove/redacted any of the above lines, please? After the
APPEND, a stream of 954 bytes was supposed to be written to the server.

I guess from that the server did not respond in an expected way.
Looking at the RFC3501, the APPEND example [1] shows a "+" server
response being expected, to confirm it's ready to receive the data.

It would be interesting to know whether other folders behave the same.
When you search the log there are CAPABILITY/CAPABILITIES requests and
responses, where the server sometimes advertises information about
itself, like what it is and its version.
Bye,
Milan

[1] https://datatracker.ietf.org/doc/html/rfc3501.html#page-47

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Shortcut with number from numeric keyboard fails

2021-12-16 Thread Milan Crha via evolution-list
On Thu, 2021-12-16 at 23:15 +0100, Patrick O'Callaghan wrote:
> Can an action have more than one shortcut? That way both version of
> "3" could be mapped.

Hi,
I do not know, but I'm afraid gtk+ does not support it. The only way
would be to define a "shadow" action, which will be there to define the
second shortcut, but that would also mean to double the processing or
otherwise glue the two actions together.
Bye,
Milan

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Adding Google account broke Evolution

2021-12-16 Thread Andre Klapper via evolution-list
On Thu, 2021-12-16 at 11:05 -0800, Alex Doll wrote:
> The Google calendar I was using stopped allowing login from my Linux
> machine earlier this week. I think they've changed their login for
> non-Google apps in a way that impacts Linux as a whole, not only
> Evolution. So yes, you aren't the only person who was impacted by
> this.

Google is enrolling GMail users in 2FA (two step verification):
https://blog.google/technology/safety-security/making-sign-safer-and-more-convenient/

Might be related.

andre
--
Andre Klapper  |  ak...@gmx.net
https://blogs.gnome.org/aklapper/

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Error Message with Sent Mail on Evolution

2021-12-16 Thread Nathan Parker via evolution-list


Thanks for the followup. I ran:

$ CAMEL_DEBUG=imapx:io flatpak run org.gnome.Evolution

This came back when sending the message:


[imapx:A] I/O: 'A00019 OK IDLE completed (new feature)
* 4863 EXISTS
* 0 RECENT
* OK [UIDVALIDITY 1548904006] Uid epoch
* OK [UIDNEXT 12793] Predicted next uid
* FLAGS (\Answered \Flagged \Deleted \Draft \Seen $Forwarded )
* OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Draft \Seen 
$Forwarded )] Limited'
[imapx:A] I/O: 'A00021 APPEND Sent (\SEEN) "17-Dec-2021 00:00:23 
+" {954}'

[imapx:A] I/O: ''
[imapx:B] I/O: 'B00022 SELECT INBOX'
[imapx:B] I/O: '* 51 EXISTS
* 0 RECENT
* OK [UNSEEN 42] first unseen message
* OK [UIDVALIDITY 1548898140] Uid epoch
* OK [UIDNEXT 117245] Predicted next uid
* FLAGS (\Answered \Flagged \Deleted \Draft \Seen $Forwarded )
* OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Draft \Seen 
$Forwarded )] Limited'

[imapx:B] I/O: 'B00022 OK [READ-WRITE] SELECT completed'
[imapx:B] I/O: 'B00023 IDLE'
[imapx:B] I/O: '+ idling'

This came back when moving a message from On My Computer to the Sent 
folder on the IMAP server:



[imapx:B] I/O: ''
[imapx:B] I/O: 'DONE'
[imapx:B] I/O: ''
[imapx:B] I/O: 'B00023 OK IDLE completed (new feature)'
[imapx:B] I/O: 'B00024 SELECT Sent'
[imapx:B] I/O: 'B00023 OK IDLE completed (new feature)
* 4863 EXISTS
* 0 RECENT
* OK [UIDVALIDITY 1548904006] Uid epoch
* OK [UIDNEXT 12793] Predicted next uid
* FLAGS (\Answered \Flagged \Deleted \Draft \Seen $Forwarded )
* OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Draft \Seen 
$Forwarded )] Limited'
[imapx:B] I/O: 'B00025 APPEND Sent (\SEEN) "17-Dec-2021 00:00:23 
+" {954}'

[imapx:B] I/O: ''

These error messages came back when I first started running the 
command and Evolution first launched, if this helps pinpoint anything:



Gtk-Message: 17:59:48.157: Failed to load module "xapp-gtk3-module"

(evolution.bin:26): e-mail-engine-WARNING **: 17:59:49.016: Failed to 
add service 'Sendmail' (sendmail): No provider available for protocol 
“sendmail”

Gtk-Message: 17:59:49.541: Failed to load module "xapp-gtk3-module"
Gtk-Message: 17:59:49.831: Failed to load module "xapp-gtk3-module"

Let me know if you need more tests run.

Thanks!

Nathan Parker



On Thursday 12/16/2021 at 1:41 am, Milan Crha via evolution-list  
wrote:

On Wed, 2021-12-15 at 17:42 -0600, Nathan Parker via evolution-list
wrote:


Is there something else I need to try or something I need to run by
my email hosting provider?


Hi,
similar as in my first message in this thread, just the command is
slightly different:

 $ CAMEL_DEBUG=imapx:io flatpak run org.gnome.Evolution

The log contains raw communication between the server and the
evolution. It does contain a lot of private information, in a free 
form

or encoded in some blobs. Make sure you don't expose anything private.
Even if the blob won't be readable by a human, it can be read by a
machine, thus remove those if unsure.

I won't need the whole log too. Simply run Evolution, wait until the
output on the console stops, then send a message and include only the
part when the message had been sent.

By the way, will it fail also when you copy a message from an On This
Computer account to the Sent folder in the affected account, please?
That should use the same function as the message send. Just in case, I
really mean from the On This Computer, because using a message in a
folder of the same account can use different ways to copy the message.
Bye,
Milan

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Shortcut with number from numeric keyboard fails

2021-12-16 Thread Patrick O'Callaghan
On Thu, 2021-12-16 at 16:52 +0100, Milan Crha via evolution-list wrote:
> On Thu, 2021-12-16 at 14:30 +0100,
> theapple...@differentmail.com wrote:
> > Is there a way to have both number keys "3" react as shortcuts?
> 
> Hi,
> they have different key codes, not matching each other, I guess. A
> newer Evolution uses the numbers for the labels out of the box, and
> they also react only for the non-numeric keyboard keys. I do not know
> what names the numeric keyboard keys have, I'm sorry.

Can an action have more than one shortcut? That way both version of "3"
could be mapped.

poc
___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Shortcut with number from numeric keyboard fails

2021-12-16 Thread Adam Tauno Williams
...
> The shortcut works fine with the number key "3" from the main
> keyboard but nothing happens if I press the number key "3" on the
> numeric keyboard.
> Is there a way to have both number keys "3" react as shortcuts?

Yep. The keys have different names.  In a terminal window run "xev" and
you can see all the key events with their labels.

In most cases 3 is "3" and keypad 3 is something like "KP_3".

-- 
Adam Tauno Williams, awill...@whitemice.org
Multi-Modal Activists Against Auto Dependent Development
resisting the unAmerican socialists of the Motorist hegemony
http://www.mmaaadd.org 

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Open links in the background? (Firefox)

2021-12-16 Thread Adam Tauno Williams
> > by Evolution. IOW this might be a missing feature for Evolution.
> > Actually I didn't check if such a feature does already exist for
> > Evolution, too. I just haven't seen one.
> Hm, if xdg runs the same script for all apps that want to open the
> default browser, it would be possible to get the window that is
> focused when clicking the link, to buffer that window information and
> after running the browser and losing focus, to immediately set focus
> back to the buffered window. So I was mistaken, xdg is good enough
> and should be usable to launch a script using wmctrl and maybe
> xdotool.

Yep, you can do anything you like - a process can easily determine its
parent.  You can do something as complicated as you like; you could
write a python shim that determined what to do with the link-open based
on a configuration file, recorded every link in a database, etc...

-- 
Highland Park Neighborhood Association
Adam Tauno Williams, Board Chair
Grand Rapids, MI.

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Adding Google account broke Evolution

2021-12-16 Thread Alex Doll
> -Original Message-
> From: Julius Merphik via evolution-list 
> Reply-To: Julius Merphik 
> To: evolution-list@gnome.org
> Subject: [Evolution] Adding Google account broke Evolution
> Date: Thu, 16 Dec 2021 13:23:17 -0500
> 
> Evolution was working perfectly with one local e-mail, one remote e-
> mail (IMAP), and two remote calendars (one CalDAV + one Google
> Calendar via CalDAV, using an app password). Evolution v. 3.36.5-
> 0ubuntu1 on Ubuntu 20.04.3.
> 
> This morning I added my Google work calendar and Gmail work e-mail
> (IMAP); no 2FA available on this account, so I enabled less secure
> app access in Google. Everything appeared to be working fine, so I
> shut down my computer. The next time I started it, I was unable to
> access *ANY* of my non-local e-mail or calendar accounts.
> 
> ...
> 
> After deleting my Google work account (email and calendar) from
> Evolution, I was able to reactivate my Fastmail email account by
> deleting and reinstalling it, but I could not get any non-local
> calendars working again. In the end, I deleted all Evolution data and
> config files, deleted all email and calendar login credentials from
> the keyring, uninstalled and purged Evolution, then reinstalled and
> rebuilt everything from scratch. Now I am back to where I started.
> 
> My question is: Does anyone have any thoughts about what might have
> caused this, and how I can avoid it? I need to have my work account
> accessible, but I really, really don't want to go through that again.

The Google calendar I was using stopped allowing login from my Linux
machine earlier this week. I think they've changed their login for
non-Google apps in a way that impacts Linux as a whole, not only
Evolution. So yes, you aren't the only person who was impacted by
this.

I didn't pursue a fix, I just removed my google accounts from Evolution
and disabled the Google account from the Gnome panel to make the login
prompts go away. Unfortunately not everybody has the option of
installing their own OwnCloud server and ditching Google the way I did.
:(

-AD

-- 
Alex Doll, MAusIMM
alex.d...@agdconsulting.ca




___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


[Evolution] Adding Google account broke Evolution

2021-12-16 Thread Julius Merphik via evolution-list
Evolution was working perfectly with one local e-mail, one remote e-mail 
(IMAP), and two remote calendars (one CalDAV + one Google Calendar via CalDAV, 
using an app password). Evolution v. 3.36.5-0ubuntu1 on Ubuntu 20.04.3.

This morning I added my Google work calendar and Gmail work e-mail (IMAP); no 
2FA available on this account, so I enabled less secure app access in Google. 
Everything appeared to be working fine, so I shut down my computer. The next 
time I started it, I was unable to access *ANY* of my non-local e-mail or 
calendar accounts.

In the e-mail pane, both accounts just said "Loading..." with the spinning 
circle. They were never able to connect or display the folder list or any 
messages.

Re calendars, when I started Evolution, it displayed the following error 
message for each non-local calendar: "Failed to connect calendar 'CalDAV: 
[account]' / Unauthorized." Pressing "Reconnect" did nothing; or, in the case 
of my Google work account, it displayed what appeared to be a Google popup 
asking for my username and password, and then asking me to confirm that I 
wanted to allow Evolution to access my account. When I clicked yes, it 
displayed an Evolution popup saysing "Google Calendar authentication request / 
Login to your Google account and accept conditions in order to access your 
calendar 'Google: [employer name]'. / URL: none-local:// / Requesting access 
token, please wait..." Then it stalled there.

After deleting my Google work account (email and calendar) from Evolution, I 
was able to reactivate my Fastmail email account by deleting and reinstalling 
it, but I could not get any non-local calendars working again. In the end, I 
deleted all Evolution data and config files, deleted all email and calendar 
login credentials from the keyring, uninstalled and purged Evolution, then 
reinstalled and rebuilt everything from scratch. Now I am back to where I 
started.

My question is: Does anyone have any thoughts about what might have caused 
this, and how I can avoid it? I need to have my work account accessible, but I 
really, really don't want to go through that again.

Many thanks,
Julius___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Shortcut with number from numeric keyboard fails

2021-12-16 Thread Milan Crha via evolution-list
On Thu, 2021-12-16 at 14:30 +0100, theapple...@differentmail.com wrote:
> Is there a way to have both number keys "3" react as shortcuts?

Hi,
they have different key codes, not matching each other, I guess. A
newer Evolution uses the numbers for the labels out of the box, and
they also react only for the non-numeric keyboard keys. I do not know
what names the numeric keyboard keys have, I'm sorry.
Bye,
Milan

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


[Evolution] Shortcut with number from numeric keyboard fails

2021-12-16 Thread theapple...@differentmail.com
Good day!

Ubuntu 20.04 LTS, Evolution 3.36.5-0ubuntu1

It is only petty issue but maybe somebody has a solution for it as I
often encounter it as I usually use the numeric keyboard to enter
numbers.

I edited the ~/.config/evolution/accels file to change Evolution's
Keyboard Shortcuts as following:
(gtk_accel_path "/mail-labels/mail-label-2" "3")

The shortcut works fine with the number key "3" from the main keyboard
but nothing happens if I press the number key "3" on the numeric
keyboard.

Is there a way to have both number keys "3" react as shortcuts?

By the way, I use an external keyboard and I don't have a numeric
keypad part on the laptop's keyboard.

Thanks

Dan




___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list