From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christopher Baines Subject: bug#28470: caff in the signing-party package can't find sendmail on GuixSD Date: Tue, 10 Oct 2017 08:31:32 +0100 Message-ID: <20171010083132.62fb5c45@cbaines.net> References: <20170915193348.5491e73f@cbaines.net> <87infom28i.fsf@elephly.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; boundary="Sig_/NGzJBVZb.QjG5nFlRMCvDNH"; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40107) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e1p1M-0002rO-Hg for bug-guix@gnu.org; Tue, 10 Oct 2017 03:32:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e1p1G-0002jZ-MW for bug-guix@gnu.org; Tue, 10 Oct 2017 03:32:08 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:50364) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e1p1G-0002jQ-Ia for bug-guix@gnu.org; Tue, 10 Oct 2017 03:32:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1e1p1G-0005ZL-6Z for bug-guix@gnu.org; Tue, 10 Oct 2017 03:32:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87infom28i.fsf@elephly.net> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Ricardo Wurmus Cc: 28470@debbugs.gnu.org --Sig_/NGzJBVZb.QjG5nFlRMCvDNH Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Mon, 09 Oct 2017 23:37:49 +0200 Ricardo Wurmus wrote: > Hi Christopher, >=20 > > 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=3Dsendmail:$(type -p sendmail) caff ... > > > > 1: /usr/lib/sendmail;/usr/sbin/sendmail;/usr/ucblib/sendmail =20 >=20 > What is the expected behaviour here? Does it *only* work with > sendmail? Or would any mailer (like msmtp) work? Should the user=E2=80= =99s > 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. --Sig_/NGzJBVZb.QjG5nFlRMCvDNH Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEEPonu50WOcg2XVOCyXiijOwuE9XcFAlncd1RfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcACgkQXiijOwuE 9Xd7wA//XJ+PA2T1wgsSXe3FpQgF/Qb3YxZpaQLYkkEocnPf0TlNfAJBRfQ/OQTw d0k5PGue3fNCLtKWnB0MnQhRkzFmHHEilyt9phhZhCFuMVsVxOa84j58su3s7Ge+ 8Abkl55aVxJL6uWnp12M2S8tCNOdkD1H3Xbf9AbmuQRmBeH4BtqAL2pfT3ZDK3AR gQQ778J+yGp+l8CDfZVdWE88ta7eGN8lRh2KveINfxccb4HsLq1FowzTi9IhoF/j W3q+M+CyyCJ4x/wWa2uxMZHNPdj4EmjDUL33qOLSu8LYvovV4L9K7rXR6eVC/3nA UBMuzw+u8J7N6oE3GPZsgq790jmZL67Ez8BHrLuN3DWVkzutDYFu67gjyzbhHCaY V10MxwMSeS8gNjRq799hestRBwGaK1Wyq2bS5QodLjL6l9cmhbm4ce0pFZHSkw8F kNVuDlTbX27wBFVqXgdkKOLB1DxMB9jcjOhDjQwXtIFg1y0F5IGoFZgvjlpBYMjO qrWO10JP6kbcG66xHLjVr6TYOuEhDl43rSR5Gt+AVMsM+qCGDz5je0uWOjZyM/PU 6skS/zthnzUuCtiE8sFu2XUuE5B5vvmZlZHbWuW4J2PHn0EQCysuYREfEcMwZHC0 eDDEdnjRlInauCiA5cYmqNg3d0dp2uINvxZsLZi3CbJoG4+kvSc= =Vt1r -----END PGP SIGNATURE----- --Sig_/NGzJBVZb.QjG5nFlRMCvDNH--