Re: [Dovecot] deleted Messages don't go into Trash Folder always

2007-05-16 Thread Timo Sirainen
On Tue, 2007-05-15 at 19:49 +0200, Rainer Sigl wrote: Hi all, most of the time deleted messages aren't moved into trash folder but go into nirwana. Sometimes it works correctly. But a restart does not guarantee this function. This effect exists with different imap clients. Can anybody help

Re: [Dovecot] List problems?

2007-05-16 Thread Timo Sirainen
On Wed, 2007-05-16 at 07:14 -0400, Charles Marcus wrote: Hi Timo, Sorry to bother you, but I'm used to having at least 10-20 in the morning. This morning there are none... and the last one is from 3:00pm yesterday? The server was down last night for a while, and looks like rebooting

Re: [Dovecot] Getting rid of the common newbie problems

2007-05-16 Thread Joseba Torre
Hi, there's no easy way to get rid of newbie problems: right now dovecot is quite a complex software, so configuration is complex. Even more, all the userdb/passdb thing is really powerfull, but also a bit diferent of anything I was used to, so it's normal that people is a bit confused in the

Re: [Dovecot] dbox redesign

2007-05-16 Thread Bill Boebel
On Sat, May 12, 2007 9:10 am, Timo Sirainen [EMAIL PROTECTED] said: Fast copying Would be nice if copying a message from one mailbox to another wouldn't require actually reading+writing the whole message contents. But I can't really figure out how to implement this without

Re: [Dovecot] Getting rid of the common newbie problems

2007-05-16 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 15 May 2007, Timo Sirainen wrote: * Logging Logging to eg. /var/log/dovecot.log by default would be helpful here, Personally, I found logging to a separate file helpful during setting up Dovecot, because you can focus on Dovecot that

Re: [Dovecot] deleted Messages don't go into Trash Folder always

2007-05-16 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 15 May 2007, Rainer Sigl wrote: most of the time deleted messages aren't moved into trash folder but go into nirwana. Sometimes it works correctly. But a restart does not guarantee this function. This effect exists with different imap

Re: [Dovecot] Getting rid of the common newbie problems

2007-05-16 Thread Charles Marcus
On 5/16/2007 Joseba Torre ([EMAIL PROTECTED]) wrote: For me, the easier solution would be an entry in the wiki with well documented common configs: - system users (using pam/passwd) - ldap (with a common conf) - mysql - postgresql I agree completely... also, explanations for what is required

[Dovecot] Dovecot DELIVER

2007-05-16 Thread Bruce Bodger
Tried today to use Dovecot's DELIVER LDA. I'm running Postfix 2.1.5. I simply added the line... mailbox_command = /usr/local/libexec/dovecot/deliver to main.cf and made no other changes. First email resulted in this in mail.log: May 16 06:29:56 G518X2 deliver(bb): open(/var/mail/bb.lock)

Re: [Dovecot] dbox redesign

2007-05-16 Thread Timo Sirainen
On Wed, 2007-05-16 at 06:40 -0400, Bill Boebel wrote: Although one possibility would be treat mailboxes a bit similarly than keywords. So that when a message is copied to another mailbox, the message in dbox file is updated to contain information that it exists in such and such mailboxes.

Re: [Dovecot] dbox redesign

2007-05-16 Thread Charles Marcus
Would be nice if copying a message from one mailbox to another wouldn't require actually reading+writing the whole message contents. But I can't really figure out how to implement this without requiring that there is only a single dbox storage which contains the mails for all the mailboxes, and

Re: [Dovecot] Dovecot DELIVER

2007-05-16 Thread Timo Sirainen
On Wed, 2007-05-16 at 06:58 -0400, Bruce Bodger wrote: May 16 06:29:56 G518X2 deliver(bb): file_lock_dotlock() failed with mbox file /var/mail/bb: Permission denied See http://wiki.dovecot.org/MailLocation/Mbox#dotlocks signature.asc Description: This is a digitally signed message part

