Package: libmailtools-perl
Version: 2.04-1
Tags: patch
Hello AnĂbal!
I discovered this while playing with caff.
This is what policy says:
11.6. Mail transport, delivery and user agents
----------------------------------------------
[...]
The mail spool is `/var/mail' and the interface to send a mail message
is `/usr/sbin/sendmail' (as per the FHS).
The current code uses /usr/lib/sendmail and then /usr/sbin/sendmail as
a fallback. Policy says it should use /usr/sbin/sendmail.
I think upstream might accept this patch, which just changes the order
of the different mailers, so it is the patch I suggest:
diff -ru libmailtools-perl-2.04.orig/lib/Mail/Mailer.pm
libmailtools-perl-2.04/lib/Mail/Mailer.pm
--- libmailtools-perl-2.04.orig/lib/Mail/Mailer.pm 2008-07-29
11:44:36.000000000 +0200
+++ libmailtools-perl-2.04/lib/Mail/Mailer.pm 2009-07-29 19:08:06.199928476
+0200
@@ -22,7 +22,7 @@
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
, qmail => '/usr/sbin/qmail-inject;/var/qmail/bin/qmail-inject'
, testfile => undef
Thanks.
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]