[Pgp-tools-commit] r876 - in trunk: caff debian

Guilhem Moulin guilhem-guest at moszumanska.debian.org
Fri Aug 26 13:21:47 UTC 2016


Author: guilhem-guest
Date: 2016-08-26 13:21:47 +0000 (Fri, 26 Aug 2016)
New Revision: 876

Modified:
   trunk/caff/caff
   trunk/debian/changelog
Log:
Show how to set {'PERL_MAILERS'} to specify a sendmail binary.

Modified: trunk/caff/caff
===================================================================
--- trunk/caff/caff	2016-08-21 22:21:39 UTC (rev 875)
+++ trunk/caff/caff	2016-08-26 13:21:47 UTC (rev 876)
@@ -360,21 +360,24 @@
 
 =item B<mailer-send> [array]
 
-Parameters to pass to Mail::Mailer.
+Parameters to pass to Mail::Mailer.  Default: none.
+Setting this option is strongly discouraged: fix your local MTA instead.
+
 This could for example be
 
 	$CONFIG{'mailer-send'} =  [ 'smtp', Server => 'mail.server', Auth => ['user', 'pass'] ];
 
-to use the perl SMTP client or
+to use the perl SMTP client, or
 
 	$CONFIG{'mailer-send'} =  [ 'sendmail', '-f', $CONFIG{'email'}, '-it' ];
 
-to pass arguments to the sendmail program.
-For more information run C<< perldoc Mail::Mailer >>.
-Setting this option is strongly discouraged.  Fix your local MTA
-instead.
-Default: none.
+to pass arguments to the sendmail program.  To specify a sendmail binary
+you can set the C<< PERL_MAILERS >> environment variable as follows:
 
+    $ENV{'PERL_MAILERS'} = 'sendmail:/path/to/sendmail_compatible_mta';
+
+For more information see Mail::Mailer(3pm).
+
 =back
 
 =head1 NOTES

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2016-08-21 22:21:39 UTC (rev 875)
+++ trunk/debian/changelog	2016-08-26 13:21:47 UTC (rev 876)
@@ -1,3 +1,11 @@
+signing-party (2.5-1) UNRELEASED; urgency=low
+
+  * caff: Show how to set $ENV{'PERL_MAILERS'} to specify a sendmail binary
+    (or use a sendmail-compatible MTA such as msmtp(1)).  Credits to Ryan
+    Kavanagh's blog post.
+
+ -- Guilhem Moulin <guilhem at guilhem.org>  Fri, 26 Aug 2016 15:11:09 +0200
+
 signing-party (2.4-1) unstable; urgency=medium
 
   * caff, gpg-key2latex, gpgsigs: Ignore "KEY_CONSIDERED" status output




More information about the Pgp-tools-commit mailing list