[imp] double messages sent

Jeremy Wadsack jwadsack@wadsack-allen.com
Wed, 25 Apr 2001 11:21:43 -0700



Chuck Hagenbuch wrote:

> Quoting Jeremy Wadsack <jwadsack@wadsack-allen.com>:
> 
>> We just installed IMP 2.2.4 on a Cobalt RaQ server with PHP 4.0.4pl1, 
>> using MySQL 3.22.32. Whenever we send compose and send a message through 
>> IMP, the message gets sent twice. The first one contains the 
>> X-Authentication-Warning header, the second one doesn't. They are sent 
>> seconds apart.
>> 
>> Any ideas why this is happening? Any thoughts where to look for more 
>> information?
> 
> It's possible that sendmail is returning a failure code even though it's 
> sending the email, so IMP is trying to fall back on php's mail() function. You 
> can change this behavior or debug things in the mailfrom() function in 
> horde/lib/horde.lib.

Good call. I actually jut removed the sendmail path from 
horde/imp/config/defaults.php3 so that it would skip the sendmail step 
this seems to have fixed it.

Thanks,

-- 

Jeremy Wadsack
Wadsack-Allen Digital Group