unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Tobias Geerinckx-Rice <me@tobias.gr>
To: Joshua Branson <jbranso@dismail.de>
Cc: help-guix@gnu.org
Subject: Re: Troubles with opensmtpd-filter-dkimsign
Date: Wed, 04 Nov 2020 02:20:01 +0100	[thread overview]
Message-ID: <87wnz1hq9q.fsf@nckx> (raw)
In-Reply-To: <874km6x7p1.fsf@dismail.de>

[-- Attachment #1: Type: text/plain, Size: 1153 bytes --]

Joshua Branson 写道:
> I don't have that directory structure...
>
> #+BEGIN_SRC sh
> cd /run/current-system/profile/libexec/opensmtpd
> bash: cd: /run/current-system/profile/libexec/opensmtpd: No such 
> file or directory
> #+END_SRC

It depends on how you installed opensmtpd-filter-dkimsign.  My 
configuration expects it in the system's PACKAGES field, because I 
use a plain text file.

As you seem to be embedding your smtpd.conf in Scheme, you can 
also use gexps to embed the store path automatically, without 
needing to repeat it in PACKAGES or anywhere else.

#~(string-append "\
pki blah
tables foo
listen on etc...

filter dkimsign proc-exec \"" #$opensmtpd-filter-dkimsign 
"/libexec/opensmtpd/filter-dkimsign -d gnucode.me -s blah -c 
relaxed/relaxed -k etc\" user nobody group nogroup

...the rest")

> How do I reliably find opensmtpd-filter-dkimsign?  and I've 
> tried doing
> a /gnu/store/sntahusntae/...  URI before...

I can only second Julien here.  Have you run ‘sudo smtpd -d -f 
.../smtpd.conf’ (no other running smtpd) yet to find out why that 
didn't work?

Kind regards,

T G-R

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 247 bytes --]

  reply	other threads:[~2020-11-04  1:20 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-27  6:46 Troubles with opensmtpd Joshua Branson via
2020-10-27 11:19 ` Tobias Geerinckx-Rice
2020-10-28 23:13   ` Joshua Branson
2020-10-27 11:19 ` Julien Lepiller
2020-10-28 23:10   ` Joshua Branson
2020-11-03 20:39   ` Troubles with opensmtpd-filter-dkimsign Joshua Branson
2020-11-03 21:15     ` Tobias Geerinckx-Rice
2020-11-04  0:39       ` Joshua Branson
2020-11-04  0:54       ` Joshua Branson
2020-11-04  1:20         ` Tobias Geerinckx-Rice [this message]
2020-11-03 21:22     ` Julien Lepiller
2020-11-04  0:37       ` Joshua Branson
2020-10-27 11:21 ` Troubles with opensmtpd Julien Lepiller
2020-10-27 12:21 ` Tobias Geerinckx-Rice

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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=87wnz1hq9q.fsf@nckx \
    --to=me@tobias.gr \
    --cc=help-guix@gnu.org \
    --cc=jbranso@dismail.de \
    /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.
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).