I subscribe to the squirrelmail-users mailing list.
  [ ]  True - No need to CC me when replying
  [X]  False - Please CC me when replying

This bug occurs when I ...
  ... view a particular message
  ... use a specific plugin/function
  ... try to do/view/use ....

send an email

The description of the bug:

rfc invalid message id generated by squirrelmail using ipv6 enabled apache

Squirrelmail generates message-ids using either the IP or the rDNS name of the http 
client that's connecting to it.

Apache that's compiled with v6 logs ipv4 addresses connecting to it with a prefixed 
::ffff. So the squirrelmail generated message-id now looks like

10238.::ffff:61.11.81.14.1091411016.squirrel@::ffff:61.11.81.14

where 61.11.81.14 is my home dsl IP from which I connect to my squirrelmail install on 
frodo.hserus.net

Colons are illegal in message-ids

I can reproduce the bug by:

sending an email

(Optional) I got bored and found the bug occurs in:


(Optional) I got really bored and here's a fix:

Please generate the message-id's RHS using the hostname of the squirrelmail box, and 
use some other format for LHS as well (unix timestamp plus hash should do very well, 
for example).

----------------------------------------------

My browser information:
  Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; Smart Explorer v6.0 ( Evaluation 
Period ))

My web server information:
  PHP Version 4.3.8
  PHP Extensions (List)
    * 0 = standard
    * 1 = apache
    * 2 = bz2
    * 3 = ctype
    * 4 = iconv
    * 5 = imap
    * 6 = mysql
    * 7 = openssl
    * 8 = overload
    * 9 = pcre
    * 10 = posix
    * 11 = session
    * 12 = sockets
    * 13 = tokenizer
    * 14 = xml
    * 15 = zip
    * 16 = zlib

SquirrelMail-specific information:
  Version:  1.5.1 [CVS]
  Plugins (List)
    * 0 = bug_report
    * 1 = abook_take
    * 2 = administrator
    * 3 = calendar
    * 4 = listcommands
    * 5 = message_details
    * 6 = info
    * 7 = newmail
    * 8 = squirrelspell

My IMAP server information:
  Server type:  courier
  Server info:  * OK [HIDDEN] IMAP4rev1 UIDPLUS CHILDREN NAMESPACE 
THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION STARTTLS] 
Courier-IMAP ready. Copyright 1998-2004 Double Precision, Inc.  See COPYING for 
distribution information.
  Capabilities:  IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT 
THREAD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION STARTTLS



-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
--
squirrelmail-users mailing list
List Address: [EMAIL PROTECTED]
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Reply via email to