[imp] Can't send mail after php upgrade
Eric Rostetter
eric.rostetter at physics.utexas.edu
Sun Mar 23 18:08:08 PST 2003
Quoting Rick Emery <rick at emery.homelinux.net>:
> Here are the appropriate entries in my mail log file (from trying to send a
> message this afternoon):
>
> Mar 23 13:09:21 rotache imapd[24018]: imap service init from 127.0.0.1
> Mar 23 13:09:21 rotache imapd[24018]: Authenticated user=remery
> host=localhost.localdomain [127.0.0.1]
> Mar 23 13:09:22 rotache sendmail[24020]: h2NI9Mf24020:
> from=<rick at emery.homelinux.net>, size=0, class=0, nrcpts=1, proto=ESMTP,
> daemon=MTA, relay=localhost.localdomain [127.0.0.1]
> Mar 23 13:09:23 rotache imapd[24018]: Logout user=remery
> host=localhost.localdomain [127.0.0.1]
Okay, it show a sendmail connection, but size=0...
> Could pear be the problem here?
If using smtp to send it, then yes. If using the command line sendmail
inteface, then less likely, but still possible.
> After the php upgrade, I had to add
> /usr/share/pear to my include_path in php.ini because it wasn't there. When I
> type "pear" or "pear install" at the command prompt, I get an error:
>
> PHP Fatal error: Call to undefined function: getoptions() in /usr/bin/pear on
> line 34
That isn't good. Do a "rpm -ql php | grep -i pear" and see where pear
is installed by the RPM. Make sure that is the path you put in your php.ini.
> I didn't do anything with PEAR; I upgraded to the php 4.2.3 rpms from the
> horde ftp site.
They should have a pear in them, but the question is where they were installed.
> Is PEAR included with those rpms?
I believe so.
> Will php use my existing pear install?
Yes, if you point it at it. So check your paths as stated above.
> Do I need to grab updated pear packages from somewhere?
No, in theory not. Just make sure you are using the correct ones.
> Thanks,
> Rick
--
Eric Rostetter
The Department of Physics
The University of Texas at Austin
Why get even? Get odd!
More information about the imp
mailing list