Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Substitute for archivemail

191 views
Skip to first unread message

Leandro Noferini

unread,
Aug 29, 2022, 6:00:06 PM8/29/22
to
Ciao a tutti,

I have a little mail server for a few users with dovecot as imap server.

To compress the mailboxes of the users I had archivemail.

In these days I upgraded the server to bullseye and so I have not yet
archivemail: what could I use as subsitute?

--
Ciao
leandro

Anssi Saari

unread,
Aug 30, 2022, 1:50:06 AM8/30/22
to
Leandro Noferini <lnof...@cybervalley.org> writes:

> In these days I upgraded the server to bullseye and so I have not yet
> archivemail: what could I use as subsitute?

I wonder about that too, I use archivemail to clean up my spam folder of
older spam. My email provider still runs Buster and they're in no hurry
to upgrade so no problem right now but eventually I'll need a
replacement.

Oh, for now you could probably install archivemail from Buster.

riveravaldez

unread,
Aug 31, 2022, 5:40:06 AM8/31/22
to
On 8/30/22, Anssi Saari <a...@sci.fi> wrote:
> Leandro Noferini <lnof...@cybervalley.org> writes:
>
>> In these days I upgraded the server to bullseye and so I have not yet
>> archivemail: what could I use as subsitute?
>
> I wonder about that too,

Hi, not an archivemail user, but just in case it's useful: you can
check the right column bottom section ('Similar packages') on Debian's
archivemail package page to see if there's something relevant there
(and if it's available in newer Debian versions):

https://packages.debian.org/buster/archivemail

Kind regards!

Kenneth Parker

unread,
Aug 31, 2022, 8:50:05 AM8/31/22
to
Okay.   So archivemail hasn't been updated for Python 3 yet.   

Kind regards!

Best regards,

Kenneth Parker 

Sven Joachim

unread,
Aug 31, 2022, 12:50:05 PM8/31/22
to
s/ yet//

Some people have tried, but gave up eventually, therefore the package
has been removed. See https://bugs.debian.org/936146 for details.

Cheers,
Sven

Anssi Saari

unread,
Sep 2, 2022, 6:50:05 AM9/2/22
to
Sven Joachim <sven...@gmx.de> writes:

> On 2022-08-31 08:47 -0400, Kenneth Parker wrote:
>
>> On Wed, Aug 31, 2022, 5:36 AM riveravaldez <riverava...@gmail.com>

>> Okay. So archivemail hasn't been updated for Python 3 yet.
>
> s/ yet//
>
> Some people have tried, but gave up eventually, therefore the package
> has been removed. See https://bugs.debian.org/936146 for details.

Well, I took a quick stab at porting archivemail to python 3. As the bug
report mentions, indeed the old rfc822 library doesn't map very well to
today's email.message library.

However, as the rfc822 in Python 2 is a single small python file, I just
grabbed that, and put it, archivemail and test_archivemail through the
2to3 converter. End result, after a couple of minor fixes I had 46/99
tests passing and it seems most of the failures have one of two issues
so might be easy to fix.

So with this approach this seems doable even with my programming
skills. No promises but I'll see if I can find the time and energy to do
more.

Joey Hess

unread,
Sep 5, 2022, 3:40:06 PM9/5/22
to
chewmail is probably the best substitute. It has a very similar usage,
I only had to change the -o option and replace -u with -R.

--
see shy jo
signature.asc

didar

unread,
Sep 7, 2022, 3:40:06 AM9/7/22
to
I waited for suggestions from others regarding this before I jumped in.

You could have a look at "dovecot-archiver" for consideration if you want. It is
*not* available in the debian repos though.

https://pypi.org/project/dovecot-archive/


--
Regards,
Didar

But you'll notice Perl has a goto.
-- Larry Wall in <1997102116...@wall.org>

Generated by Signify v1.14 (http://www.debian.org/)

Jonathan Dowland

unread,
Sep 7, 2022, 10:40:05 AM9/7/22
to
On Mon, Sep 05, 2022 at 03:25:48PM -0400, Joey Hess wrote:
>chewmail is probably the best substitute. It has a very similar usage,
>I only had to change the -o option and replace -u with -R.

This looks very useful, thank you. It's a shame the output format can
only be mbox (I think), but since I'm using archivemail's default of
gzipped-mbox, it's not a big change.


--

Jonathan Dowland
https://jmtd.net
0 new messages