Your message dated Tue, 19 Feb 2008 10:17:43 +0100
with message-id <[EMAIL PROTECTED]>
and subject line Re: Bug#465728: squirrelmail: Fails to send mail with read 
receipt enabled with qmail as the SMTP server
has caused the Debian Bug report #465728,
regarding squirrelmail: Fails to send mail with read receipt enabled with qmail 
as the SMTP server
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)


-- 
465728: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=465728
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: squirrelmail
Version: 2:1.4.13-2
Severity: normal

Hi,

Squirrelmail is unable to send mail when using qmail/qmail-ldap as the
SMTP server, if "On Read" and/or "On Delivery" Receipt options are
enabled in compose.

qmail responds with "451 See http://pobox.com/~djb/docs/smtplf.html.";

The problem appears to be at around 1493 in src/compose.php

$rfc822_header->more_headers['Return-Receipt-To'] = $from_mail;

The problem seems to be that $from_mail contains the from address
followed by a newline.

This can be fixed or worked around by putting a chop() around
$from_mail. Like so:

$rfc822_header->more_headers['Return-Receipt-To'] = chop($from_mail);

Thanks,
Abhijit.

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.23-1-686 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages squirrelmail depends on:
ii  apache2                    2.2.4-1       Next generation, scalable, extenda
ii  apache2-mpm-prefork [httpd 2.2.6-2       Traditional model for Apache HTTPD
ii  boa [httpd]                0.94.14rc21-2 Lightweight and high performance w
ii  cherokee [httpd]           0.5.6-2       extremely fast and flexible web se
ii  libapache2-mod-php5        5.2.4-2+b1    server-side, HTML-embedded scripti
ii  mini-httpd [httpd]         1.19-6        a small HTTP server
ii  perl                       5.8.8-12      Larry Wall's Practical Extraction 
ii  php5                       5.2.3-1       server-side, HTML-embedded scripti
ii  tntnet [httpd]             1.5.3-2       modular, multithreaded web applica

Versions of packages squirrelmail recommends:
ii  ispell                  3.1.20.0-4.3     International Ispell (an interacti
ii  squirrelmail-locales    1.4.9-20070106-1 Translations for the SquirrelMail 

-- no debconf information



--- End Message ---
--- Begin Message ---
On Tuesday 19 February 2008 07:57, Abhijit Hoskeri wrote:
> Sorry about the delay, I was offline for some time.
>
> You are absolutely right, the $domain is read from /etc/mailname in my
> installation, by a custom php function that did not chop() the return
> value. If I do, it works. This is entirely my fault.
>
> Please accept my apologies and close this bug.

No problem. It could be that your configuration stems from a very old package 
version of squirrelmail that shipped with a default config which not cut off 
newlines from /etc/mailname, so it may not be entirely your fault, but in 
effect, this is fixed in recent package versions.


thanks,
Thijs

Attachment: pgpa4yhqsOmct.pgp
Description: PGP signature


--- End Message ---

Reply via email to