[ic] Interchange and sendmail

Mike Heins mike at perusion.com
Fri Dec 5 01:59:54 EST 2003

Quoting doug1 at ultimatepassage.com (doug1 at ultimatepassage.com):
> Perhaps someone can enlighten me.  I'm running interchange 4.9.9 on an AMD 
> opteron using Gentoo Linux.  The system is running Apache/2.0.48 
> (Gentoo/Linux) mod_perl/1.99_10 Perl/v5.8.2 mod_ssl/2.0.48 OpenSSL/0.9.7c.  
> Due to some problems compiling sendmail in pure 64bit mode (I have no 32 
> bit libs on this system), I'm using ssmtp instead of sendmail.  
> /usr/lib/sendmail and /usr/sbin/sendmail is smybolically linked to 
> /usr/sbin/ssmtp.  Now here's where it gets interesting.  When the customer 
> places an order, the order copy gets sent to the customer as expected but 
> the encrypted copy of the order appears in the interchange error log with 
> the following message:
> rDMWEXi2: - [04/December/2003:17:42:05 -0500] 
> cart /cgi-bin/cart/process.html Unable to send mail using 
> /usr/sbin/sendmail
> > To: webuser
> > Subject: ORDER 0014
y > Reply-To: doug1 at linux2go.org
> >
> >....rest of encrypted e-mail.
> Now before I go do something silly that I'll reget in the future (such as 
> parsing the error log for e-mail and re-sending it), are there any hard 
> dependency requirements that require sendmail?  I find it interesting that 
> interchange has no problems using ssmtp to send the customer copy but 
> obviously does something different for encrypted version.
> Any advice or suggestions would be appreciated.

The one uses the [email ...] tag, the other the old
Vend::Util::send_mail. I have never heard of IC having problems, and it
has used a lot of mailers. My guess is there is some problem in ssmtp
with the -t option. Did you look in /var/log/maillog? There should
be something there.

I would switch to Net::SMTP or fake the order report with [email ...] --
I wouldn't parse logs. 8-)

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

Being against torture ought to be sort of a bipartisan thing.
-- Karl Lehenbauer

More information about the interchange-users mailing list