Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Programming/Scripts

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 29th August 2006, 11:56
Tenaka Tenaka is offline
Senior Member
 
Join Date: Sep 2005
Posts: 840
Thanks: 15
Thanked 2 Times in 2 Posts
Default squirrelmail cannot decode budystructure of email?

hi there,

I have a problem with tthe following message:

viewed with outlook:

Quote:
From: Mail Delivery System [MAILER-DAEMON@h898552.serverkompetenz.net]
Subject: Undelivered Mail Returned to Sender

Your message did not reach some or all of the intended recipients.

Subject: www.Hai-Hui.net - Confirmarea inregistrarii
Sent: 29.08.2006 11:43

The following recipient(s) could not be reached:

andreeea@yahoo.com on 29.08.2006 11:43
The e-mail system was unable to deliver the message, but did not report a specific reason. Check the address and try again. If it still fails, contact your system administrator.
< h898552.serverkompetenz.net #5.0.0 X-Postfix; host mx1.mail.yahoo.com[4.79.181.14] said: 554 delivery error: dd This user doesn't have a yahoo.com account (andreeea@yahoo.com) [-5] - mta181.mail.mud.yahoo.com (in reply to end of DATA command)>
trying to view it from squirrelmail:

Quote:
SquirrelMail could not decode the bodystructure of the message
The bodystructure provided by your IMAP server:

(("text" "plain" NIL NIL "Notification" "8bit" 631 15 NIL NIL NIL)("message" "delivery-status" NIL NIL "Delivery report" "8bit" 519 NIL NIL NIL)("message" "rfc822" NIL NIL "Undelivered Message" "8bit" 1905 ("Tue, 29 Aug 2006 10:43:01 +0200" "www.Hai-Hui.net - Confirmarea inregistrarii" (("\\www.Hai-Hui.net\\" NIL "info" "hai-hui.net")) (("\\www.Hai-Hui.net\\" NIL "info" "hai-hui.net")) (("\\www.Hai-Hui.net\\" NIL "info" "hai-hui.net")) ((NIL NIL "andreeea" "yahoo.com")) NIL NIL NIL "<d9446ec18f48c2c15a5549847e96b4db@www.hai-hui.net>") (("text" "plain" ("charset" "iso-8859-2") NIL NIL "8bit" 374 14 NIL NIL NIL)("text" "html" ("charset" "iso-8859-2") NIL NIL "8bit" 454 15 NIL NIL NIL) "alternative" ("boundary" "b1_d9446ec18f48c2c15a5549847e96b4db") NIL NIL) 59 NIL NIL NIL) "report" ("report-type" "delivery-status" "boundary" "6A13E6281DA.1156840991/h898552.serverkompetenz.net") NIL NIL)
any ideas? I found some hints with google, but those problems were mostly concerned with decoding us_ascii encoded mails coming from yahoo, but this is a self generated mail by my system, so I was wondering.....
Reply With Quote
  #2  
Old 30th August 2006, 16:54
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,853
Thanks: 781
Thanked 1,558 Times in 1,477 Posts
Default

Maybe this helps you: http://www.squirrelmail.org/wiki/Sup...tipleLanguages
__________________
Falko
--
Follow me on:
Reply With Quote
  #3  
Old 30th August 2006, 17:02
Tenaka Tenaka is offline
Senior Member
 
Join Date: Sep 2005
Posts: 840
Thanks: 15
Thanked 2 Times in 2 Posts
Default

thx.

before I go ahead an read all that huuuuge text, one more question:

the text is mostly concerned with a problem of squirrelmail, and aims at installing all possible locales, what I was wondering is why do I have problems displaying a self generated mail by my own system???

I mean I can read mails I send to myself with squirrelmail, so why can't I read mails from Mail Delivery System [MAILER-DAEMON@h898552.serverkompetenz.net] which is my server?

Are you sure I have to look for the source of the problem at squirrelmail?

###edit###

I would like to squeeze another squirrelmail question in here, recently I realized I have display problems with messages bigger than aprox. 10 or 12MB - I see a mail in my inbox with 15 MB click on it and the page stays white? where to look for trouble? the usual php.ini values are all >32MB....

Last edited by Tenaka; 30th August 2006 at 22:01.
Reply With Quote
  #4  
Old 1st September 2006, 00:26
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,853
Thanks: 781
Thanked 1,558 Times in 1,477 Posts
Default

Quote:
Originally Posted by Tenaka
I would like to squeeze another squirrelmail question in here, recently I realized I have display problems with messages bigger than aprox. 10 or 12MB - I see a mail in my inbox with 15 MB click on it and the page stays white? where to look for trouble? the usual php.ini values are all >32MB....
What's in Apache's error log?
__________________
Falko
--
Follow me on:
Reply With Quote
  #5  
Old 6th September 2006, 13:54
Tenaka Tenaka is offline
Senior Member
 
Join Date: Sep 2005
Posts: 840
Thanks: 15
Thanked 2 Times in 2 Posts
Default

