Lars Skovgaard
2004-May-02 09:33 UTC
[Dovecot] Re: Timezone of logentries from dovecot (Timo Sirainen)
On Thu, 2004-04-29 at 15:57, Timo Sirainen wrote:> One more reason to make all logging go through dovecot-master process.. > > Temporary fix of course is setting login_chroot = no to config file.Thanks, Timo, that did the trick. Also thanks to Quentin for his reply, though I don't understand any of it. As stated, my knowledge of unix is rather limited... On Thu, 2004-04-29 at 15:48, Quentin Garnier wrote:> It's because the logging process is chrooted, doesn't have TZ env. var. > set, and doesn't have a correct /etc/localtime (or whatever your libc > uses) _inside_ the chroot directory. Therefore its timezone is the > default, UTC (formerly known as GMT).As I understand it, it would be a good idea to come up with a more permanent fix. However, I have no idea where to begin. Timo writes about making all logging go through the dovecot-master process ? can anyone point me in the direction of information on how to accomplish this? Quentin writes about TZ env. var. (TimeZone?), /etc/localtime and the chroot directory. I'm sorry, Quentin, but I need a bit more info. I have the correct /etc/localtime, as far as I can tell. I've tried looking up TZ env. var. in my man-pages, but haven't come up with anything. I'll copy my /etc/localtime to the login_dir and see if this is enough. Thanks again, guys! /Lars
Timo Sirainen
2004-May-04 17:17 UTC
[Dovecot] Re: Timezone of logentries from dovecot (Timo Sirainen)
On Sun, 2004-05-02 at 12:33, Lars Skovgaard wrote:> > It's because the logging process is chrooted, doesn't have TZ env. var. > > set, and doesn't have a correct /etc/localtime (or whatever your libc > > uses) _inside_ the chroot directory. Therefore its timezone is the > > default, UTC (formerly known as GMT). > > As I understand it, it would be a good idea to come up with a more > permanent fix. However, I have no idea where to begin. Timo writes > about making all logging go through the dovecot-master process ? can > anyone point me in the direction of information on how to accomplish > this?The permanent fix will be to use 1.0 (pre)releases once they become stable. The current test releases aren't yet. Until then login_chroot no isn't really bad either, it just drops extra safety against possible security holes in Dovecot. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20040504/9a841276/attachment-0001.bin>
Reasonably Related Threads
- Timezone of logentries from dovecot
- Concerned about Dovecot's new NTLM code (Modified by Timo Sirainen)
- Live Mirror dovecot / OS X 10.6.4 (Timo Sirainen)
- Newbie question: How to make dovecot read /var/mail/user while using Maildir
- passwd authentication issues (ATTN: Petar)