[imp] Truncated Attachments - we're not in safe_mode

Miroslaw Jaworski mjaw at ipartners.pl
Fri Feb 7 14:49:16 PST 2003


* Bruno Negrao (imp-bnegrao at engepel.com.br) [030207 14:12] wrote:
> > > > | I'm using the latest stable release of Horde and IMP.
> > > > | I have everything working great; except, when I try to
> > > > | send an attachment via IMP is seems to be truncated.
> > > > | IMP seems to attach the test file (small Word
> > > > | Document) fine to the message bust upon receipt only
> > > > | the header information is available for the attachment
> > > > | and the file size is 0.  My php.ini file is set to 2MB
> > > > | for uploaded files and my test file is well under this
> > > > | size.
> > > > |
> > > > | It doesn't seem to be a problem with my MTA or MUA as
> > > > | when I send an attachment using a different mail
> > > > | client it is sent and received fine.
> > > >
> > > > Make sure you are not running PHP in safe mode.
> > > >
> > > > michael
> > > How can I get shure about that?
> >
> > Check your php.ini ( common location is /usr/local/lib )
> > Look for safe_mode definition. If it's on, change it to off and
> > restart your webserver.
> >
> > > o you know how can I check it in redhat
> > > 8.0? does the phpinfo page show it?
> >
> > Yes. phpinfo() shows if the safe_mode is on.
> >
> Unfortunately, our php does not run in safe mode by default. I checked it
> through phpinfo page.
> :-(
> We'll have to continue with problem.

Fortunately :) That's how it should be ( although personally i like 
having my PHP installations safe moded, which wasn't possible for 
Horde/IMP, at least with fast "out of the box" installation ).

What you see in PHP logfile ( hope you create any? - it's also set in 
php.ini ) 

M.

-- 
Miroslaw.Jaworski at gts.pl  ( Psyborg )  MJ102-RIPE  GTS Internet Partners SA
Servers Administration Department Manager


More information about the imp mailing list