Re: [Dovecot] Dovecot DELIVER

2007-05-16 Thread Timo Sirainen
On Wed, 2007-05-16 at 14:53 +0300, Timo Sirainen wrote: On Wed, 2007-05-16 at 06:58 -0400, Bruce Bodger wrote: May 16 06:29:56 G518X2 deliver(bb): file_lock_dotlock() failed with mbox file /var/mail/bb: Permission denied See http://wiki.dovecot.org/MailLocation/Mbox#dotlocks Hmm.

Re: [Dovecot] Login with firstname.lastname instead of loginname

2007-05-16 Thread Timo Sirainen
On Wed, 2007-05-16 at 11:26 +0200, Ralf Hildebrandt wrote: Some of our users use to login as firstname.lastname or [EMAIL PROTECTED] instead of using the correct flastname login name. In order to get this behaviour a long-gone co-worker wrote an authdaemon.pl, which speaks the

Re: [Dovecot] Getting rid of the common newbie problems

2007-05-16 Thread Udo Rader
Am Dienstag, den 15.05.2007, 19:40 +0300 schrieb Timo Sirainen: I think the most common Dovecot newbie problems are: - Not looking at the (correct) logs for errors - Authentication problems - Mail location problems - Mail permission problems Below are some of my ideas how I could

Re: [Dovecot] Dovecot DELIVER

2007-05-16 Thread Bruce Bodger
On May 16, 2007, at 7:53 AM, Timo Sirainen wrote: On Wed, 2007-05-16 at 06:58 -0400, Bruce Bodger wrote: May 16 06:29:56 G518X2 deliver(bb): file_lock_dotlock() failed with mbox file /var/mail/bb: Permission denied See http://wiki.dovecot.org/MailLocation/Mbox#dotlocks Thank you, Timo. I

Re: [Dovecot] imap-login: Disconnected: Connection queue full

2007-05-16 Thread Timo Sirainen
On Wed, 2007-05-16 at 12:42 +0200, Ralf Hildebrandt wrote: I'm getting imap-login: Disconnected: Connection queue full: messages like these: May 16 12:17:26 postamt dovecot: imap-login: Disconnected: Connection queue full: rip=160.45.172.202, lip=141.42.4.250 May 16 12:17:26 postamt

Re: [Dovecot] Dovecot DELIVER

2007-05-16 Thread Bruce Bodger
On May 16, 2007, at 7:58 AM, Timo Sirainen wrote: On Wed, 2007-05-16 at 14:53 +0300, Timo Sirainen wrote: On Wed, 2007-05-16 at 06:58 -0400, Bruce Bodger wrote: May 16 06:29:56 G518X2 deliver(bb): file_lock_dotlock() failed with mbox file /var/mail/bb: Permission denied See

Re: [Dovecot] imap-login: Disconnected: Connection queue full

2007-05-16 Thread Ralf Hildebrandt
* Timo Sirainen [EMAIL PROTECTED]: No. It means that it disconnected a client that wasn't yet logged in because login_max_connections was reached. It should happen only if login_max_processes_count was reached. Perhaps there's still a bug somewhere in there.. How many imap-login processes do

Re: [Dovecot] Getting rid of the common newbie problems

2007-05-16 Thread Timo Sirainen
On Wed, 2007-05-16 at 02:15 +0200, Udo Rader wrote: Getting people to actually read _and_ understand what a log message means is very difficult on a very psychological level :-) A good example would be this error that I've changed 2 times already: Set pop3_uidl_format setting in config file

Re: [Dovecot] Login with firstname.lastname instead of loginname

2007-05-16 Thread Timo Sirainen
On Wed, 2007-05-16 at 14:12 +0200, Ralf Hildebrandt wrote: * Timo Sirainen [EMAIL PROTECTED]: What passdb are you using? auth default: master_user_separator: * verbose: yes passdb: driver: passwd-file args: /usr/local/etc/dovecot.masterusers pass: yes master: yes

