[imp] Problem sending mail using SMTP (was) Session timeout when logging on

Jeff Graves jeff at image-src.com
Fri Feb 14 10:25:37 PST 2003


Well, I dumped the stable code and went for the latest CVS code (horde
3.0 and imp 4.0). I got it working using Mike's tutorial:

http://www.graftonhall.co.nz/mikes/Apache-Mysql-Php-Horde/Apache-PHP-H
orde-Win2K.html

Except that I am running on IIS and I have just 1 problem. I can't
send mail. It returns with a unable to send data message in the
compose window. I triple-checked my configuration and permissions on
php and horde temporary folders and enabled auditing to see if some
user was failing to gain access but didn't see anything. The horde log
gives this error:

Feb 13 20:03:13 HORDE [warning] [imp] unable to send data [on line 780
of "D:\Websites\test\horde\imp\compose.php"]

I opened up Network Monitor to what was being sent and it sends a EHLO
localhost. It then sends the MAIL FROM: command and server responds
250. Then it sends the RCPT TO: command and server responds 250. Then,
IMP sends QUIT and drops the connection. No errors of any kind from
the server. Not sure if anyone's seen this before, but before I
started troubleshooting, wanted to know if anyone knows what's going
on here.

Thanks,

Jeff Graves
Customer Support Engineer
Image Source, Inc.
10 Mill Street
Bellingham, MA 02019

jeff at image-src.com - Email
508.966.5200 X31 - Phone
508.966.5170 - Fax

-----Original Message-----
From: imp-bounces at lists.horde.org
[mailto:imp-bounces at lists.horde.org]On
Behalf Of Jeff Graves
Sent: Thursday, February 13, 2003 11:03 AM
To: IMP List
Subject: [imp] Session timeout when logging on


Well, lost a hard drive the other day on our mail server and after
building a new one and restoring mail for my users, I decided I needed
to make life harder for myself so I figured, what the hell, let's
install horde/imp on a windows box instead of putting it back on the
linux mail server. Anyway, here's the config

Win2k with IIS SP3
PHP4, MySQL, PEAR

I've tested them and they seem to be working properly. I installed
horde and configured horde.php with proper settings and set up a sql
prefs database and imap authentication. Without IMP, horde logs on
properly and I can change options no problem. If I install IMP, I then
get this message after submitting user and password:

CGI Error
The specified CGI application misbehaved by not returning a complete
set of HTTP headers. The headers it did return are:

FATAL:  emalloc():  Unable to allocate -1616738196 bytes

If I let IMP do the authentication (make change in registry.php and
horde.php) then the session timeouts after i click login. If I click
imp icon in the menu after login, IMP works normally. If i turn of the
sql prefs database in horde.php, the session proceeds to the imp
screen after login. The horde.log file shows authentication succeeded
in redirect.php. I'm not sure where to start looking. Is this possibly
a horde configuration problem (it looks to me like a mysql problem
since when I turn off the prefs database, imp responds immediately.
But then why does the prefs database work without IMP???), or is this
Win specific issue?

Thanks,

Jeff Graves
Customer Support Engineer
Image Source, Inc.
10 Mill Street
Bellingham, MA 02019

jeff at image-src.com - Email
508.966.5200 X31 - Phone
508.966.5170 - Fax


--
IMP mailing list
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: imp-unsubscribe at lists.horde.org



More information about the imp mailing list