Re: [Dovecot] ntp revisited (so what to do ?)

2011-05-09 Thread Per Jessen
Stan Hoeppner wrote: On 5/8/2011 5:07 AM, Spyros Tsiolis wrote: OK, So what you people say is : 1. Run ntpdate during startup only once 2. After that, keep time with ntpd Right ? When running ntpd don't run ntpdate at startup, or any time. Use one or the other, not both (if you

Re: [Dovecot] ntp revisited (so what to do ?)

2011-05-09 Thread Per Jessen
Stan Hoeppner wrote: On 5/8/2011 7:36 AM, Jose Celestino wrote: On Dom, 2011-05-08 at 11:07 +0100, Spyros Tsiolis wrote: OK, So what you people say is : 1. Run ntpdate during startup only once 2. After that, keep time with ntpd Right ? Right, that ensures that time is correct

[Dovecot] dovecot user lost entire folder

2011-05-09 Thread Spyros Tsiolis
Hello kind people, OK, today is a bad day for me. A user from a clients' site called early in the morning to inform me that she lost an entire folder on thunderbird with (naturally) important stuff in it. I am trying to find the lost folder, but there is nowhere to be found. Any ideas would

[Dovecot] Renaming maildir files, UIDs and mail clients

2011-05-09 Thread Helge Milde
Hi! First a little background: I'm thinking of compressing my Maildir's using dovecot's zlib support, and have run into a couple of problems. First of all, my files use the following formats: 1. 1260386673.02.mbox:2,S 2. 1304920966.M241434P17342.mail,W=3152:2,S As you can see, both lack

[Dovecot] Fwd: Saving mails to +detail failed: Namespace error

2011-05-09 Thread Peer Heinlein
Hi! Since our mails aren't saved correctly since we updated to 2.xx I'd really appreciate some help. What's going wrong? My mistake? Bug? Peer -- Weitergeleitete Nachricht -- Betreff: [Dovecot] Saving mails to +detail failed: Namespace error Datum: Dienstag, 3. Mai 2011,

Re: [Dovecot] dovecot user lost entire folder

2011-05-09 Thread Thomas Leuxner
On Mon, May 09, 2011 at 08:31:18AM +0100, Spyros Tsiolis wrote: mail_location: maildir:/var/MailRoot/domains/%d/%n/Maildir Did you verify in the Maildir structure for that user? Maildir/.folder Maildir/.folder.subfolder http://wiki.dovecot.org/MailLocation/Maildir Regards Thomas

Re: [Dovecot] ntp revisited (so what to do ?)

2011-05-09 Thread Per Jessen
Stan Hoeppner wrote: On 5/9/2011 1:31 AM, Per Jessen wrote: Stan Hoeppner wrote: This is not correct. You're assuming that ntpd doesn't perform sanity checks on the system time when the daemon starts, which is not the case. The sanity check may be disabled with -g in which case using

Re: [Dovecot] ntp revisited (so what to do ?)

2011-05-09 Thread Per Jessen
Luigi Rosa wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Harlan Stenn said the following on 08/05/11 21:58: - Start ntd as early as possible - - ntpd -g ... is better than ntpdate ... ; ntpd ... - Wait before starting time-sensitive services - - As last as possible in the boot

Re: [Dovecot] dovecot user lost entire folder

2011-05-09 Thread Spyros Tsiolis
--- On Mon, 9/5/11, Thomas Leuxner t...@leuxner.net wrote: From: Thomas Leuxner t...@leuxner.net Subject: Re: [Dovecot] dovecot user lost entire folder To: dovecot@dovecot.org Date: Monday, 9 May, 2011, 11:03 On Mon, May 09, 2011 at 08:31:18AM +0100, Spyros Tsiolis wrote: mail_location:

Re: [Dovecot] ntp revisited (so what to do ?)

2011-05-09 Thread Harlan Stenn
Per wrote: Sure, I meant 'ntpd -q'. What benefit do you see in running something to set the time and exit before starting ntpd instead of just starting ntpd with -g? H

