View Full Version : Mailheader problem after upgrade to 2.2.0
Qrup
2nd March 2006, 12:53
Hi,
A user on my system gets the below problem when sending a mail with an attachment. I (successfully) upgraded the webmail again today because another recent post suggested this solution. Still the user gets this error:
Warning: Header may not contain more than a single header, new line detected. in /home/admispconfig/ispconfig/web/webmail/inc/class.uebimiau.php on line 467
Warning: Cannot modify header information - headers already sent by (output started at /home/admispconfig/ispconfig/web/webmail/inc/class.uebimiau.php:467) in /home/admispconfig/ispconfig/web/webmail/inc/class.uebimiau.php on line 469
I hope you can help me..
falko
2nd March 2006, 16:53
Open /home/admispconfig/ispconfig/web/webmail/inc/class.uebimiau.php and change
header("Content-Type: $content_type; name=\"$filename\"\r\n"
."Content-Length: $filesize\r\n");
to
header("Content-Type: $content_type; name=\"$filename\"");
header("Content-Length: $filesize");
I will update the webmail.pkg on ispconfig.org soon.
Qrup
2nd March 2006, 23:17
Changes applied and tested. Everthing seems to work as expected.
I really appreciate your help. Thanks alot :D :D :D
falko
3rd March 2006, 16:33
I've uploaded a new webmail.pkg to www.ispconfig.org. :)
teleriddler
3rd March 2006, 16:38
When my users login to Webmail they get the following error at the top of their page.
Warning: Header may not contain more than a single header, new line detected. in /home/admispconfig/ispconfig/web/webmail/inc/inc.php on line 136
Upon logging out of Webmail they get these errors
Warning: Header may not contain more than a single header, new line detected. in /home/admispconfig/ispconfig/web/webmail/inc/inc.php on line 136
Warning: Cannot modify header information - headers already sent by (output started at /home/admispconfig/ispconfig/web/webmail/inc/inc.php:136) in /home/admispconfig/ispconfig/web/webmail/logout.php on line 73
Just wondering if anyone has encountered this yet. Everything appears to be working fine, this just seems like a cosmetic issue but I thought I would bring it to attention.
TeleRiddler
*******Just read post in the other forum, reinstalling webmail package fixes this error. Sorry for not checking sooner*************
falko
3rd March 2006, 17:34
Uninstall the old webmail package:
rm -fr /home/admispconfig/ispconfig/temp/webmail
rm -fr /home/admispconfig/ispconfig/web/webmail
rm -fr /home/admispconfig/ispconfig/web/tools/tools/webmail and install the new webmail package from ispconfig.org: http://www.ispconfig.org/downloads/webmail.pkg
Martin1982
18th March 2006, 01:18
Thank you for the solution, just changing the header lines wasn't enough, but an installation of the new package did the trick.
tone
22nd March 2006, 18:42
Hello,
Can you help me with this please:
1. cannot download attachments from Uebimiau. I had have the same problem and changed the headers as you post it. The problem now is that i cannot use "save target as..." to save the attachment NOR open it to view it except for Images!!!
2. What changes should i have to do to enable outlook express or microsoft Outlook to access the server remotely and send messages? I think there is something wrong with SASL auth cause when i enable "My Server Requires Authentication" the request for username and password keeps showing and rejects the account username and password??? Please Help
thanks alot ...
Tone
till
22nd March 2006, 22:32
1. cannot download attachments from Uebimiau. I had have the same problem and changed the headers as you post it. The problem now is that i cannot use "save target as..." to save the attachment NOR open it to view it except for Images!!!
Which browser do you use? Please try firefox or netscape.
2. What changes should i have to do to enable outlook express or microsoft Outlook to access the server remotely and send messages? I think there is something wrong with SASL auth cause when i enable "My Server Requires Authentication" the request for username and password keeps showing and rejects the account username and password??? Please Help
Which errors do you get in your mail log?
By the way, please make a new thread if you want to ask questions for a new topic.
tom
23rd April 2006, 17:05
When I try to log in whith a wrong password I also get this messege:
Warning: Cannot modify header information - headers already sent by (output started at /home/admispconfig/ispconfig/web/webmail/inc/class.uebimiau_mail.php:61) in /home/admispconfig/ispconfig/web/webmail/msglist.php on line 65
This change I've already done:
header("Content-Type: $content_type; name=\"$filename\"");
header("Content-Length: $filesize");
I'm using the latest release of uebimiau_mail, ISPConfig 2.2.1 and the latests release of firefox.
tom
falko
23rd April 2006, 18:06
I will check that...
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.