help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Home service for mbsync?


From: Tanguy LE CARROUR
Subject: Re: Home service for mbsync?
Date: Thu, 22 Feb 2024 10:59:15 +0100
User-agent: alot/0.10

Hi,


Quoting Carlo Zancanaro (2024-02-22 10:27:35)
> On Wed, Feb 21 2024, Felix Lechner via wrote:
> > Does anyone have an 'mbsync' home service, please? Thanks!
> 
> I just run mbsync as an mcron service. I have a custom script, because I
> do some weird stuff to update my mu index afterwards, but it shouldn't
> be hard to figure out how to call mbsync directly.
> 
> In my home services I have this:
> 
>    (simple-service 'mail-update-script
>                    home-mcron-service-type
>                    ;; Update email every five minutes.
>                    (list #~(job '(next-minute '(0 5 10 15 20 25 30 35 40 45 
> 50 55))
>                                 "/home/carlo/.local/bin/fetch-mail")))

+1! I also run it using mcron. But I’ll give a try to the `imapnotify`
thingy.


> Obviously this doesn't handle configuring mbsync, which I do outside of
> my home configuration.

I have a home service configuration for mbsync, but… it only has
1 variable: `extra-config`! It leaves room for improvement! 😅


-- 
Tanguy



reply via email to

[Prev in Thread] Current Thread [Next in Thread]