Re: [SM-USERS] Problems forwarding attachments with iso-8859-1 encoded filenames
On Thu, Jun 17, 2010 at 05:16:46AM -0700, Tomas Kuliavas wrote: >Helge Milde wrote: >> >> [..] >> > >Test your PHP settings (http://www.squirrelmail.org/wiki/TestPHPSettings) >and show all local mbstring and session extension setting values. mbstring: Multibyte Support enabled Multibyte string engine libmbfl Multibyte (japanese) regex support enabled Multibyte regex (oniguruma) version 4.4.4 Multibyte regex (oniguruma) backtrack check On mbstring extension makes use of "streamable kanji code filter and converter", which is distributed under the GNU Lesser General Public License version 2.1. Directive Local Value Master Value mbstring.detect_order no valueno value mbstring.encoding_translation Off Off mbstring.func_overload 0 0 mbstring.http_input passpass mbstring.http_outputpasspass mbstring.internal_encoding ISO-8859-1 no value mbstring.language neutral neutral mbstring.strict_detection Off Off mbstring.substitute_character no valueno value session: Session Support enabled Registered save handlersfiles user Registered serializer handlers php php_binary wddx Directive Local Value Master Value session.auto_start Off Off session.bug_compat_42 On On session.bug_compat_warn On On session.cache_expire180 180 session.cache_limiter nocache nocache session.cookie_domain no valueno value session.cookie_httponly Off Off session.cookie_lifetime 0 0 session.cookie_path / / session.cookie_secure Off Off session.entropy_fileno valueno value session.entropy_length 0 0 session.gc_divisor 100 100 session.gc_maxlifetime 14401440 session.gc_probability 0 0 session.hash_bits_per_character 4 4 session.hash_function 0 0 session.namePHPSESSID PHPSESSID session.referer_check no valueno value session.save_handlerfiles files session.save_path /var/lib/php5 /var/lib/php5 session.serialize_handler php php session.use_cookies On On session.use_only_cookiesOff Off session.use_trans_sid 0 0 >Show changes made by Nutsmail (you have such right as long as you don't >include copyrighted theme files) or try to reproduce same problem in >standard SquirrelMail 1.4.20 setup. Installed and tried SquirrelMail 1.4.20. First I just copied over the configs, and I got the exact same problem, but then I tried the default config (except for $attachment_dir and $data_dir), and the attachments were sent successfully. After some testing, it looks like the behaviour appears as soon as I change $squirrelmail_default_language to UTF-8 (nn_NO and en_US works, but nb_NO doesn't). nn_NO (nynorsk) is not the written language we use where I live, so being able to use nb_NO (bokmål) is quite important :) >PHP5 is from libapache2-mod-php5 or from php5-cgi package? libapache2-mod-php5. >Do you have some proxy in front of real web service or use mod_rewrite hacks >in your setup? Nope. Nothing special at all. Just a plain apache vhost. -- Helge Milde, 69701808 www.monsternett.no -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo - squirrelmail-users mailing list Posting guidelines: http://squirrelmail.org/postingguidelines List address: squirrelmail-users@lists.sourceforge.net List archives: http://news.gmane.org/gmane.mail.squirrelmail.user List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
Re: [SM-USERS] Problems forwarding attachments with iso-8859-1 encoded filenames
Helge Milde wrote: > > Hi! > > With my current setup, when I forward mails with attachments that have > iso-8859-1 encoded names, the attachments aren't sent (only the email > body). > Open SquirrelMail src/compose.php in some text editor. Find getAttachments function declaration (function getAttachments($message, and so on ...). find "$filename = decodeHeader($filename, false, false);" line without double quotes and change it to "$filename = decodeHeader($filename, false, false, true);" without double quotes. code does not convert filenames to target charset (fourth argument default is false). changed code will convert it to target charset if possible (fourth argument is true). check if it fixes your problem and other problems don't pop out. -- View this message in context: http://old.nabble.com/Problems-forwarding-attachments-with-iso-8859-1-encoded-filenames-tp28902606p28922583.html Sent from the squirrelmail-users mailing list archive at Nabble.com. -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo - squirrelmail-users mailing list Posting guidelines: http://squirrelmail.org/postingguidelines List address: squirrelmail-users@lists.sourceforge.net List archives: http://news.gmane.org/gmane.mail.squirrelmail.user List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
Re: [SM-USERS] html_mail plugin: 406 error - FCKeditor 2.1 with Windows 7 Question
nibbler5 wrote: > > Hello. > > I'm using Windows 7 with this plugin and I'm not sure if this is an issue, > but with the mod security revision to fix the 406 error, that error is > still surfacing when including an external URL when including images from > original message and adding another image in the forwarded message. > > Could this be a file ownership and/or permissions issue e.g. for the data > directory/files outside 'www' vs. the ownership of the software app's > directories and files within 'www'? > > Any ideas? > > Thanks. > > UPDATE: I updated to the latest FCKeditor 2.6.6 and was still getting the 406 error. What I think the problem might be is with IE8 whereby the default out-of-the-box has the browser showing Internet | Protected Mode: On (shown just above the Task Bar). When the website is added as a Trusted Site, the Protected Mode shows Off and allows the sending of Forwarded messages with external images. I'm going to further test to be sure. -- View this message in context: http://old.nabble.com/html_mail-plugin%3A-406-error---FCKeditor-2.1-with-Windows-7-Question-tp28896772p28899251.html Sent from the squirrelmail-users mailing list archive at Nabble.com. -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo - squirrelmail-users mailing list Posting guidelines: http://squirrelmail.org/postingguidelines List address: squirrelmail-users@lists.sourceforge.net List archives: http://news.gmane.org/gmane.mail.squirrelmail.user List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
[SM-USERS] html_mail plugin: 406 error - FCKeditor 2.1 with Windows 7 Question
Hello. I'm using Windows 7 with this plugin and I'm not sure if this is an issue, but with the mod security revision to fix the 406 error, that error is still surfacing when including an external URL when including images from original message and adding another image in the forwarded message. Could this be a file ownership and/or permissions issue e.g. for the data directory/files outside 'www' vs. the ownership of the software app's directories and files within 'www'? Any ideas? Thanks. -- View this message in context: http://old.nabble.com/html_mail-plugin%3A-406-error---FCKeditor-2.1-with-Windows-7-Question-tp28896772p28896772.html Sent from the squirrelmail-users mailing list archive at Nabble.com. -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo - squirrelmail-users mailing list Posting guidelines: http://squirrelmail.org/postingguidelines List address: squirrelmail-users@lists.sourceforge.net List archives: http://news.gmane.org/gmane.mail.squirrelmail.user List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
Re: [SM-USERS] Bug: 'Full Name' value different between IE8 and FF 3.6
nibbler5 wrote: > > > Tomas Kuliavas wrote: >> >> > No. I think you misunderstood what I've said. In default SquirrelMail > configuration 'username' and 'Username' is not same user. It can use same > IMAP account, but preferences will be stored in different locations. Your > problem looks just like that. There are no browser specific code in user > preferences. > > Only problem might be when both browsers open same account at the same > time. Settings are cached and changes in one browser won't be displayed in > other browser until user logs out and relogins there. This is not your > case. You said that user preferences were different for IE8 and Firefox. > Make sure that IE8 does not have open webmail session for that user > account. Set color theme to Maize in Firefox. Log in to webmail with IE8. > See if color theme changes. > > You use different usernames or you use different webmail setups in both > browsers or you are not using standard SquirrelMail scripts. > > Thanks for that explanation Tomas. I think I now see what you're describing. I just checked the data dir and I do see 2 pref files. I think the 2nd one was created when trying to create the same login has http_auth. I'm not positive about that, but it's possible. How can I get back to both browsers using the same pref file? Thanks. -- View this message in context: http://old.nabble.com/Bug%3A--%27Full-Name%27-value-different-between-IE8-and-FF-3.6-tp28838434p28896555.html Sent from the squirrelmail-users mailing list archive at Nabble.com. -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo - squirrelmail-users mailing list Posting guidelines: http://squirrelmail.org/postingguidelines List address: squirrelmail-users@lists.sourceforge.net List archives: http://news.gmane.org/gmane.mail.squirrelmail.user List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
Re: [SM-USERS] Problems forwarding attachments with iso-8859-1 encoded filenames
On Fri, Jun 18, 2010 at 01:53:19AM -0700, Tomas Kuliavas wrote: > > >Helge Milde wrote: >> >> Hi! >> >> With my current setup, when I forward mails with attachments that have >> iso-8859-1 encoded names, the attachments aren't sent (only the email >> body). >> > >Open SquirrelMail src/compose.php in some text editor. > >Find getAttachments function declaration (function getAttachments($message, >and so on ...). > >find "$filename = decodeHeader($filename, false, false);" line without >double quotes and change it to "$filename = decodeHeader($filename, false, >false, true);" without double quotes. > >code does not convert filenames to target charset (fourth argument default >is false). changed code will convert it to target charset if possible >(fourth argument is true). > >check if it fixes your problem and other problems don't pop out. Yes, this fixes the problem! I don't see any problems with the change either (I tried downloading the latin1 attachment, sending "normal" attachments and creating/sending new attachments). Thanks for the help! I'll run with this change on, and if something weird happens, I'll send a mail. -- Helge Milde, 69701808 www.monsternett.no -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo - squirrelmail-users mailing list Posting guidelines: http://squirrelmail.org/postingguidelines List address: squirrelmail-users@lists.sourceforge.net List archives: http://news.gmane.org/gmane.mail.squirrelmail.user List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
[SM-USERS] Alternative Themes
Hi all, Does anyone know of an alternative set of themes that people may be developing for SM outside of what's available on the themes page? I've found the outlook plugin by searching, but it's quite dated, and modifies all of SM, instead of just being a theme... I've gone through most of what's available by default, but looking for something more modern and visually appealing by those who would use outlook in the first place. Maybe a gmail template? Simple white and blue outline would be just fine! Thanks so much, Alex -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo - squirrelmail-users mailing list Posting guidelines: http://squirrelmail.org/postingguidelines List address: squirrelmail-users@lists.sourceforge.net List archives: http://news.gmane.org/gmane.mail.squirrelmail.user List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
[SM-USERS] HTML Mail Plugin
Hello, I am still looking for a solution for the HTML Mail plug-in to work in WebKit. I was given a link to and SVN server that did not solve the issue. Is anyone else able to point me in a different direction? Thanks, Derek -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo - squirrelmail-users mailing list Posting guidelines: http://squirrelmail.org/postingguidelines List address: squirrelmail-users@lists.sourceforge.net List archives: http://news.gmane.org/gmane.mail.squirrelmail.user List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
Re: [SM-USERS] HTML Mail Plugin
dpiazza wrote: > > Hello, > > I am still looking for a solution for the HTML Mail plug-in to work in > WebKit. I was given a link > to and SVN server that did not solve the issue. > > Is anyone else able to point me in a different direction? > I think you already got the answer. First step is to find html editor that works in Chrome. Then find minimal required WebKit or Chome version. Then add that html editor to html plugin or replace older editor version and update plugin's browser detection function. Since I haven't seen your question with "how to update fckeditor to latest ckeditor version", I assume that you haven't checked ckeditor demo site. -- View this message in context: http://old.nabble.com/HTML-Mail-Plugin-tp28927479p28932748.html Sent from the squirrelmail-users mailing list archive at Nabble.com. -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo - squirrelmail-users mailing list Posting guidelines: http://squirrelmail.org/postingguidelines List address: squirrelmail-users@lists.sourceforge.net List archives: http://news.gmane.org/gmane.mail.squirrelmail.user List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
Re: [SM-USERS] HTML Mail Plugin
> > > dpiazza wrote: >> >> Hello, >> >> I am still looking for a solution for the HTML Mail plug-in to work in >> WebKit. I was given a link >> to and SVN server that did not solve the issue. >> >> Is anyone else able to point me in a different direction? >> > I think you already got the answer. First step is to find html editor that > works in Chrome. Then find minimal required WebKit or Chome version. Then > add that html editor to html plugin or replace older editor version and > update plugin's browser detection function. > > Since I haven't seen your question with "how to update fckeditor to latest > ckeditor version", I assume that you haven't checked ckeditor demo site. I have been able to replace fckeditor just fine, and it works in webkit and so does CKeditor. >From what I have been reading, it something to do with the way that the >plug-in is programed. However, that is what I read. I am not a PHP coder... and not a professional. Just thought that someone else had the same issue could help me. thanks > > -- > View this message in context: > http://old.nabble.com/HTML-Mail-Plugin-tp28927479p28932748.html > Sent from the squirrelmail-users mailing list archive at Nabble.com. > > > -- > ThinkGeek and WIRED's GeekDad team up for the Ultimate > GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the > lucky parental unit. See the prize list and enter to win: > http://p.sf.net/sfu/thinkgeek-promo > - > squirrelmail-users mailing list > Posting guidelines: http://squirrelmail.org/postingguidelines > List address: squirrelmail-users@lists.sourceforge.net > List archives: http://news.gmane.org/gmane.mail.squirrelmail.user > List info (subscribe/unsubscribe/change options): > https://lists.sourceforge.net/lists/listinfo/squirrelmail-users > -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo - squirrelmail-users mailing list Posting guidelines: http://squirrelmail.org/postingguidelines List address: squirrelmail-users@lists.sourceforge.net List archives: http://news.gmane.org/gmane.mail.squirrelmail.user List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users