[Pkg-roundcube-maintainers] Bug#656805: roundcube: smtp error when trying to reply to a message with a names set in the From: header
Albert Dengg
albert at fsfe.org
Sat Jan 21 20:46:17 GMT 2012
Package: roundcube
Version: 0.3.1-6
Severity: important
Tags: patch
hi,
i just did a simple setup and while testing it i encountered the following error:
when trying to reply to a test message, i was unable to send the mail.
from the smtp debug output:
----
[21-Jan-2012 21:11:50 +0100]: Recv: 220 host.domain.tld ESMTP Postfix (Debian/GNU)
[21-Jan-2012 21:11:50 +0100]: Send: EHLO webmail.domain.tld
[21-Jan-2012 21:11:50 +0100]: Recv: 250-host.domain.tld
[21-Jan-2012 21:11:50 +0100]: Recv: 250-PIPELINING
[21-Jan-2012 21:11:50 +0100]: Recv: 250-SIZE 10240000
[21-Jan-2012 21:11:50 +0100]: Recv: 250-VRFY
[21-Jan-2012 21:11:50 +0100]: Recv: 250-ETRN
[21-Jan-2012 21:11:50 +0100]: Recv: 250-STARTTLS
[21-Jan-2012 21:11:50 +0100]: Recv: 250-ENHANCEDSTATUSCODES
[21-Jan-2012 21:11:50 +0100]: Recv: 250-8BITMIME
[21-Jan-2012 21:11:50 +0100]: Recv: 250 DSN
[21-Jan-2012 21:11:50 +0100]: Send: STARTTLS
[21-Jan-2012 21:11:50 +0100]: Recv: 220 2.0.0 Ready to start TLS
[21-Jan-2012 21:11:50 +0100]: Send: EHLO webmail.domain.tld
[21-Jan-2012 21:11:50 +0100]: Recv: 250-host.domain.tld
[21-Jan-2012 21:11:50 +0100]: Recv: 250-PIPELINING
[21-Jan-2012 21:11:50 +0100]: Recv: 250-SIZE 10240000
[21-Jan-2012 21:11:50 +0100]: Recv: 250-VRFY
[21-Jan-2012 21:11:50 +0100]: Recv: 250-ETRN
[21-Jan-2012 21:11:50 +0100]: Recv: 250-AUTH CRAM-MD5
[21-Jan-2012 21:11:50 +0100]: Recv: 250-ENHANCEDSTATUSCODES
[21-Jan-2012 21:11:50 +0100]: Recv: 250-8BITMIME
[21-Jan-2012 21:11:50 +0100]: Recv: 250 DSN
[21-Jan-2012 21:11:50 +0100]: Send: AUTH CRAM-MD5
[21-Jan-2012 21:11:50 +0100]: Recv: 334 PDU3NDAxNzA2Mzg5Nzk2NDYuMTMyNzE3NjcxMEBuZW9keW0uYnVlcmdlcm5ldHp3ZXJrLmF0Pg==
[21-Jan-2012 21:11:50 +0100]: Send: dGVzdEBidWVyZ2VybmV0endlcmsuYXQgNDhmZDVkNjdjMDQ4ZmU3MjU0NTMwMTRhMTFlMDNmNmM=
[21-Jan-2012 21:11:50 +0100]: Recv: 235 2.7.0 Authentication successful
[21-Jan-2012 21:11:50 +0100]: Send: MAIL FROM:<test at domain.tld>
[21-Jan-2012 21:11:50 +0100]: Recv: 250 2.1.0 Ok
[21-Jan-2012 21:11:50 +0100]: Send: DATA
[21-Jan-2012 21:11:50 +0100]: Recv: 554 5.5.1 Error: no valid recipients
[21-Jan-2012 21:11:50 +0100]: Send: RSET
[21-Jan-2012 21:11:50 +0100]: Recv: 250 2.0.0 Ok
----
one can see that for some reason roundcube didn't add rcpt to:.
since it worked with just the mail address, i figured it had to do with the mail
address of the address as roundcube entered it:
albert at fsfe.org (Albert Dengg)
the attached patch seems to fix the problem.
yours,
albert
-- System Information:
Debian Release: 6.0.3
APT prefers stable
APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-5-amd64 (SMP w/1 CPU core)
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash
Versions of packages roundcube depends on:
ii roundcube-core 0.3.1-6 skinnable AJAX based webmail solut
roundcube recommends no packages.
roundcube suggests no packages.
Versions of packages roundcube-core depends on:
ii apache2 2.2.16-6+squeeze4 Apache HTTP Server metapackage
ii apache2-mpm-prefork [h 2.2.16-6+squeeze4 Apache HTTP Server - traditional n
ii dbconfig-common 1.8.46+squeeze.0 common framework for packaging dat
ii debconf [debconf-2.0] 1.5.36.1 Debian configuration management sy
ii libjs-jquery 1.4.2-2 JavaScript library for dynamic web
ii libmagic1 5.04-5 File 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.4.2-3 PHP PEAR module implementing SMTP
ii php-net-socket 1.0.9-2 PHP PEAR Network Socket Interface
ii php5 5.3.3-7+squeeze3 server-side, HTML-embedded scripti
ii php5-gd 5.3.3-7+squeeze3 GD module for php5
ii php5-mcrypt 5.3.3-7+squeeze3 MCrypt module for php5
ii php4-pspell 5.3.3-7+squeeze3 pspell module for php5
ii roundcube-mysql 0.3.1-6 metapackage providing MySQL depend
ii tinymce 3.3.8+dfsg0-0.1 platform independent web based Jav
ii ucf 3.0025+nmu1 Update Configuration File: preserv
-- Configuration Files:
/etc/cron.daily/roundcube [Errno 2] No such file or directory: u'/etc/cron.daily/roundcube'
/etc/default/roundcube [Errno 2] No such file or directory: u'/etc/default/roundcube'
/etc/logrotate.d/roundcube [Errno 2] No such file or directory: u'/etc/logrotate.d/roundcube'
-- debconf information:
roundcube/password-confirm: (password omitted)
roundcube/pgsql/app-pass: (password omitted)
roundcube/mysql/admin-pass: (password omitted)
roundcube/mysql/app-pass: (password omitted)
roundcube/pgsql/admin-pass: (password omitted)
roundcube/app-password-confirm: (password omitted)
roundcube/dbconfig-reinstall: false
roundcube/mysql/method: unix socket
roundcube/upgrade-error: abort
roundcube/pgsql/authmethod-user: password
roundcube/purge: false
* roundcube/dbconfig-install: true
roundcube/db/dbname: roundcube
roundcube/language: en_GB
roundcube/remove-error: abort
roundcube/remote/newhost:
roundcube/pgsql/changeconf: false
roundcube/restart-webserver: true
roundcube/upgrade-backup: true
roundcube/dbconfig-upgrade: true
roundcube/install-error: abort
roundcube/remote/port:
roundcube/mysql/admin-user: root
roundcube/pgsql/method: unix socket
roundcube/pgsql/manualconf:
roundcube/hosts:
roundcube/db/basepath:
roundcube/pgsql/authmethod-admin: ident
roundcube/dbconfig-remove:
roundcube/pgsql/no-empty-passwords:
roundcube/pgsql/admin-user: postgres
roundcube/passwords-do-not-match:
roundcube/internal/reconfiguring: false
roundcube/reconfigure-webserver: apache2, lighttpd
* roundcube/database-type: mysql
roundcube/remote/host:
roundcube/internal/skip-preseed: false
roundcube/db/app-user: roundcube
roundcube/missing-db-package-error: abort
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rc.patch
Type: text/x-c++
Size: 708 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-roundcube-maintainers/attachments/20120121/f63d3bd3/attachment.bin>
More information about the Pkg-roundcube-maintainers
mailing list