[Dovecot] Sorting by Received vs Sent

2007-05-16 Thread Bill Boebel
Looks like in Cyrus, sorting by Received date is faster than sorting by the Sent header date because of the way they use the index and cache files... http://www.emaildiscussions.com/showpost.php?p=419246 Is this the case in Dovecot as well? Bill

Re: [Dovecot] imap-login: Disconnected: Connection queue full

2007-05-16 Thread Timo Sirainen
On Wed, 2007-05-16 at 14:17 +0200, Ralf Hildebrandt wrote: * Timo Sirainen [EMAIL PROTECTED]: No. It means that it disconnected a client that wasn't yet logged in because login_max_connections was reached. It should happen only if login_max_processes_count was reached. Perhaps there's

Re: [Dovecot] deleted Messages don't go into Trash Folder always

2007-05-16 Thread Rainer Sigl
Many thanks, I'm afraid I have to update first. My kubuntu dapper installation has an older version of dovecot. Rainer Timo Sirainen schrieb: On Tue, 2007-05-15 at 19:49 +0200, Rainer Sigl wrote: Hi all, most of the time deleted messages aren't moved into trash folder but go into

Re: [Dovecot] Sorting by Received vs Sent

2007-05-16 Thread Timo Sirainen
On Wed, 2007-05-16 at 08:24 -0400, Bill Boebel wrote: Looks like in Cyrus, sorting by Received date is faster than sorting by the Sent header date because of the way they use the index and cache files... http://www.emaildiscussions.com/showpost.php?p=419246 Is this the case in Dovecot as

Re: [Dovecot] Login with firstname.lastname instead of loginname

2007-05-16 Thread Ralf Hildebrandt
* Ralf Hildebrandt [EMAIL PROTECTED]: * Timo Sirainen [EMAIL PROTECTED]: What passdb are you using? auth default: master_user_separator: * verbose: yes passdb: driver: passwd-file args: /usr/local/etc/dovecot.masterusers pass: yes master: yes passdb: driver: shadow

Re: [Dovecot] dbox redesign

2007-05-16 Thread Timo Sirainen
On Wed, 2007-05-16 at 07:47 -0400, Charles Marcus wrote: Although one possibility would be treat mailboxes a bit similarly than keywords. So that when a message is copied to another mailbox, the message in dbox file is updated to contain information that it exists in such and such

Re: [Dovecot] Dovecot DELIVER

2007-05-16 Thread Bruce Bodger
On May 16, 2007, at 8:24 AM, Timo Sirainen wrote: On Wed, 2007-05-16 at 08:14 -0400, Bruce Bodger wrote: I set /var/mail to sticky... drwxrwxr-t 10 rootmail 340 May 16 08:11 mail You have to make it world-writable also. I'll update the wiki to mention that too. That may

Re: [Dovecot] Getting rid of the common newbie problems

2007-05-16 Thread Charles Marcus
I'm trying to get up to speed enough so that I am confident enough to answer more questions... I think that would help more than anything (people helping him out here on the list)... That, and, of course, adding more well written, targeted articles to the wiki... -- Best regards, Charles

Re: [Dovecot] Getting rid of the common newbie problems

2007-05-16 Thread Charles Marcus
On 5/16/2007 Timo Sirainen ([EMAIL PROTECTED]) wrote: Anyway, with all of these 3 messages people have still copypasted logs and asked How do I fix this? I just don't know how to make it any more clearer. I don't think you can... I really respect your desire to make things as easy/simple for

Re: [Dovecot] Getting rid of the common newbie problems

2007-05-16 Thread Charles Marcus
I see what you're getting at, but personally i really like having plenty of documentation in the config files. That way when you're editing the config file, you can know exactly what you're doing and have good descriptions right in front of you Of course this is no substitute for other

Re: [Dovecot] Maildir POP3 UID larger than next_uid bug

