Vacation Messages: When does Morning and Afternoon start?

IT_Architect

Verified User
Joined
Feb 27, 2006
Messages
1,080
I was asked a question today of when Morning starts, and when Afternoon starts. I told them Morning starts at 12:00:01 AM and Afternoon starts at 12:00:01 PM? I was winging it. Does anyone know for certain?
 
The answer might be in the exim.pl file.

But even if I knew, I'd still be confused, because I wouldn't know if it were servertime or local time. I'd have to presume servertime, but if I'm a usre of a hosting account, and not a server administrator, I might not know what this is, or how to find out.

Perhaps this needs to be changed to set specific times?

Jeff
 
The answer might be in the exim.pl file.
But even if I knew, I'd still be confused, because I wouldn't know if it were servertime or local time. I'd have to presume servertime, but if I'm a usre of a hosting account, and not a server administrator, I might not know what this is, or how to find out. Perhaps this needs to be changed to set specific times?
Jeff
That would be useful. I never thought about the "which time" angle because for me, our web customers, are for the most part, our IT support customers. However, a regular hosting company would have people from everywhere. Perhaps the current choices of morning and afternoon are to be intentionally vague due to the time zone issue. The real cure would probably be a virtual user control panel where they can maintain their own white list, black list, Bayesian filtering, forwarders, vacation messages, time zone, and password. That sounds like a lot of work for DA though. Maybe they could just add a time zone at the DA user level. That would be a fraction the work, and make entering a specific time doable for most. They could use it as the default for the virtual users if they decide to go with a virtual user control panel later.
 
Hello,

snippet from the code:
Code:
#define EML_MORNING_HOUR 6
#define EML_AFTERNOON_HOUR 12
#define EML_EVENING_HOUR 18
John
 
Then it's important we let our clients now how we define these times. In whatever time zone we're using for our server(s).

Open for discussion: should there be a feature request to display times and timezone information at the user level?

(Something like this: This server operates using the XXX timezone. Be sure to modify your times accordingly.)

Is this enough? Possibly not; many servers operate on GMT. All operate on a specific time zone which may or may not be the same as the time zone as the client.

John doesn't tell us where the code is located or if we can change it. I've done a quick grep, and it's not in exim.pl.

Do we need a feature request?

Jeff
 
John doesn't tell us where the code is located or if we can change it.

That must be in Directadmin's sources. Exim does not have those lines.


should there be a feature request to display times and timezone information at the user level?

Do you really care of it? Have you ever have any request regarding this from your customers? Cron also runs with server's time. Since 2005 we've been running Directadmin and I don't recall any question regarding server time or zone. So I don't think it might be usefull.
 
No, I've never had a complaint or even a concern. But I'm guessing it works for me because many of my clients are in the US, and my server time is set for California time zone. If my servers were worldwide then it might be an issue.

Jeff
 
Back
Top