Re: [Dovecot] Password environment variable - logging the password

2009-06-06 Thread Donovan Craig
>> On Jun 6, 2009, at 5:19 AM, Donovan Craig wrote: >> Im using the mysql userdb, but the passwords are stored in MD5. >> I want to be able to get the password within the post login script, >> not from >> the log file. >> >> Is there any way to do this? > Timo Sirainen wrote: > user_query = SELECT

Re: [Dovecot] dovecot and ntp: Fatal: Time just moved backwards

2009-06-06 Thread Arno Wald
Arno Wald wrote: It would be much better if chrony would look up the server addresses again when it does recieve the "online" state command. It seems that there is no option to turn on such a functionality. For completeness, even if it is getting OT in this mailing list (Sorry): http://chrony

Re: [Dovecot] dovecot and ntp: Fatal: Time just moved backwards

2009-06-06 Thread Harlan Stenn
Juergen wrote: > Harlan wrote: > > There is no corrected version of the real-time clock before the PC goes > > online. > > I'd suggest to read chrony's manual. Chrony stores the reference values > collected while running online for further use after reboot, even if we > have no online connection a

Re: [Dovecot] dovecot and ntp: Fatal: Time just moved backwards

2009-06-06 Thread Arno Wald
Juergen Daubert wrote: Chrony is what you are looking for, see http://chrony.sunsite.dk/ chrony does exactly look like what I need. But there is one big disadvantage when using it on manual dial up PCs: You have to configure the NTP-servers by IP-address instead of there names. I do not like

Re: [Dovecot] dovecot and ntp: Fatal: Time just moved backwards

2009-06-06 Thread Juergen Daubert
On Sat, Jun 06, 2009 at 05:06:50PM -0400, Harlan Stenn wrote: > Juergen wrote: > > > How will chrony help here if the PC is not online at boot time? > > > > >From http://chrony.sunsite.dk/guide/chrony.html > > > > - chronyd can perform usefully in an environment where access to the time > > ref

Re: [Dovecot] dovecot and ntp: Fatal: Time just moved backwards

2009-06-06 Thread Harlan Stenn
Juergen wrote: > > How will chrony help here if the PC is not online at boot time? > > >From http://chrony.sunsite.dk/guide/chrony.html > > - chronyd can perform usefully in an environment where access to the time > reference is intermittent. chronyd estimates both the current time > offset a

Re: [Dovecot] dovecot and ntp: Fatal: Time just moved backwards

2009-06-06 Thread Juergen Daubert
On Sat, Jun 06, 2009 at 04:17:39PM -0400, Harlan Stenn wrote: > Juergen Daubert wrote: > > On Sat, Jun 06, 2009 at 08:19:14PM +0200, Arno Wald wrote: > > > I am running dovecot on a PC (a workstation) to have a mail client > > > independent storage for my mails. Now I would like to have the syste

Re: [Dovecot] dovecot and ntp: Fatal: Time just moved backwards

