~hauleth

https://hauleth.dev

~hauleth/public-inbox

Last active 29 days ago

~hauleth/blog

Last active 3 years ago
View more

Recent activity

Re: Panic when trying to list content of the folder 29 days ago

From Hauleth to ~soywod/pimalaya

I have updated Stalwart to 0.8.1 and Himalaya to 1.0.0-beta.4 and I still see
similar errors when trying to list content of INBOX

2024-06-22T13:33:28.236187Z  INFO listing imap envelopes from folder INBOX
2024-06-22T13:33:28.236817Z DEBUG utf7 encoded folder: Inbox
C: a2 SELECT "Inbox"
S: * 8 EXISTS
S: * FLAGS (\Answered \Flagged \Deleted \Seen \Draft)
S: * 0 RECENT
S: * OK [PERMANENTFLAGS (\Deleted \Seen \Answered \Flagged \Draft \*)] All allowed
S: * OK [UIDVALIDITY 3173269867] UIDs valid
S: * OK [UIDNEXT 9] Next predicted UID
S: * OK [MAILBOXID (eiaaaaaa)] Unique Mailbox ID
S: a2 OK [READ-WRITE] SELECT completed

Re: Panic when trying to list content of the folder 3 months ago

From Łukasz Niemier to ~soywod/pimalaya

> This was an issue from the [imap] crate itself, which has been
> fixed. The fix is available starting from the `v1.0.0-beta.4` I just
> released. The [nix] package is on its way.

I tried building 1.0.0-beta.4 and the same error happens. I attach trace.

-- 
Hauleth
~@hauleth.dev

Re: Error when trying to list deleted items folder 3 months ago

From Łukasz Niemier to ~soywod/pimalaya

Yes, exactly that one

-- 
Hauleth
~@hauleth.dev

Re: Error when trying to list deleted items folder 3 months ago

From Łukasz Niemier to ~soywod/pimalaya

> Meanwhile, could you try to play with `--page` and `--page-size` to see
> if a particular envelope triggers the error?

In that case I hit another bug that is already reported in another thread. So it
seems that I need to wait for `beta.4`.

-- 
Hauleth
~@hauleth.dev

Re: Panic when trying to list content of the folder 3 months ago

From Łukasz Niemier to ~soywod/pimalaya

> This was an issue from the [imap] crate itself, which has been
> fixed. The fix is available starting from the `v1.0.0-beta.4` I just
> released. The [nix] package is on its way.

I probably should launch JMAP server and start using that. It probably will have
less problems.

-- 
Hauleth
~@hauleth.dev

Re: Himalaya flake makes no sense 3 months ago

From Łukasz Niemier to ~soywod/pimalaya

> It is not that it does not make sense, it is just freshly refactored and
> poorly documented. Let me give you some history and context, so you can
> understand the state of this flake. I would appreciate any feedback on
> the outcome!

Well, main thing is - it disallows building Himalaya for macOS on Apple Silicon,
as there is no `aarch64-darwin` group. So I cannot use it to test out
1.0.0-beta.4 before it will be updated in Nixpkgs.

> This new structure is quite recent, I changed it few days ago. I wanted
> to check if I could cross compile Himalaya for all major platforms

That is quite nice goal TBH, but Flakes are quite problematic wrt cross
compilation at the moment.

Re: CC/BCC to self 3 months ago

From Łukasz Niemier to ~rjarry/aerc-discuss

On Wed Apr 17, 2024 at 4:22 PM CEST, Moritz Poldrack wrote:
> You could also set your INBOX folder as the sent folder. Then the message 
> is just left there. See copy-to in 

That is actually quite interesting solution. Let me test it.

-- 
Hauleth
~@hauleth.dev

Himalaya flake makes no sense 3 months ago

From Łukasz Niemier to ~soywod/pimalaya

I wanted to try 1.0.0-beta.4 by building it directly from Flake in the
repository, but Flake content makes no sense:

    $ nix flake show github:soywod/himalaya/v1.0.0-beta.4
    github:soywod/himalaya/10de8e9fb40296b9befb1f5c6a62e9bca085422b
    ├───apps
    │   ├───x86_64-darwin
    │   │   ├───arm64-macos: app
    │   │   └───x86_64-macos: app
    │   └───x86_64-linux
    │       ├───arm64-linux: app
    │       ├───x86_64-linux: app
    │       └───x86_64-windows: app
    ├───devShells

CC/BCC to self 3 months ago

From Hauleth to ~rjarry/aerc-discuss

I always BCC messages to myself when sending them to make inbox threads work
better (as it groups then messages with the original one). Is it possible to
configure Aerc to do that for me by default? I couldn't find anything in the
manpages.

--
Hauleth
~@hauleth.dev

Error when trying to list deleted items folder 3 months ago

From Łukasz Niemier to ~soywod/pimalaya

When I am trying to list items in "Deleted Items" mailbox it errors that it
cannot list some envelopes.

    $ RUST_BACKTRACE=1 himalaya envelope list "Deleted Items"
    Error: cannot list imap envelopes 10,9,8,7,6,5,4,3,2,1 from folder Deleted Items

    Caused by:
        Bye Response: no explanation given

    Stack backtrace:
       0: std::backtrace::Backtrace::create
       1: anyhow::error::<impl core::convert::From<E> for anyhow::Error>::from
       2: <email::email::envelope::list::imap::ListImapEnvelopes as email::email::envelope::list::ListEnvelopes>::list_envelopes::{{closure}}
       3: <email::backend::Backend<C> as email::email::envelope::list::ListEnvelopes>::list_envelopes::{{closure}}