[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ic] interchange (CVS): sendmail problem


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++

_______________________________________________
interchange-users mailing list
suppressed
http://www.icdevgroup.org/mailman/listinfo/interchange-users


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.