[ic] interchange (CVS): sendmail problem

Mike Heins interchange-users@icdevgroup.org
Sat Apr 26 11:02:00 2003


Quoting Toni Mueller (support-ic@oeko.net):
> 
> 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~_~';

I think you are probably correct, and I have made that change
in the latest CVS.

-- 
Mike Heins
Perusion -- Expert Interchange Consulting    http://www.perusion.com/
phone +1.513.523.7621      <mike@perusion.com>

For a successful technology, reality must take precedence over public
relations, for Nature cannot be fooled. -- Dick Feynman