all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Tanguy LE CARROUR <tanguy@bioneland.org>
To: Carlo Zancanaro <carlo@zancanaro.id.au>,
	Felix Lechner <felix.lechner@lease-up.com>
Cc: help-guix@gnu.org
Subject: Re: Home service for mbsync?
Date: Thu, 22 Feb 2024 10:59:15 +0100	[thread overview]
Message-ID: <170859595587.3880.10229098204689608684@bioneland.org> (raw)
In-Reply-To: <87v86g6e7s.fsf@zancanaro.id.au>

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	other threads:[~2024-02-22  9:59 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-21 20:47 Home service for mbsync? Felix Lechner via
2024-02-21 20:59 ` Aleksandr Vityazev
2024-02-22  8:03 ` Saku Laesvuori
2024-02-22  8:05 ` Efraim Flashner
2024-02-22  9:27 ` Carlo Zancanaro
2024-02-22  9:59   ` Tanguy LE CARROUR [this message]
2024-02-22 12:37   ` mcron service and PATH (was: Home service for mbsync?) Emmanuel Beffara
2024-02-22 13:51     ` Tanguy LE CARROUR
2024-02-22 14:05       ` Emmanuel Beffara
2024-02-22 14:17     ` Felix Lechner via
2024-02-22 10:15 ` Home service for mbsync? Miguel Ángel Moreno

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=170859595587.3880.10229098204689608684@bioneland.org \
    --to=tanguy@bioneland.org \
    --cc=carlo@zancanaro.id.au \
    --cc=felix.lechner@lease-up.com \
    --cc=help-guix@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.