sending mail problem

David Cake dave@difference.com.au
Sat, 17 Mar 2001 05:28:30 +0800


	OK, I have installed the IMP, its all working fine, except I 
can't send mail. When I try, by clicking the send mail button in a 
compose.php popup, I get two things. One is the same window reloads 
just the same as it was before, ie compose.php reloads looking just 
the same. The other is that I get a line appearing in my mail log 
saying something like

Mar 16 15:54:40 mailhost imapd[10006]: Command stream end of file, 
while reading line user=imaptestacct host=mailhost [IP# of mailhost]

	I am running UW-Imap, horde-1.3.3, imp-2.3.6, php 4.04pl1, 
apache 1.3.17, with a PEAR from cvs, etc all on MacOS X Server (yes, 
an unusual system, and no I don't get to change this). At the moment, 
I have no database - adding mysql will come straight after I have got 
it sending mail.
	I have tested that I can send mail from the command line 
using sendmail, that the sendmail path is configured correctly, that 
I can send and receive using imap (I was only able to test send using 
mtest, but it worked).
	Sendmail settings from imp/config/conf.php
$conf['mailer']['type'] = 'sendmail';
$conf['mailer']['params'] = array();
$conf['mailer']['params']['sendmail_path'] = '/usr/sbin/sendmail';
	The apache error log does seem to contain a lot of
[Fri Mar 16 15:51:22 2001] [error] mod_ssl: SSL handshake interrupted 
by system [Hint: Stop button pressed in browser?!] (System error 
follows)
[Fri Mar 16 15:51:22 2001] [error] System: Connection reset by peer (errno: 54)
	Which may or may have anything directly to do with it.
	Oh, and yes I've read the FAQ and tried putting php in 
safe_mode, which didn't appear to make any difference.
	So, where do I go from here? I desperately want to get this working.

	Cheers
		David