Re: Advice on email backup

2023-03-18 Thread Oswald Buddenhagen

On Sat, Mar 18, 2023 at 08:29:31PM +0100, H wrote:
For that to work, I would have to configure Thunderbird to use Maildir 
rather than the default mboxrd message format, correct?



no.
that part of the procedure doesn't have anything to do with isync, and 
don't see any other reason why maildir should be somehow involved.



___
isync-devel mailing list
isync-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/isync-devel


Re: Humble question

2023-03-18 Thread Oswald Buddenhagen

On Sat, Mar 18, 2023 at 07:00:27PM +0100, Henrik Frisk wrote:

sync.c:1207:8: error: implicit declaration of function 'fdatasync'
[-Werror,-Wimplicit-function-declaration]

Do you have a workaround for that?


--- a/src/common.h
+++ b/src/common.h
@@ -172,7 +172,7 @@ void flushn( void );
 char *xvasprintf( const char *fmt, va_list ap );
 void xprintf( const char *fmt, ... );

-#if !defined(_POSIX_SYNCHRONIZED_IO) || _POSIX_SYNCHRONIZED_IO <= 0
+#if 1 //!defined(_POSIX_SYNCHRONIZED_IO) || _POSIX_SYNCHRONIZED_IO <= 0
 # define fdatasync fsync
 #endif

should do, but i wonder what the reason for the misdetection is. either 
the macos headers are botched, or the documentation, or i misinterpreted 
something.



___
isync-devel mailing list
isync-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/isync-devel


Re: Advice on email backup

2023-03-18 Thread H
On 03/16/2023 08:27 PM, Oswald Buddenhagen wrote:
> On Thu, Mar 16, 2023 at 04:26:03PM +0100, H wrote:
>> I also realized that I, in addition, have several zipped Thunderbird mail 
>> archives that I also ought to "dump" into this to-be consolidated mail 
>> archive. It is my understanding that Thunderbird (I have been using version 
>> 59) uses the mboxrd format.
>>
> you can configure your active account as imap, and the backup as a local box 
> (i'm not a regular TB user, but i imagine it can't be that hard to re-import 
> it). then you just drag over the mails.
>
> you'd still need some method of de-duplication, though.
>
>> However, you wrote that the 'D~=' sequence in mutt would de-duplicate based 
>> on message-ID which you said "should be good enough". Could you shed some 
>> further light on this last statement so I know what the limitations are?
>>
> it would fail if you created edited duplicates of some mails without changing 
> the message-id. that would be somewhat unexpected ...
>
>
> ___
> isync-devel mailing list
> isync-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/isync-devel

For that to work, I would have to configure Thunderbird to use Maildir rather 
than the default mboxrd message format, correct? I am still using Thunderbird 
version 59 due to some issues with calendar handling and my understanding, 
limited as it might be, is that while Thunderbird can use Maildir format, there 
may be bugs.

Am I correct that the filename of message files when using Maildir is not 
critical (although it must end with the part for the status of the message), 
iow the first part does not really matter?

Got your comment on de-duplicating messages.



___
isync-devel mailing list
isync-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/isync-devel


Re: Humble question

2023-03-18 Thread Henrik Frisk
>
> you could try mbsync master to see whether it works better (it contains
> two known bugs, but is otherwise stable (i don't remember what they are;
> the project currently has no priority. but i use it every day). note
> that running the new version upgrades the store in a
> backwards-incompatible way, so you should make a copy first, so you can
> roll back).
>

Unfortunately I ran into a bug I'm not sure how to resolve. Trying to
compile isync on MacOs fails due to an odd situation that MacOs reports
fdatasync exists when running the configure but in fact it doesn't exist
giving me

sync.c:45:62: error: implicit declaration of function 'fdatasync'
[-Werror,-Wimplicit-function-declaration]

and

sync.c:1207:8: error: implicit declaration of function 'fdatasync'
[-Werror,-Wimplicit-function-declaration]

Do you have a workaround for that?

/henrik
___
isync-devel mailing list
isync-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/isync-devel