Re: [Dovecot] ntp revisited (so what to do ?)

2011-05-09 Thread Harlan Stenn
Per wrote: Luigi Rosa wrote: Harlan Stenn said the following on 08/05/11 21:58: - Start ntd as early as possible - - ntpd -g ... is better than ntpdate ... ; ntpd ... - Wait before starting time-sensitive services - - As last as possible in the boot sequence, run 'ntp-wait -v', and

Re: [Dovecot] ntp revisited (so what to do ?)

2011-05-09 Thread Per Jessen
Harlan Stenn wrote: Per wrote: Sure, I meant 'ntpd -q'. What benefit do you see in running something to set the time and exit before starting ntpd instead of just starting ntpd with -g? H None, it is just what is in the standard init-script in openSUSE. /Per Jessen, Zürich

Re: [Dovecot] dovecot user lost entire folder

2011-05-09 Thread Thomas Leuxner
On Mon, May 09, 2011 at 09:44:46AM +0100, Spyros Tsiolis wrote: I checked all the hidden files underneath maildir:/var/MailRoot/domains/%d/%n/Maildir and coudn't find this specific folder. Hi Spyros, do you happen to have a backup of the Maildir structure? You could simply restore the

Re: [Dovecot] dovecot user lost entire folder

2011-05-09 Thread Maarten Bezemer
Hi, On Mon, 9 May 2011, Spyros Tsiolis wrote: I checked all the hidden files underneath maildir:/var/MailRoot/domains/%d/%n/Maildir and coudn't find this specific folder. Checking for specific emails could help. On the other hand, having backups handy would be nice. That would not only be

Re: [Dovecot] dovecot user lost entire folder

2011-05-09 Thread Spyros Tsiolis
--- On Mon, 9/5/11, Maarten Bezemer mcbdove...@robuust.nl wrote: From: Maarten Bezemer mcbdove...@robuust.nl Subject: Re: [Dovecot] dovecot user lost entire folder To: Spyros Tsiolis sts...@yahoo.co.uk Cc: Thomas Leuxner t...@leuxner.net, Dovecot dovecot@dovecot.org Date: Monday, 9 May,

Re: [Dovecot] dovecot user lost entire folder

2011-05-09 Thread Spyros Tsiolis
--- On Mon, 9/5/11, Thomas Leuxner t...@leuxner.net wrote: From: Thomas Leuxner t...@leuxner.net Subject: Re: [Dovecot] dovecot user lost entire folder To: dovecot@dovecot.org Date: Monday, 9 May, 2011, 11:55 On Mon, May 09, 2011 at 09:44:46AM +0100, Spyros Tsiolis wrote: I checked all

Re: [Dovecot] how to cat / grep from dbox files

2011-05-09 Thread Sarder Kamal
Dear Timo On 05/05/2011 17:18, Timo Sirainen wrote: On 5.5.2011, at 18.05, Sarder Kamal wrote:man doveadm-fetch man doveadm-search-query example: doveadm fetch -u user 'uid text' mailbox INBOX body hello world Thanks for the pointers. As I mentioned earlier, too new into dovecot and still

Re: [Dovecot] sieve filters not being invoked

2011-05-09 Thread Stephan Bosch
Op 8-5-2011 11:56, Colin Brace schreef: Hi all, Similar to someone who posted here yesterday, I am having trouble getting sieve filters working. I have installed pigeonhole. I can create, edit, and save scripts from both the Thunderbird sieve extension as well as the Roundcube sieve plugin via

Re: [Dovecot] Delete unused IMAP keywords from permanetflags

2011-05-09 Thread Ernesto Revilla Derksen
Hi 2011/5/6 Timo Sirainen t...@iki.fi On 6.5.2011, at 12.26, Ernesto Revilla Derksen wrote: I'm using dovecot 2.0.9. Is there already a way to remove unused IMAP keywords from a folder? I've thought about implementing it, but haven't yet. I thought that maybe it could remove them only

Re: [Dovecot] dovecot user lost entire folder

