Re: Substitute for archivemail

2022-09-07 Thread Jonathan Dowland

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



Re: Substitute for archivemail

2022-09-07 Thread didar
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.
> 
> -- 
> see shy jo

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 <199710211624.jaa17...@wall.org>

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



Re: Substitute for archivemail

2022-09-05 Thread Joey Hess
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
Description: PGP signature


Re: Substitute for archivemail

2022-09-02 Thread Anssi Saari
Sven Joachim  writes:

> On 2022-08-31 08:47 -0400, Kenneth Parker wrote:
>
>> On Wed, Aug 31, 2022, 5:36 AM riveravaldez 

>> 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.



Re: Substitute for archivemail

2022-08-31 Thread Sven Joachim
On 2022-08-31 08:47 -0400, Kenneth Parker wrote:

> On Wed, Aug 31, 2022, 5:36 AM riveravaldez 
> wrote:
>
>> On 8/30/22, Anssi Saari  wrote:
>> > Leandro Noferini  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
>
>
> 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.

Cheers,
   Sven



Re: Substitute for archivemail

2022-08-31 Thread Kenneth Parker
On Wed, Aug 31, 2022, 5:36 AM riveravaldez 
wrote:

> On 8/30/22, Anssi Saari  wrote:
> > Leandro Noferini  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


Okay.   So archivemail hasn't been updated for Python 3 yet.

Kind regards!


Best regards,

Kenneth Parker


Re: Substitute for archivemail

2022-08-31 Thread riveravaldez
On 8/30/22, Anssi Saari  wrote:
> Leandro Noferini  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!



Re: Substitute for archivemail

2022-08-29 Thread Anssi Saari
Leandro Noferini  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.



Substitute for archivemail

2022-08-29 Thread Leandro Noferini
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