~ferdinandyb

Budapest

https://bence.ferdinandy.com


#236 Anything after a ; is stripped in config. 5 days ago

Comment by ~ferdinandyb on ~rjarry/aerc

I should have RTFM: https://ini.unknwon.io/docs/intro/getting_started

This works

 .filename,~.*\.csv = `column -t --separator=",;"`

REPORTED RESOLVED INVALID

#236 Anything after a ; is stripped in config. 5 days ago

bug added by ~ferdinandyb on ~rjarry/aerc

#236 Anything after a ; is stripped in config. 5 days ago

Ticket created by ~ferdinandyb on ~rjarry/aerc

I wanted to make a similar filter:

.filename,~.*\.csv = column -t --separator=',;'

but no amount of quotes and escaping seems to be able to force the semicolon into the resulting filter command.

#234 office365 cannot reconnect 12 days ago

Comment by ~ferdinandyb on ~rjarry/aerc

  1. márc. 6. 11:47:16 ~gilcu3 outgoing@sr.ht:

I agree that calling it again does not fit all use-cases, I shall wait for the future developments by Koni you mention.

Btw do you think the workaround you mentioned can also be done with the mutt_oauth2.py script only, i.e. without requiring mailctl? If yes I can try to make a similar thing in my setup, but whether it depends on mailctl is not clear to me after looking at the config.

Mailctl is just used to authenticate and get refresh and access tokens. So you just need to find the refresh token that the mutt script gets for you, the first line I have commented in the config is just the oneliner to get the token from how mailctl stores it. You also dont need to put it into passwordstore of course.

#234 office365 cannot reconnect 12 days ago

Comment by ~ferdinandyb on ~rjarry/aerc

Yes, sorry, I should've mentioned that also, it does not call it again. I've been thinking about this and calling it again may not be the best if you user input is required for renewing (e.g. gpg pinentry). So probably a good idea is to have both: an option to rerun the source-cred-cmd whenever it's needed and a better solution for letting aerc handle renewals. I think Koni is working on the latter. The former is probably not very complicated.

Btw the point of what I linked is that you need to pass all the same endpoints the mutt script needs as well and put the source-cred-cmd to deliver the refresh token instead of the access token. The man pages for aerc document how the uri needs to be constructed.

#234 office365 cannot reconnect 13 days ago

Comment by ~ferdinandyb on ~rjarry/aerc

The problem is that you probably only provide the oauth access token, which MS expires in an hour, after that aerc can't reconnect. Koni has figured out an admittedly ugly workaround to pass the refresh token as well. This example uses mailctl for authentication:

https://github.com/ferdinandyb/dotfiles/blob/4bf6287625894e8c207c2ab5275243a14f837f21/.config/aerc/accounts.conf%23%23c.imap#L16

#233 Add a [general].exec-path option to prepend to $PATH 16 days ago

feature added by ~ferdinandyb on ~rjarry/aerc

#233 Add a [general].exec-path option to prepend to $PATH 16 days ago

Ticket created by ~ferdinandyb on ~rjarry/aerc

It should support all executions, like filters, hooks, multipart converters etc (is there anything else?). In case of filters, probably the ~/.config/aerc/filters path should preceed this setting's path.

#230 Add aerc.conf option for vx.SetTitle() 26 days ago

Comment by ~ferdinandyb on ~rjarry/aerc

Let's template that as well!

#169 Folder-specific bindings do not work? 26 days ago

on ~rjarry/aerc

~ferdinandyb

is this still an issue for you on current master?

Looks like yes.