[bugs] [Bug 936] New - Invalid address in To: field causes error in IMP 3.1RC2

bugs@bugs.horde.org bugs@bugs.horde.org
Thu, 25 Apr 2002 19:57:39 -0300


http://bugs.horde.org/show_bug.cgi?id=936

*** shadow/936	Thu Apr 25 19:57:39 2002
--- shadow/936.tmp.20860	Thu Apr 25 19:57:39 2002
***************
*** 0 ****
--- 1,40 ----
+ Bug#: 936
+ Product: Horde
+ Version: 2.0 Stable
+ Platform: PHP Code
+ OS/Version: All
+ Status: NEW   
+ Resolution: 
+ Severity: normal
+ Priority: P2
+ Component: IMP
+ Area: BUILD
+ AssignedTo: chuck@horde.org                            
+ ReportedBy: cees@sitesuite.net               
+ URL: 
+ Summary: Invalid address in To: field causes error in IMP 3.1RC2
+ 
+ 
+ Got a SPAM with a forged To: field that looked like this
+ 
+ To: <valued customers>
+ 
+ This caused IMP 3.1RC2 to choke with the folowing errors:
+ 
+ Warning: Unterminated mailbox: valued@127.0.0.1 (errflg=3) in Unknown on line 0
+ 
+ Warning: Must use comma to separate addresses: customers> (errflg=3) in Unknown
+ on line 0
+ 
+ Warning: Unterminated mailbox: valued@UNKNOWN (errflg=3) in Unknown on line 0
+ 
+ Warning: Must use comma to separate addresses: customers> (errflg=3) in Unknown
+ on line 0
+ 
+ 
+ Also, the invalid To: field was replaced with the following
+ 
+ To:   valued@UNKNOWN, MISSING_MAILBOX_TERMINATOR@.SYNTAX-ERROR.,
+ UNEXPECTED_DATA_AFTER_ADDRESS@.SYNTAX-ERROR.
+ 
+