[ic] Was: Interchange 4.8.4 now available

Jon Jensen interchange-users@interchange.redhat.com
Wed May 1 20:41:25 2002


On Wed, 1 May 2002, Kari Suomela wrote:

>  SR> This might very well due to a recent change in 
>  SR> Vend::Util::send_mail.
> 
>  SR> Please try to set in catalog.cfg:
> 
>  SR> SendMailProgram /usr/lib/sendmail -t
> 
> Thx! That seemed to do it.

Thanks for reporting this. The above change may work for most mailers, but 
be aware it'll cause the rest of your mail commands to have -t twice:

/usr/lib/sendmail -t -t

The fix just checked into CVS does the obvious:

--- Util.pm     15 Apr 2002 14:38:14 -0000      2.1.2.7
+++ Util.pm     2 May 2002 00:30:05 -0000       2.1.2.8
@@ -1986,7 +1986,7 @@
 #::logDebug("testing sendmail send none=$none");
                last SEND if $none;
 #::logDebug("in Sendmail send $using");
-               open(MVMAIL,"|$Vend::Cfg->{SendMailProgram}") or last SEND;
+               open(MVMAIL,"|$Vend::Cfg->{SendMailProgram} -t") or last SEND;
                my $mime = '';
                $mime = Vend::Interpolate::mime('header', {}, '') if $use_mime;
                print MVMAIL "To: $to\n", $reply, "Subject: $subject\n"

Maybe we'll just rebuild the 4.8.4 packages with this fix, since it's only 
been out a single day ...

Jon