2011-05-09 Thread Thomas Leuxner
On Mon, May 09, 2011 at 10:02:06AM +0100, Spyros Tsiolis wrote: How exactly would I place an ACL ? Should I check the dovecot docs for this ? Following ACL should do the trick when placed in the folder: --- [Maildir/.folder/dovecot-acl] --- owner lrwspi This will allow adding new messages to

[Dovecot] Sieve auto_create mail_home

2011-05-09 Thread Maria Arrea
Hello In my setup I have the following in dovecot.conf (dovecot 2.0.12) mail_home = /buzones/mydomain/%2.26Hn/%2.200Hn/%n/home_usuario/ mail_location = mdbox:/buzones/my_domain/%2.26Hn/%2.200Hn/%n:INDEX=/indices_dovecot/indices/%2.26Hn/%2.200Hn/%n My problem is with the autocreation of

Re: [Dovecot] sieve filters not being invoked

2011-05-09 Thread Colin Brace
On Mon, 09 May 2011 11:14:44 +0200, Stephan Bosch wrote: Is your MTA storing messages using the Dovecot LDA (http://wiki2.dovecot.org/LDA [1]) ? Check that thoroughly. Enable mail_debug to get more verbose logs. To definitively check whether Sieve is working or not, you can invoke dovecot-lda

Re: [Dovecot] Sieve auto_create mail_home

2011-05-09 Thread fakessh
Le lundi 9 mai 2011 12:19, Maria Arrea a écrit : Hello In my setup I have the following in dovecot.conf (dovecot 2.0.12) mail_home = /buzones/mydomain/%2.26Hn/%2.200Hn/%n/home_usuario/ mail_location = mdbox:/buzones/my_domain/%2.26Hn/%2.200Hn/%n:INDEX=/indices_dovecot/indices

[Dovecot] Post-login scripting with mail_drop_priv_before_exec in dovecot2

2011-05-09 Thread Mark Zealey
Hi, I'm in the process of upgrading from dovecot v1.1 to dovecot 2. We fetch uid/gid user information from a database and also use post-login scripting with mail_drop_priv_before_exec = yes which means the postlogin script is executed with the permissions of the user we have found in the

[Dovecot] Dovecot Maildir ownership/permission problem

2011-05-09 Thread ikevinjp
Hi, I have successfully configured Dovecot+Postfix+SSL/TSL and it seems that everything is working except that I have a permission problem with the items under Maildir. When a mail is first delivered into a user, Postfix automatically creates the Maildir using the user's account and group. It

Re: [Dovecot] dovecot OCFS2 Cluster

2011-05-09 Thread Timo Sirainen
On Mon, 2011-04-25 at 19:02 +0200, Osvaldo Alvarez Pozo wrote: hi all We have an ocfs2 cluster compose of 4 Debian lenny serveurs wich have access to an ISCSI LUN we have create a partition on this Lun and formated this partition as OCFS2. 2 serveurs does mail delivery (SMTP) and the two

Re: [Dovecot] alpine + Maildir

2011-05-09 Thread upen
On Mon, May 9, 2011 at 10:01 AM, upen upendra.gan...@gmail.com wrote: This is what I am doing right now. http://www.asheesh.org/note/sysop/passwordless-alpine.html says a little more. I strongly recommend this. In fact, I think I should someday talk to the re-alpine team and figure out how

Re: [Dovecot] alpine + Maildir

2011-05-09 Thread upen
On Mon, May 9, 2011 at 10:16 AM, upen upendra.gan...@gmail.com wrote: What you are probably looking for is in the alpine configuration (setup - configure) the 'Hide Empty Directories' option which you have to turn on. It corresponds to the 'quell-empty-directory' in pinerc Hope it helps.

Re: [Dovecot] NONEXISTENT handling

2011-05-09 Thread Timo Sirainen
On Fri, 2011-04-22 at 10:44 -0600, Michael M Slusarz wrote: As of 2.0.12, looks like NONEXISTENT response code isn't working properly again. Fixed: http://hg.dovecot.org/dovecot-2.0/rev/6790433a1e77

Re: [Dovecot] doveadm mailbox status 2.0.12 crashes

2011-05-09 Thread Timo Sirainen
On Sat, 2011-04-16 at 02:49 -0700, Joseph Tam wrote: My gdb won't cooperate and produce a backtrace so I hope this dbx stack trace gives sufficient clues as to why it crashed. It happended when I was testing a doveadm command for a user which a large collection of mboxs: .. # dbx

Re: [Dovecot] Corrupted index cache file

2011-05-09 Thread Timo Sirainen
On Fri, 2011-04-15 at 08:32 +0200, Frank Bonnet wrote: Apr 14 19:24:37 imap(xxx): Error: FETCH [] for mailbox Drafts (Hugues at ESIEE) UID 17836 got too little data: 16384 vs 18012 Apr 14 19:24:37 imap(xxx): Error: Corrupted index cache file

Re: [Dovecot] Corrupted index cache file

2011-05-09 Thread Maarten Bezemer
For what it's worth.. I've seen the FETCH error with got too little data also with Maildir setup. So, not only limited to mbox. This was quite some time ago with (I think) 1.0.15. Back then, I just removed the dovecot.index and cache files (leaving only the uidlist file) for that maildir

Re: [Dovecot] example-config mail_log plugin options

2011-05-09 Thread Timo Sirainen
On Fri, 2011-04-29 at 15:33 +0200, Lutz Preßler wrote: mail_log_group_events seems to be gone (when and why?). And it's now save instead of append, with mailbox_create also available. I remember answering to this mail, but I don't see the mail anywhere.. So maybe I didn't? Anyway: That

Re: [Dovecot] sieve filters not being invoked

2011-05-09 Thread Colin Brace
On Mon, 09 May 2011 13:00:45 +0200, Colin Brace wrote: In the dovecot-lda log, I am now seeing some action, but there is a permissions problem somewhere: May 09 12:43:13 lda: Debug: Loading modules from directory: /usr/local/lib/dovecot May 09 12:43:13 lda: Debug: Module loaded:

Re: [Dovecot] possible bug leading to lmtp crashes

2011-05-09 Thread Timo Sirainen
On Sat, 2011-04-30 at 10:56 -0600, Trever L. Adams wrote: On 04/26/2011 05:00 PM, Timo Sirainen wrote: On 26.4.2011, at 20.12, Trever L. Adams wrote: I am finding it interested that abrt seems to say that environment is empty/corrupted. I am attaching more backtraces to the Fedora bug

Re: [Dovecot] Restricting IMAP

2011-05-09 Thread Timo Sirainen
On Mon, 2011-05-02 at 10:11 -0500, Matt wrote: I want to restrict IMAP use too 127.0.0.1 and to only certain usernames. Such as f...@my777domain.com would be allowed to use IMAP. How would I do that with Dovecot or can I? Basically I want webmail to work with IMAP regardless of username but

Re: [Dovecot] Saving mails to +detail failed: Namespace error

2011-05-09 Thread Timo Sirainen
On Tue, 2011-05-03 at 12:50 +0200, Peer Heinlein wrote: lmtp_save_to_detail_mailbox = yes .. May 3 12:40:06 dobby2 dovecot: lmtp(6537, p.heinl...@jpberlin.de): Pg/fKrHav02JGQAAir+T1Q: msgid=201105031239.40804.p.heinlein@heinlein- support.de: save failed to Cong: Unknown namespace For

Re: [Dovecot] Spelling error in #define ?

2011-05-09 Thread Timo Sirainen
On Tue, 2011-05-03 at 15:19 +0200, Peter Mogensen wrote: Hi, I stumbled over this define in lazy-expunge-plugin.h: #ifndef LAZY_EXPUNGE_PLUGIN_H #define TLAZY_EXPUNGE_PLUGIN_H Isn't there a T too much? Yep, thanks :) It didn't really matter here though. Fixed anyway now in hg.

Re: [Dovecot] mbox/maildir mixed setup with system/virtual mixed users

2011-05-09 Thread Timo Sirainen
On Tue, 2011-05-03 at 15:40 +0300, Victor TARHON-ONU wrote: ...And mailbox and folder location settings: userdb static { args = uid=mail gid=mail home=/var/spool/vmail/%d/mail/%n mail=mbox:/var/spool/vmail/%d/imap/%n:INBOX=mbox:/var/spool/vmail/%d/mail/%n There's no mbox:

Re: [Dovecot] sieve filters not being invoked

2011-05-09 Thread Timo Sirainen
On Mon, 2011-05-09 at 13:00 +0200, Colin Brace wrote: dovecot unix - n n - - pipe flags=DRhu user=vmail:mail argv=/usr/local/libexec/dovecot/deliver -d ${recipient} You're running deliver as vmail user. May 09 12:43:13 lda: Error: userdb lookup:

Re: [Dovecot] sieve filters not being invoked

2011-05-09 Thread Timo Sirainen
On Mon, 2011-05-09 at 17:56 +0200, Colin Brace wrote: sending myself a message; however it gets bounced: user unknown (/var/log/maillog): Set auth_debug=yes and see what Dovecot's logs say then.

Re: [Dovecot] Posfix and Dovecot (dovecot like LDA) and no space left on the disk

2011-05-09 Thread Timo Sirainen
On Mon, 2011-05-09 at 17:37 +0200, Petr Svacina wrote: If my server is out of space (disk full) and the postfix is LDA, the new messages a deffered or refused,so postfix send 450 to sender ... But When I use dovecot (1.2.16) like LDA, postfix accept message (even there is no space), forward

Re: [Dovecot] Post-login scripting with mail_drop_priv_before_exec in dovecot2

2011-05-09 Thread Timo Sirainen
On Mon, 2011-05-09 at 16:19 +0300, Mark Zealey wrote: I'm in the process of upgrading from dovecot v1.1 to dovecot 2. We fetch uid/gid user information from a database and also use post-login scripting with mail_drop_priv_before_exec = yes which means the postlogin script is executed with

Re: [Dovecot] Post-login scripting with mail_drop_priv_before_exec in dovecot2

2011-05-09 Thread Timo Sirainen
On Mon, 2011-05-09 at 19:45 +0300, Timo Sirainen wrote: On Mon, 2011-05-09 at 16:19 +0300, Mark Zealey wrote: I'm in the process of upgrading from dovecot v1.1 to dovecot 2. We fetch uid/gid user information from a database and also use post-login scripting with

Re: [Dovecot] DOVECOT v2.0.11 using SIEVE not working

2011-05-09 Thread Matt Mc Namara
Does anyone have any ideas? I've checked my sendmail.cf file which has the entry for dovecot-lda, I've even run it manually and it still does not move the email to the designated file. The logfile for debugging says it is running the dovecot-sieve script file. I'm trying to determine where to

Re: [Dovecot] DOVECOT v2.0.11 using SIEVE not working

2011-05-09 Thread Timo Sirainen
On Mon, 2011-05-09 at 13:28 -0400, Matt Mc Namara wrote: Does anyone have any ideas? I've checked my sendmail.cf file which has the entry for dovecot-lda, I've even run it manually and it still does not move the email to the designated file. The logfile for debugging says it is running the

Re: [Dovecot] mail_max_lock_timeout setup

2011-05-09 Thread Timo Sirainen
On Sun, 2011-05-08 at 15:17 +0200, Osvaldo Alvarez Pozo wrote: in wich section most mail_max_lock_timeout be set up? If you set it globally, it applies to all Dovecot services. If you put it inside some protocol {} section, it only applies to that specific service. So, depends on what you want

Re: [Dovecot] how to cat / grep from dbox files

2011-05-09 Thread Scott Silva
on 5/9/2011 2:13 AM Sarder Kamal spake the following: Dear Timo On 05/05/2011 17:18, Timo Sirainen wrote: On 5.5.2011, at 18.05, Sarder Kamal wrote:man doveadm-fetch man doveadm-search-query example: doveadm fetch -u user 'uid text' mailbox INBOX body hello world Thanks for the pointers.

Re: [Dovecot] Renaming maildir files, UIDs and mail clients

2011-05-09 Thread Timo Sirainen
On Mon, 2011-05-09 at 09:44 +0200, Helge Milde wrote: Now for my questions: 1. How crucial is it to have the S= in the basename when using zlib? The wiki page mentions quota problems, which we're not using, but also random failures... I'm not entirely sure if there is something in the code

Re: [Dovecot] how to cat / grep from dbox files

2011-05-09 Thread Timo Sirainen
On Mon, 2011-05-09 at 10:13 +0100, Sarder Kamal wrote: please tell me which configuration settings do I need to change to make the storage non-compressed -- i.e., old style Maildir format? For new mails there is plugin { zlib_save } setting. For old mails you'd need to uncompress them

Re: [Dovecot] DOVECOT v2.0.11 using SIEVE not working

2011-05-09 Thread Matt Mc Namara
This is what I see via the debug.log file. May 09 08:27:48 managesieve(mmcnamar): Debug: Effective uid=500, gid=500, home=/home/mmcnamar May 09 08:27:48 managesieve(mmcnamar): Debug: fs: root=/home/mmcnamar/mail, index=, control=, inbox=/var/mail/mmcnamar May 09 08:27:48 managesieve(mmcnamar):

Re: [Dovecot] Posfix and Dovecot (dovecot like LDA) and no space left on the disk

2011-05-09 Thread Stan Hoeppner
On 5/9/2011 10:37 AM, Petr Svacina wrote: Hi, Please I have a question: If my server is out of space (disk full) and the postfix is LDA, the new messages a deffered or refused,so postfix send 450 to sender ... But When I use dovecot (1.2.16) like LDA, postfix accept message (even there is

Re: [Dovecot] Posfix and Dovecot (dovecot like LDA) and no space left on the disk

2011-05-09 Thread Stephan Bosch
On 05/09/2011 05:37 PM, Petr Svacina wrote: Hi, Please I have a question: If my server is out of space (disk full) and the postfix is LDA, the new messages a deffered or refused,so postfix send 450 to sender ... But When I use dovecot (1.2.16) like LDA, postfix accept message (even

Re: [Dovecot] compressed mboxes very slow

2011-05-09 Thread Kamil Jońca
Stan Hoeppner s...@hardwarefreak.com writes: On 5/8/2011 5:21 AM, Kamil Jońca wrote: Stan Hoeppners...@hardwarefreak.com writes: On 5/6/2011 3:07 PM, Kamil Jońca wrote: I have some archive mails in gzipped mboxes. I could use them with dovecot 1.x without problems. But recently I have

Re: [Dovecot] mail_max_lock_timeout setup

2011-05-09 Thread Osvaldo Alvarez Pozo
Hi. Ok. I intend to use it with OCFS2 storage. So, that would do the trick: protocol lmtp { mail_max_lock_timeout = 50 postmaster_address = ad...@example.com } thank a lot 2011/5/9 Timo Sirainen t...@iki.fi: On Sun, 2011-05-08 at 15:17 +0200, Osvaldo Alvarez Pozo wrote: in wich section

Re: [Dovecot] doveadm mailbox status 2.0.12 crashes

2011-05-09 Thread Joseph Tam
On Mon, 9 May 2011, Timo Sirainen wrote: # dbx doveadm (dbx) run mailbox status -u user messages \* ... long list ... igel messages=1 INBOX messages=231 doveadm(user): Panic: Trying to deinit storage before freeing its objects A backtrace can't

Re: [Dovecot] compressed mboxes very slow

2011-05-09 Thread Stan Hoeppner
On 5/9/2011 6:20 PM, Kamil Jońca wrote: 5. connect with mutt and select one of gzipped folders 6. connect with fetchmail and select another gzipped folder (with the same contents as in 5) Does the problem occur with only one client, or are two or more clients required to reproduce the