[imp] Re: Question of attachment on Redhat Linux 7.2 System

edwardspl at ita.org.mo edwardspl at ita.org.mo
Sun Mar 21 02:14:27 PST 2004


Dear All,

I just try to modify /etc/php.ini :

Default :
memory_limit = 8M
upload_max_filesize = 2M

Now:
memory_limit = 512M ; Actually, there are 512M memory...
upload_max_filesize = 2M

But, when I try to post mail with attachment ( more then 8MB ) to another
one, there is no any warning message ( if less than 7MB, there is warning
message "can't over 2MB" ) about the attachment and all of the info (
except for the address of sender ) of mail was cleared by the IMP...

So, how can I to fix this kind of problem ?

Many thank!

Edward.

edwardspl at ita.org.mo wrote:

> Dear You,
>
> Nowaday, I try to install IMP 3.1 on RH 7.2 System, but when post mail
> with attachment ( more than 646 KB ), there are error messages :
>
> Warning: Undefined offset: 1 in /usr/share/php/Mail/RFC822.php on line
> 768
> Warning: Undefined offset: 1 in /usr/share/php/Mail/RFC822.php on line
> 768
> Warning: Undefined offset: 1 in /usr/share/php/Mail/RFC822.php on line
> 768
> Warning: Undefined offset: 1 in /usr/share/php/Mail/RFC822.php on line
> 768
> Warning: Undefined offset: 1 in /usr/share/php/Mail/RFC822.php on line
> 768
>
> Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to
> allocate 1852159 bytes) in /usr/share/php/Net/SMTP.php on line 208
>
> Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to
> allocate 32 bytes) in /usr/share/php/PEAR.php on line 509
>
> Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to
> allocate 140 bytes) in Unknown on line 0
>
> About the packages on RH 7.2 System :
>
> Horde: 2.1
> IMP: 3.1
> Turba: 1.1
> PHP Version: 4.1.2 ( from horde.org )
>
> FTP Support: Yes
> Gettext Support: Yes
> IMAP Support: Yes
> LDAP Support: Yes
> MCAL Support: No
> Mcrypt Support: No
> MySQL Support: Yes
> PostgreSQL Support: Yes
> XML Support: Yes
>
> Miscellaneous PHP Settings
> short_open_tag enabled: Yes
> magic_quotes_runtime set to Off: Yes
> file_uploads enabled: Yes
>
> PEAR ( I think come with php from horde.org )
>
> PEAR - Yes
> Recent PEAR - Yes
> Mail::RFC822 - Yes
> Log - Yes
> DB - Yes
>
> Apache 1.3.27
>
> Very thank for your help !
>
> Best Regards,
> Edward.





More information about the imp mailing list