GNU bug report logs - #28470
caff in the signing-party package can't find sendmail on GuixSD

Previous Next

Package: guix;

Reported by: Christopher Baines <mail <at> cbaines.net>

Date: Fri, 15 Sep 2017 18:35:01 UTC

Severity: normal

To reply to this bug, email your comments to 28470 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#28470; Package guix. (Fri, 15 Sep 2017 18:35:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Christopher Baines <mail <at> cbaines.net>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Fri, 15 Sep 2017 18:35:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Christopher Baines <mail <at> cbaines.net>
To: bug-guix <at> gnu.org
Subject: caff in the signing-party package can't find sendmail on GuixSD
Date: Fri, 15 Sep 2017 19:33:48 +0100
[Message part 1 (text/plain, inline)]
When using caff from the signing-tools pacakge, it looks for sendmail
in the wrong places [1]. It would be useful to find a way to make it
work when installed.

I have found a workaround, which is to specify PERL_MAILERS as
sendmail:$(type -p sendmail), e.g.:

    PERL_MAILERS=sendmail:$(type -p sendmail) caff ...

1: /usr/lib/sendmail;/usr/sbin/sendmail;/usr/ucblib/sendmail

[Message part 2 (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#28470; Package guix. (Mon, 09 Oct 2017 21:38:01 GMT) Full text and rfc822 format available.

Message #8 received at 28470 <at> debbugs.gnu.org (full text, mbox):

From: Ricardo Wurmus <rekado <at> elephly.net>
To: Christopher Baines <mail <at> cbaines.net>
Cc: 28470 <at> debbugs.gnu.org
Subject: Re: bug#28470: caff in the signing-party package can't find sendmail
 on GuixSD
Date: Mon, 09 Oct 2017 23:37:49 +0200
Hi Christopher,

> When using caff from the signing-tools pacakge, it looks for sendmail
> in the wrong places [1]. It would be useful to find a way to make it
> work when installed.
>
> I have found a workaround, which is to specify PERL_MAILERS as
> sendmail:$(type -p sendmail), e.g.:
>
>     PERL_MAILERS=sendmail:$(type -p sendmail) caff ...
>
> 1: /usr/lib/sendmail;/usr/sbin/sendmail;/usr/ucblib/sendmail

What is the expected behaviour here?  Does it *only* work with sendmail?
Or would any mailer (like msmtp) work?  Should the user’s default mailer
be used or should we embed a reference to a specific mailer?

-- 
Ricardo, an msmtp user

GPG: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
https://elephly.net





Information forwarded to bug-guix <at> gnu.org:
bug#28470; Package guix. (Tue, 10 Oct 2017 07:32:02 GMT) Full text and rfc822 format available.

Message #11 received at 28470 <at> debbugs.gnu.org (full text, mbox):

From: Christopher Baines <mail <at> cbaines.net>
To: Ricardo Wurmus <rekado <at> elephly.net>
Cc: 28470 <at> debbugs.gnu.org
Subject: Re: bug#28470: caff in the signing-party package can't find
 sendmail on GuixSD
Date: Tue, 10 Oct 2017 08:31:32 +0100
[Message part 1 (text/plain, inline)]
On Mon, 09 Oct 2017 23:37:49 +0200
Ricardo Wurmus <rekado <at> elephly.net> wrote:

> Hi Christopher,
> 
> > When using caff from the signing-tools pacakge, it looks for
> > sendmail in the wrong places [1]. It would be useful to find a way
> > to make it work when installed.
> >
> > I have found a workaround, which is to specify PERL_MAILERS as
> > sendmail:$(type -p sendmail), e.g.:
> >
> >     PERL_MAILERS=sendmail:$(type -p sendmail) caff ...
> >
> > 1: /usr/lib/sendmail;/usr/sbin/sendmail;/usr/ucblib/sendmail  
> 
> What is the expected behaviour here?  Does it *only* work with
> sendmail? Or would any mailer (like msmtp) work?  Should the user’s
> default mailer be used or should we embed a reference to a specific
> mailer?

I don't have any expectations, but ideally, it would work without
specifying this environment variable.

I think approaches other than sendmail are supported [1], but I'm
unsure if that includes msmtp.

1: https://metacpan.org/pod/Mail::Mailer#DESCRIPTION

This is probably more about the Mail::Mailer perl package in the
perl-mailtools package, than caff, that just uses Mail::Mailer.

I spent a bit of time looking at the Mail::Mailer source code when
trying to get caff working, but unfortunately, bits of it are still a
bit cryptic to me.
[Message part 2 (application/pgp-signature, inline)]

This bug report was last modified 7 years and 245 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.