File: 02-539193-sendmail.patch

package info (click to toggle)
libmailtools-perl 2.13-1~bpo70%2B1
  • links: PTS
  • area: main
  • in suites: wheezy-backports
  • size: 416 kB
  • sloc: perl: 2,213; makefile: 50
file content (20 lines) | stat: -rw-r--r-- 791 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=539193

From: Santiago Vila <sanvila@unex.es>

The current code uses /usr/lib/sendmail and then /usr/sbin/sendmail as
a fallback. Policy says it should use /usr/sbin/sendmail.

Index: libmailtools-perl-2.13/lib/Mail/Mailer.pm
===================================================================
--- libmailtools-perl-2.13.orig/lib/Mail/Mailer.pm
+++ libmailtools-perl-2.13/lib/Mail/Mailer.pm
@@ -22,7 +22,7 @@ sub is_exe($);
 sub Version { our $VERSION }
 
 our @Mailers =
-  ( sendmail => '/usr/lib/sendmail;/usr/sbin/sendmail;/usr/ucblib/sendmail'
+  ( sendmail => '/usr/sbin/sendmail;/usr/lib/sendmail;/usr/ucblib/sendmail'
   , smtp     => undef
   , smtps    => undef
   , qmail    => '/usr/sbin/qmail-inject;/var/qmail/bin/qmail-inject'