2009-06-06 Thread Harlan Stenn
Juergen Daubert wrote: > On Sat, Jun 06, 2009 at 08:19:14PM +0200, Arno Wald wrote: > > I am running dovecot on a PC (a workstation) to have a mail client > > independent storage for my mails. Now I would like to have the system > > clock set correctly by using ntpd or ntpdate (using debian/sid

Re: [Dovecot] dovecot and ntp: Fatal: Time just moved backwards

2009-06-06 Thread Juergen Daubert
On Sat, Jun 06, 2009 at 08:19:14PM +0200, Arno Wald wrote: > Hallo, > > I am running dovecot on a PC (a workstation) to have a mail client > independent storage for my mails. Now I would like to have the system > clock set correctly by using ntpd or ntpdate (using debian/sid). > > The problem i

Re: [Dovecot] dovecot and ntp: Fatal: Time just moved backwards

2009-06-06 Thread Harlan Stenn
Pascal Volk wrote: > On Debian systems I'm very happy with the OpenBSD NTP daemon. > Package: openntpd > This ntpd adjusts the local time in little steps. The last I checked openntpd was an SNTP implementation, not NTP. If it works for you, great. H

Re: [Dovecot] dovecot and ntp: Fatal: Time just moved backwards

2009-06-06 Thread Arno Wald
Pascal Volk wrote: On Debian systems I'm very happy with the OpenBSD NTP daemon. Package: openntpd This ntpd adjusts the local time in little steps. Also on startup? ntpd uses little steps while running, too. But only at startup it seems to do a big step. But as I have found in the Debian-Ch

Re: [Dovecot] dovecot and ntp: Fatal: Time just moved backwards

2009-06-06 Thread Pascal Volk
On 06/06/2009 09:22 PM Arno Wald wrote: > This is interesting, thank you. I will give it a try if ntpd or ntpdate > will be no solution for me. But as there is no package for this in > debian I would like to use the ntp stuff instead first. On Debian systems I'm very happy with the OpenBSD NTP d

Re: [Dovecot] dovecot and ntp: Fatal: Time just moved backwards

2009-06-06 Thread Harlan Stenn
Have you seen http://support.ntp.org/Support ? You said your clock is running fast, so it's not a clock interrupt issue. If your OS supports it, and you have a *steady* problem with your clock, you might be able to correct this problem with the tickadj program and then ntpd should be able to keep

Re: [Dovecot] dovecot and ntp: Fatal: Time just moved backwards

2009-06-06 Thread Arno Wald
John Gateley wrote: > 2 things might help: Thank you for your suggestions. This reminded me of an ntpdate option: ntpdate can be configured to change the time not in a big step on startup by using the option -B Force the time to always be slewed using the adjtime() system call, even if the

Re: [Dovecot] dovecot and ntp: Fatal: Time just moved backwards

2009-06-06 Thread Arno Wald
Timo Sirainen wrote: > Wonder if http://cr.yp.to/clockspeed.html would work better than ntpd? This is interesting, thank you. I will give it a try if ntpd or ntpdate will be no solution for me. But as there is no package for this in debian I would like to use the ntp stuff instead first. Arn

Re: [Dovecot] dovecot and ntp: Fatal: Time just moved backwards

2009-06-06 Thread Arno Wald
Scott Haneda wrote: Can you explain why the system clock gets so far out of time? No, I cannot, I do not know. Is it possible that the clock is out of order? I did compare the times with another PC that is ntpd controlled. And after 1 hour the times differ for 1 second again. It seems that my

Re: [Dovecot] dovecot and ntp: Fatal: Time just moved backwards

2009-06-06 Thread Scott Haneda
Sorry for the top post and lack of snipping this email down, I'm using a mobile phone. Can you explain why the system clock gets so far out of time? I certainly struggle with crime drifting even on an always network connected machine, but I'm not understanding why your machine can not mai

Re: [Dovecot] dovecot and ntp: Fatal: Time just moved backwards

2009-06-06 Thread Timo Sirainen
On Jun 6, 2009, at 11:19 AM, Arno Wald wrote: My idea now is to not start ntpd on system boot, but only on if-up. But this brings up the same fatal error of dovecot as ntpd seems to hardly set the time, too. The only idea I have left is to stop dovecot, start ntpd and then start dovecot aga

Re: [Dovecot] dovecot and ntp: Fatal: Time just moved backwards

2009-06-06 Thread John Gateley
Arno Wald wrote: Is there a more elegant way to use dovecot and ntpd on a manually dialed in PC? 2 things might help: 1, run ntpd in cron every 10 minutes or so. That should avoid the startup issue. 2, sync your hardware clock every time. That should keep your clock closer to accurate. You ma

[Dovecot] dovecot and ntp: Fatal: Time just moved backwards

2009-06-06 Thread Arno Wald
Hallo, I am running dovecot on a PC (a workstation) to have a mail client independent storage for my mails. Now I would like to have the system clock set correctly by using ntpd or ntpdate (using debian/sid). The problem is, that the PC is not online at boot time, but is set online on demand

[Dovecot] LAYOUT=fs vs LAYOUT=maildir++ and quota

2009-06-06 Thread Ezequiel Alfíe
Hi everyone. I'm confused about LAYOUT=fs... Does using LAYOUT=fs breaks maildir++ quota, if I use this quota scheme? What are the advantages anyway of using LAYOUT=fs vs LAYOUT=maildir++ ? (it's not important in my case if users can't create folders with dots '.') Thanks in advance, Ezequiel

[Dovecot] shared folders in v1.2 with one uid per user

2009-06-06 Thread Ezequiel Alfíe
Hello everyone. I'm new to dovecot and I'm setting up a server for one domain only. I have not yet decided whether I will be using one uid per user or one uid for all of them. What are the steps for correctly setting up shared folders with acls if I choose one uid per user? What advantages or di

Re: [Dovecot] Password environment variable - logging the password

2009-06-06 Thread Timo Sirainen
On Jun 6, 2009, at 5:19 AM, Donovan Craig wrote: I’m using the mysql userdb, but the passwords are stored in MD5. I want to be able to get the password within the post login script, not from the log file. Is there any way to do this? user_query = SELECT '%w' as plain_pass, ... then it sh

[Dovecot] 1.2rc5 Panic: file virtual-sync.c

2009-06-06 Thread e-frog
mail.log: Jun 6 14:40:19 server dovecot: IMAP(user): Panic: file virtual-sync.c: line 502 (virtual_sync_mailbox_box_remove): assertion failed: (rec_count >= uid_count) Jun 6 14:40:19 server dovecot: IMAP(user): Raw backtrace: imap [0x80f0d21] -> imap [0x80f0da2] -> imap [0x80f0

[Dovecot] expire-tool --test: timestamps

2009-06-06 Thread e-frog
$ /usr/sbin/dovecot --exec-mail ext expire-tool --test Info: Trash: timestamp 1243963680 (Tue Jun 2 19:28:00 2009 ) -> 1244307774 (Tue Jun 2 19:28:00 2009 ) Both human readable timestamps are equal as ctime() returns a pointer to a static buffer. In addition there are some newline characters ad

Re: [Dovecot] Password environment variable - logging the password

2009-06-06 Thread Donovan Craig
> look at the setting: > > # In case of password mismatches, log the passwords and used scheme so the # problem can be debugged. Requires auth_debug=yes to be set. > #auth_debug_passwords = no Thanks for your replies so far. As mentioned, I¹d like to be able to log the username and password in pl