[Tickets #494] RESOLVED: Wrong from date format

bugs at bugs.horde.org bugs at bugs.horde.org
Thu Sep 30 12:56:28 PDT 2004


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=494
-----------------------------------------------------------------------
 Ticket     | 494
 Updated By | arto at bendiken.net
 Summary    | Wrong from date format
 Queue      | Horde Framework
 State      | Bogus
 Priority   | 2. Medium
 Type       | Bug
 Owners     | 
-----------------------------------------------------------------------


arto at bendiken.net (2004-09-30 12:56) wrote:

I had this exact same issue on our mail server, and can confirm that it's
quite real and, potentially, disastrous.

I'm using Horde 2.2.5 and IMP 3.2.2 in conjunction with Exim 4.42 and PHP
4.3.8.

Basically the problem is that if a user logs onto IMP choosing a UI language
other than English, mails he sends to other users on the local server will
be written to their mbox files using the wrong date format in the first
"From" line that starts the message, as reported by the previous poster.

This means that the message will be silently ignored by mail programs,
including Horde, that read the mbox file. (Even worse, at least in my case
there was no actual message content written to the mbox file at all, only
the first badly-formatted, orphaned "From" line. This is bad!)

I tried to track down the bug but eventually had to give up due to time
constraints. I've a strong suspicion, though, that it's locale-related.

(Note that this bug is not necessarily due to Horde. If it's locale-related,
there could be other factors involved, such as the PEAR libraries, PHP
itself and certainly the Exim server.)

I imagine the bug would be easy to reproduce in the right environment, i.e.
if the mail server uses mboxes instead of maildirs, one would just need to
login to Horde using say, German, and try to send an e-mail to another local
user.

WORKAROUND: This issue only happens when the setting $conf['mailer']['type']
in config/horde.php is set as 'sendmail'. Changing the setting to 'smtp',
and adding a parameter specifying 'localhost' as the server to use, should
solve this issue for most people. (Just follow the comments in
config/horde.php.)




More information about the bugs mailing list