[imp] Horde/IMP handling of literal strings (imp 3.2.4, horde 2.2.5, PHP 4.3.6)

Edwin Groothuis imp at mavetju.org
Sat Jun 12 22:58:55 PDT 2004


Hello,

I've seen the FAQ about it, and phpinfo() shows that the magic_quotes
are off.

The messages feed to sendmail are:
    From test at mavetju.org  Sun Jun 13 04:45:13 2004
    Return-Path: test at mavetju.org
    To: no quotes <edwin at barnet.com.au>
    Subject: BarNet test - no quotes
    From: no quotes <test at mavetju.org>
    Message-Id: <E1BZDRc-0005l5-75 at mavetju.org>
    Date: Sat, 12 Jun 2004 14:41:32 -0400

and
    From test at mavetju.org  Sun Jun 13 04:45:13 2004
    Return-Path: test at mavetju.org
    To: "with quotes" <edwin at barnet.com.au>
    Subject: BarNet test - quotes
    From: "with quotes" <test at mavetju.org>
    Message-Id: <E1BZDRc-0005l5-75 at mavetju.org>
    Date: Sat, 12 Jun 2004 14:41:32 -0400

The messages are happily stored in on dbmail mail server. Using
horde/imp to access it, I see this in the message overview
    18 04:41:32	no quotes 	BarNet test - no quotes	1kb
    19 04:41:32	"with quotes"	BarNet test - quotes	1kb

The messages themselves shows up as:
    Date:   	Sat, 12 Jun 2004 14:41:32 -0400
    From:  	no quotes <test at mavetju.org>
    To:  	no quotes <edwin at barnet.com.au>
    Subject:  	BarNet test - no quotes

And
    Date:   	Sat, 12 Jun 2004 14:41:32 -0400
    From:  	"\"with quotes\"" <test at mavetju.org>
    To:  	"\"with quotes\"" <edwin at barnet.com.au>
    Subject:  	BarNet test - quotes

And now the funny thing... this is how the second one shows up with POP3:
    Date:   	Sat, 12 Jun 2004 14:41:32 -0400
    From:  	with quotes <test at mavetju.org>
    To:  	with quotes <edwin at barnet.com.au>
    Subject:  	BarNet test - quotes

Fetching the messages manually (issuing the commands that IMP sends),
I get this for the first message:
    a0005 FETCH 18:18 (UID ENVELOPE)
    * 18 FETCH (UID 3388805 ENVELOPE ("Sat, 12 Jun 2004 14:41:32 -0400" "BarNet test - no quotes" (("no quotes" NIL "test" "mavetju.org")) (("no quotes" NIL "test" "mavetju.org")) (("no quotes" NIL "test" "mavetju.org")) (("no quotes" NIL "edwin" "barnet.com.au")) NIL NIL NIL "<E1BZDRc-0005l5-75 at mavetju.org>"))
    a0005 OK FETCH completed

And this for the second message:
    a0005 FETCH 19:19 (UID ENVELOPE)
    * 19 FETCH (UID 3388806 ENVELOPE ("Sat, 12 Jun 2004 14:41:32 -0400" "BarNet test - quotes" (({13}
    "with quotes" NIL "test" "mavetju.org")) (({13}
    "with quotes" NIL "test" "mavetju.org")) (({13}
    "with quotes" NIL "test" "mavetju.org")) (({13}
    "with quotes" NIL "edwin" "barnet.com.au")) NIL NIL NIL "<E1BZDRc-0005l5-75 at mavetju.org>"))
    a0005 OK FETCH completed

Other mail readers (mutt / mozilla) don't choke on this.

If you need more information on how to debug this problem, feel
free to contact me via email.

Edwin

-- 
Edwin Groothuis      |            Personal website: http://www.mavetju.org
imp at mavetju.org      |          Weblog: http://weblog.barnet.com.au/edwin/


More information about the imp mailing list