unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* dovecot-service config questions
@ 2016-08-19 17:35 g1
  2016-08-30 12:19 ` Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: g1 @ 2016-08-19 17:35 UTC (permalink / raw)
  To: help-guix

I am trying to understand dovecot-service config. I found this trivial
example: https://wingolog.org/pub/alt-os-config.scm

  (dovecot-service
                    #:config (dovecot-configuration
                              (mail-location "maildir:~/.mail")
                              (listen '("127.0.0.1"))))

I am having trouble making the leap between guix and dovecot syntax.

1) Does anyone have a less trivial dovecot-service config they could
share?

2) How do I check the config tha herd is running? Like this ...

g1@g1 ~/src$ pstree -pa | grep dovecot
  |-dovecot,24213 -F -c /gnu/store/fq2spszyidjp56wmy38b1wma1p2irqgc-dovecot.co

... or is there a better way?

3) How do I view the dovecot config that _will be_ generated by system
reconfigure?

TIA - George

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: dovecot-service config questions
  2016-08-19 17:35 dovecot-service config questions g1
@ 2016-08-30 12:19 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2016-08-30 12:19 UTC (permalink / raw)
  To: g1; +Cc: help-guix

g1 <myglc2@gmail.com> skribis:

> I am having trouble making the leap between guix and dovecot syntax.
>
> 1) Does anyone have a less trivial dovecot-service config they could
> share?
>
> 2) How do I check the config tha herd is running? Like this ...
>
> g1@g1 ~/src$ pstree -pa | grep dovecot
>   |-dovecot,24213 -F -c /gnu/store/fq2spszyidjp56wmy38b1wma1p2irqgc-dovecot.co
>
> ... or is there a better way?

You can run ‘herd status’ or ‘herd status dovecot’.

> 3) How do I view the dovecot config that _will be_ generated by system
> reconfigure?

You can do something like:

  guix gc -R `guix system build my-config.scm` | grep dovecot

… and the dovecot.conf file will be among that.

HTH,
Ludo’.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-08-30 12:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-19 17:35 dovecot-service config questions g1
2016-08-30 12:19 ` Ludovic Courtès

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).