Summary | Wrong from date format |
Queue | Horde Framework Packages |
Type | Bug |
State | Not A Bug |
Priority | 2. Medium |
Owners | |
Requester | werner (at) thefast (dot) be |
Created | 08/18/2004 (7707 days ago) |
Due | |
Updated | 10/01/2004 (7663 days ago) |
Assigned | 08/18/2004 (7707 days ago) |
Resolved | 08/18/2004 (7707 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
selection directly influences whether this problem occurs or not (for
the English language, it won't; for other languages, it will) I would
argue that Horde is guilty by association and should try to provide a
workaround.
As said, this problem involves a commonly used set of software (Horde
+ Exim etc) and is probably fairly easy to reproduce. Therefore it's
likely that it affects a not-insignifant number of Horde users that
may not even be aware of why their mails are disappearing.
Suggestion: I'm not too familiar with locale-related stuff on Unix
systems, but perhaps Horde could make sure the sendmail process will
run under en_US instead of whatever locale the user happened to select?
And PHP itself is uninvolved since PEAR's Mail library opens a pipe to
the sendmail binary. That leaves sendmail/exim/whatever incorrectly
using locale settings to format a date that it shouldn't make
locale-specific. Certainly not part of Horde.
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.)
with the dutch language selected, the from header date is wrong, i
don't now which part that bug is in, i'm not a developer of Horde or
related modules.
Kind regards,
Werner.
State ⇒ Not A Bug
and version, and try adding a useful bug report.
horde framework.
Kind regards,
Werner.
State ⇒ Feedback
headers? And how does this ticket belong to the Framework?
State ⇒ Unconfirmed
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ Wrong from date format
Queue ⇒ Horde Framework Packages
When I send a message using dutch (Nederlands) translation, I get a
wrong from date format :
From test2@testdomein.be vr aug 13 20:00:20 2004
That message doesn't appear in Horde
When I send the message in the default english language there is no
problem and the header is like this :
From test2@testdomein.be Fri Aug 13 19:58:58 2004
This message does appear.
Is there anything I can do about it.
Kind regards,
Werner.