Content copyright © 2006-2007 by eZ systems A.S.
|
|
|
|
Description:
ezcMailStorageSet tries to detect a Message-ID header and use it as a file name. One obvious problem is that the file may already exist (Message-IDs should be unique, but this is not guaranteed). The specific problem here is that Yahoo sends some -X headers that contain a 'Message-ID' string, and the class mistakenly considers those as a Message-ID header. I am attaching the source of one such message. The file name it generated was the following string: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1239267726; bh=6WhznxarWbV+m1yi7GuDJAazLbXlfPeM0vDdxJplCDc=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=r7BUx0Ktc4c5kPukHqm+35GFRCq2I4MNjKMM1erxJ+kEmCgbwZbtS2CWryHrnnqbdiXnOJvLWFWk4rvT5dYHnfOGqgwZt7jXqL3e3yai65jLEzUakKAd/jGsphC0u9ByZp62Rf0vsSNahHA66uzzPrR68TpLLCDkLNl49g4Cu5c= Environment: Operating System: Linux Steps to Reproduce: Send yourself a mail from Yahoo. Use the ezcMailPop3Transport to fetch a set and wrap it in ezcMailStorageSet. Iterate over the mails/lines or just use a parser to see the error message: Warning: rename(/some/path/9099.1239117710,/some/path/incoming/1239117710_9099/v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1239267726; bh=6WhznxarWbV+m1yi7GuDJAazLbXlfPeM0vDdxJplCDc=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=r7BUx0Ktc4c5kPukHqm+35GFRCq2I4MNjKMM1erxJ+kEmCgbwZbtS2CWryHrnnqbdiXnOJvLWFWk4rvT5dYHnfOGqgwZt7jXqL3e3yai65jLEzUakKAd/jGsphC0u9ByZp62Rf0vsSNahHA66uzzPrR68TpLLCDkLNl49g4Cu5c=): No such file or directory in ...... |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||