Package: ilohamail
Version: 0.8.14-0rc3sid3.1
Severity: normal
Tags: patch

The messages sent by IlohaMail have carriage-returns (cr+lf) between the 
headers; apparently, when sent through Postfix they're converted to 
extra newlines, breaking the message.

The patch suggested here:

http://sourceforge.net/mailarchive/forum.php?thread_id=13109719&forum_id=12815

http://sourceforge.net/mailarchive/forum.php?thread_id=30961306&forum_id=12815

(applied on source/compose2.php) works for me (TM):

683a684,688
> if (substr(PHP_OS, 0, 3) != 'WIN') {
>     $headerx = str_replace("\r\n", "\n", $headerx);
>     $body = str_replace("\r\n", "\n", $body);
> }
> 

(of course it would be better to use a variable for the "\r\n"s, but 
since those links mention that this is already fixed on new versions, I 
think this way is less invasive)

Thanks,
Wagner


-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.18-4-vserver-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_US.UTF-8)

Versions of packages ilohamail depends on:
ii  apache2-mpm-prefork [htt 2.2.3-3.3       Traditional model for Apache HTTPD
ii  debconf                  1.5.11          Debian configuration management sy
ii  libapache2-mod-php5      5.2.0-8+etch1   server-side, HTML-embedded scripti
ii  php4                     6:4.4.4-8+etch1 server-side, HTML-embedded scripti
ii  php5                     5.2.0-8+etch1   server-side, HTML-embedded scripti
ii  postfix [mail-transport- 2.3.7-3         A high-performance mail transport 
ii  wwwconfig-common         0.0.48          Debian web auto configuration

Versions of packages ilohamail recommends:
pn  aspell                     <none>        (no description available)
ii  gnupg                      1.4.6-1       GNU privacy guard - a free PGP rep
ii  mysql-client-5.0 [mysql-cl 5.0.32-7      mysql database client binaries
ii  php5-mysql                 5.2.0-8+etch1 MySQL module for php5

-- debconf information:
* ilohamail/webserver_type: Apache2
* ilohamail/weblocation: /IlohaMail


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to