[ic] interchange (CVS): sendmail problem

Toni Mueller interchange-users@icdevgroup.org
Sat Apr 26 07:40:01 2003


Hello,

in the current Interchange there is a piece of code that detects the
sendmail binary. This piece of code finds /usr/lib/sendmail in
preference to /usr/sbin/sendmail, the latter being the default on
BSD systems and also conformant with FHS section 4.4 while
/usr/lib/sendmail is probably only legacy. The tiny patch below
corrects that.


--- interchange.old	2003-04-26 13:09:27.000000000 +0200
+++ interchange	2003-04-26 13:09:51.000000000 +0200
@@ -144,8 +144,8 @@
 $Global::SendMailLocation = '' if ! $Global::SendMailLocation;
 $Global::SendMailLocation = ($Global::Windows and $Global::SendMailLocation) ||
 	($Global::SendMailLocation and -x $Global::SendMailLocation and $Global::SendMailLocation) ||
-	(-x '/usr/lib/sendmail' and '/usr/lib/sendmail') ||
 	(-x '/usr/sbin/sendmail' and '/usr/sbin/sendmail') ||
+	(-x '/usr/lib/sendmail' and '/usr/lib/sendmail') ||
 	'';
 #	'~_~sendmail~_~';
 



Best,
--Toni++