2007-05-16 Thread Timo Sirainen
On Mon, 2007-05-14 at 17:36 +0400, Alexander Moisseev wrote: POP3 client can't fetch second e-mail message from Maildir if first POP3 connect occurs before any message placed in Maildir. Thanks. Fixed: http://dovecot.org/list/dovecot-cvs/2007-May/008819.html signature.asc Description: This

Re: [Dovecot] index-related crash in dovecot 1.0.0

2007-05-16 Thread Timo Sirainen
On Wed, 2007-05-16 at 13:44 +0200, [EMAIL PROTECTED] wrote: dovecot: 2007-05-16 13:30:09 Error: IMAP(6126360): file index-mail-headers.c: line 260 (index_mail_parse_header): assertion failed: (part != NULL) I'm still not sure how you managed to cause this, but I think this will fix it:

Re: [Dovecot] Getting rid of the common newbie problems

2007-05-16 Thread Bruce Bodger
On May 16, 2007, at 9:29 AM, Charles Marcus wrote: I see what you're getting at, but personally i really like having plenty of documentation in the config files. That way when you're editing the config file, you can know exactly what you're doing and have good descriptions right in front

Re: [Dovecot] OS X Mail Administration

2007-05-16 Thread Scott Murman
I'd appreciate if you'd share with me the directory structure that you use, or would use in my situation. All mail storage will be on the server so disk space is not an issue. I'm a bit confused whether or not to keep the inbox separate from the other imap structure as is the OS X

Re: [Dovecot] OS X Mail Administration

2007-05-16 Thread Bruce Bodger
On May 16, 2007, at 11:27 AM, Timo Sirainen wrote: On Wed, 2007-05-16 at 10:41 -0400, Bruce Bodger wrote: I'd like to request some feed back from any OS X Mail Admins on the list, please. Set dotlock_use_excl=yes. Without it you can run into all kinds of trouble with HFS+. Got it!

[Dovecot] Digest settings

2007-05-16 Thread Kenny Dail
Timo, Wonder if you can tweak the digests to hold more messages? In 5 hours this morning, I've received 6 digests, seems a little excessive to me. -- Kenny Dail [EMAIL PROTECTED]

Re: [Dovecot] cyrus + cydir benchmarking

2007-05-16 Thread Timo Sirainen
On Wed, 2007-05-16 at 21:21 +0300, Timo Sirainen wrote: Dovecot CVS HEAD + cydir + fsync_disable=no: ./imaptest - append=100 seed=1 secs=30 msgs=100 logout=0 select=0 clients=100 Logi Appe 100% 100% 5% 100 35217 In the above tests the cache file wasn't updated at all, so

Re: [Dovecot] [Blasphemy] Can I build dovecot with -fstack-protector?

2007-05-16 Thread Timo Sirainen
On Wed, 2007-05-16 at 22:47 +0200, Ralf Hildebrandt wrote: I tried building dovecot using : CPPFLAGS=-fstack-protector LDFLAGS=-lssp ./configure That would result in a proper build, yet the binary would complain once being run: dlopen(/usr/local/lib/dovecot/imap/lib10_quota_plugin.so)

Re: [Dovecot] CONVERT Plugin

2007-05-16 Thread Timo Sirainen
On Wed, 2007-05-16 at 19:16 -0400, Bruce Bodger wrote: convert_mail = mbox:~/Library/Mail/IMAP/:INBOX=/var/mail/%u and mail_location = maildir:~/Maildir The IMAP directory was renamed to IMAP-converted after the process but the inbox (in /var/mail) does not get renamed. It's not

Re: [Dovecot] CONVERT Plugin

2007-05-16 Thread Bruce Bodger
On May 16, 2007, at 7:21 PM, Timo Sirainen wrote: It's not supposed to be renamed. The most important reason why the renaming is done at all is so that convert plugin doesn't try to convert the same mailboxes twice. It's enough to rename the mbox root directory for that. I think renaming