hi there - same problem with roundcube so its not the webmailer.

do not find anything inside the error logs, tried looking inside the /var/log/httpd/ispconfig_access_log there should be any apache log inside there?

by the way I checked mail logs too seems tehre is no error there....

Last edited by Tenaka; 6th September 2006 at 14:59.
Reply With Quote
  #6  
Old 7th September 2006, 11:35
Tenaka Tenaka is offline
Senior Member
 
Join Date: Sep 2005
Posts: 840
Thanks: 15
Thanked 2 Times in 2 Posts
Default

ok, I just tried squirrelmail development version: 1.5.1 and I can open mails bigger than 5-6MB so its back to checking whats wrong with sq instead of looking at log files...

still the bodystructure of those strange mails cannot be displayed...

I am digging deeper now ;-)
Reply With Quote
  #7  
Old 7th September 2006, 19:59
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,853
Thanks: 781
Thanked 1,558 Times in 1,477 Posts
Default

Quote:
Originally Posted by Tenaka
do not find anything inside the error logs, tried looking inside the /var/log/httpd/ispconfig_access_log there should be any apache log inside there?
I think the error log is in /var/log/apache2.
__________________
Falko
--
Follow me on:
Reply With Quote
  #8  
Old 7th September 2006, 23:01
Tenaka Tenaka is offline
Senior Member
 
Join Date: Sep 2005
Posts: 840
Thanks: 15
Thanked 2 Times in 2 Posts
Default

ok this is how I understood ispcfg was working: all logs go to /var/log/httpd/ispconfig_access_log so this is the place to check in realtime, after the nightly provessing the access log and error log are split and put in the coresponding /var/www/webxx/log folders?

am I wrong here?
Reply With Quote
  #9  
Old 8th September 2006, 00:08
Tenaka Tenaka is offline
Senior Member
 
Join Date: Sep 2005
Posts: 840
Thanks: 15
Thanked 2 Times in 2 Posts
Default

ok I finally found the error here, by doing a tail -f /var/log/error.log

this is an excerpt:
Quote:
[Thu Sep 07 23:09:53 2006] [notice] child pid 7947 exit signal Segmentation fault (11)
Allowed memory size of 33554432 bytes exhausted (tried to allocate 140 bytes)
[Thu Sep 07 23:10:29 2006] [notice] child pid 8074 exit signal Segmentation fault (11)
I tried clicking on a 5MB mail and it opened, I tried clicking on a 15MB mail and got this error...

can you tell me more about these settigns:

Quote:
max_execution_time = 30
max_input_time = 60
memory_limit = 32M
from my php.ini - are these 32MB the limit for one php process? or is it sitewide? why would a 15MB mail exhaust 32MB ?

what settings would you recommend on a AMD 3000MHZ 1GB Ram 2x80gb software raid server running mail,web,dns, etc. services for severall small sites, not a lot of sites hosted here...

###edit###

there must be something wrong with squirrelmail, like I said with version 1.5.1 it worked with the 32MB limit, I set it to 64MB now and look what I got:
Quote:
Allowed memory size of 67108864 bytes exhausted (tried to allocate 140 bytes)
[Thu Sep 07 23:16:35 2006] [notice] child pid 8597 exit signal Segmentation fault (11)

Last edited by Tenaka; 8th September 2006 at 00:12.
Reply With Quote
  #10  
Old 8th September 2006, 19:36
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,853
Thanks: 781
Thanked 1,558 Times in 1,477 Posts
Default

Quote:
Originally Posted by Tenaka
ok this is how I understood ispcfg was working: all logs go to /var/log/httpd/ispconfig_access_log so this is the place to check in realtime, after the nightly provessing the access log and error log are split and put in the coresponding /var/www/webxx/log folders?
That's right, but not for the error log. The error log is still written in /var/log/apache2/error.log (or similar).
__________________
Falko
--
Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with 'CC' & 'BCC' email not being delivered. snowfly HOWTO-Related Questions 10 20th July 2006 13:36
Multiple MySQL Queries - with Postfix-mysql, courier-authmysql, maildrop-mysql... snowfly HOWTO-Related Questions 4 7th July 2006 05:19
Why can't I get my email? woozyerdaddee General 7 1st July 2006 13:09
email forwarding locally consumes all resources rdells General 20 1st May 2006 20:43
Can the squirrelmail webserver different then email server? ejkeebler Server Operation 2 4th November 2005 20:28


All times are GMT +2. The time now is 06:32.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Sponsored Links: Unified Communications: Thoughts, Strategies and Predictions
Join the discussion.
www.seamlessenterprise.com

IP Convergence
Integrate your wireless and wireline networks.
Learn how from the experts at Sprint.
www.seamlessenterprise.com

Wireless & Wireline Integration
Thoughts, strategies and solutions: join the discussion
www.seamlessenterprise.com

Unified Communications 2009
Join the Discussion. Now.
www.seamlessenterprise.com

Red Hat Virtual Experience - a free virtual event. Dec. 9th