Bug#603489: roundcube: BAD HEADER section by Amavis when using long mail subject

2010-11-14 Thread Vincent Bernat
OoO  Lors de  la soirée  naissante du  dimanche 14  novembre  2010, vers
17:52, Jort Koopmans  disait :


> Hello again ;),
> I've found a minor bug in the mail headers created by roundcube (or
> the handling of them by Amavis).
> When using a long subject, roundcube cuts them up in two lines,
> breaking the handling by Amavis.

> Example

> Subject: test test test test test test test test test test test test test 
> test test test
> gives
> X-Amavis-Alert: BAD HEADER SECTION, Improper use of control character
> (char 0D hex): Subject: ...test test test test test test test test\r\n
> test

> I'm not sure if there are any standards (rfc's) needed to be
> considered for the mail-headers.

This  is likely  to be  the same  bug as  before. Could  you try  to set
$rcmail_config['mail_header_delimiter'] to '\n' in main.inc.php to check
if this  solves your problem. I suppose  that there is a  drawback to do
this.
-- 
panic("Oh boy, that early out of memory?");
2.2.16 /usr/src/linux/arch/mips/mm/init.c


pgpSmsa2tjM1e.pgp
Description: PGP signature


Bug#603489: roundcube: BAD HEADER section by Amavis when using long mail subject

2010-11-14 Thread Jort Koopmans
Package: roundcube
Version: 0.3.1-6
Severity: minor


Hello again ;),
I've found a minor bug in the mail headers created by roundcube (or the 
handling of them by Amavis).
When using a long subject, roundcube cuts them up in two lines, breaking the 
handling by Amavis.

Example

Subject: test test test test test test test test test test test test test test 
test test
gives
X-Amavis-Alert: BAD HEADER SECTION, Improper use of control character (char 0D 
hex): Subject: ...test test test test test test test test\r\n test

I'm not sure if there are any standards (rfc's) needed to be considered for the 
mail-headers.

Best regards,
Jort Koopmans

-- System Information:
Debian Release: 5.0.6
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages roundcube depends on:
ii  roundcube-core0.3.1-6skinnable AJAX based webmail solut

roundcube recommends no packages.

roundcube suggests no packages.

Versions of packages roundcube-core depends on:
ii  apache22.2.9-10+lenny8   Apache HTTP Server metapackage
ii  apache2-mpm-prefor 2.2.9-10+lenny8   Apache HTTP Server - traditional n
ii  dbconfig-common1.8.46common framework for packaging dat
ii  debconf [debconf-2 1.5.24Debian configuration management sy
ii  libjs-jquery   1.4.2-2   JavaScript library for dynamic web
ii  libmagic1  4.26-1File type determination library us
ii  php-auth   1.6.2-1   PHP PEAR modules for creating an a
ii  php-mail-mime  1.8.0-2   PHP PEAR module for creating MIME 
ii  php-mdb2   2.5.0b2-1 PHP PEAR module to provide a commo
ii  php-net-smtp   1.3.1-1   PHP PEAR module implementing SMTP 
ii  php-net-socket 1.0.9-2   PHP PEAR Network Socket Interface 
ii  php5   5.2.6.dfsg.1-1+lenny9 server-side, HTML-embedded scripti
ii  php5-gd5.2.6.dfsg.1-1+lenny9 GD module for php5
ii  php5-mcrypt5.2.6.dfsg.1-1+lenny9 MCrypt module for php5
ii  php5-pspell5.2.6.dfsg.1-1+lenny9 pspell module for php5
ii  roundcube-mysql0.3.1-6   metapackage providing MySQL depend
ii  tinymce3.3.8-1   platform independent web based Jav
ii  ucf3.0016Update Configuration File: preserv

-- debconf information:
  roundcube/upgrade-error: abort
  roundcube/pgsql/authmethod-user: password
  roundcube/purge: false
* roundcube/dbconfig-install: true
  roundcube/db/dbname: roundcube
  roundcube/language: en_US
  roundcube/remote/newhost:
  roundcube/pgsql/changeconf: false
  roundcube/upgrade-backup: true
  roundcube/install-error: abort
  roundcube/mysql/admin-user: root
  roundcube/hosts:
  roundcube/pgsql/authmethod-admin: ident
  roundcube/dbconfig-remove:
  roundcube/pgsql/admin-user: postgres
  roundcube/internal/skip-preseed: false
  roundcube/db/app-user: roundcube
  roundcube/dbconfig-reinstall: false
  roundcube/mysql/method: unix socket
  roundcube/remove-error: abort
  roundcube/restart-webserver: true
  roundcube/dbconfig-upgrade: true
  roundcube/remote/port:
  roundcube/pgsql/method: unix socket
  roundcube/pgsql/manualconf:
  roundcube/db/basepath:
  roundcube/pgsql/no-empty-passwords:
  roundcube/passwords-do-not-match:
  roundcube/internal/reconfiguring: false
  roundcube/reconfigure-webserver: apache2, lighttpd
* roundcube/database-type: mysql
  roundcube/remote/host:
  roundcube/missing-db-package-error: abort



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org