[Dovecot] per user quota using LDAP entries

2007-05-21 Thread Kenneth Oncinian
Hi List, This is my first post to this list so please be gentle :-). First of all, kudos to the developers of dovecot! Im trying to implement quota, and I followed the instructions in the wiki. My problem is the quota specified per user is not being honored, only the global quota setting. I do

[Dovecot] mail_location %d expansion

2007-05-21 Thread Mark Par
hi, i'm trying to read the mails of virtual users by setting the value of mail_location to /mail/virtual/%d/%u/Maildir. however, the %d does not resolve to the domain. i am using ldap as my passdb and userdb. what am i missing here? using this telnet session, | $ telnet localhost imap |

Re: [Dovecot] No authentication sockets found

2007-05-21 Thread Timo Sirainen
On Mon, 2007-05-21 at 12:10 +0300, funkypunky drunky wrote: Hi stewart i can see these errors in my log if i try to start dovecot while dovecot is working. .. May 21 11:59:39 mailtest mail:err|error dovecot: imap-login: No authentication sockets found This should have been fixed already:

Re: [Dovecot] mail_location %d expansion

2007-05-21 Thread Justin McAleer
Mark Par wrote: hi, i'm trying to read the mails of virtual users by setting the value of mail_location to /mail/virtual/%d/%u/Maildir. however, the %d does not resolve to the domain. i am using ldap as my passdb and userdb. what am i missing here? | May 21 04:32:42 localhost dovecot:

[Dovecot] Updated v1.1 and summer plans

2007-05-21 Thread Timo Sirainen
Webmail.us will be sponsoring my Dovecot development for this summer. Other companies are also welcome to participate in the costs. Participation gets you: - listed in Credits in www.dovecot.org - listed in AUTHORS file - you can tell me how you want to use the feature and I'll make sure

Re: [Dovecot] Updated v1.1 and summer plans

2007-05-21 Thread Timo Sirainen
On Mon, 2007-05-21 at 16:02 +0300, Timo Sirainen wrote: - A combined LIST + STATUS command (or possibly NOTIFY extension? http://tools.ietf.org/html/draft-gulbrandsen-imap-notify-03) If anyone considered reading that, read a newer draft instead:

Re: [Dovecot] Conflict - Dovecot + Maildrop (maildirsize)

2007-05-21 Thread Roberto Gonzalez Azevedo
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Excuse me for my last errors. I'll show you now what really happen. User 'x' has 180S (1,7 MB) in courier's pattern Here's the 'maildirsize', using courier-imap: ' 180S 395196 21 30731 ' Thunderbird says:

Re: [Dovecot] No authentication sockets found

2007-05-21 Thread Stewart Dean
AIX has a similar command istat, I have created a script to run and store it every 5 minutes and send me a text msg if the problem shows up... Timo Sirainen wrote: On Fri, 2007-05-18 at 15:23 -0400, Stewart Dean wrote: 3) What can I do to debug it, given that it happens

Re: [Dovecot] LDAP for Virtual Domains

2007-05-21 Thread Daniel L. Miller
Bryan Vyhmeister wrote: On May 18, 2007, at 11:33 PM, Daniel L. Miller wrote: Thank you for that info. Do you mind posting the relevant portions of your Postfix config? main.cf: virtual_mailbox_base = /var/mail virtual_mailbox_domains = all your external / internal domains here

[Dovecot] need some help please

2007-05-21 Thread Paul A
We currently had dovecote 99 running and ran into some issues with it, mainly our pop3 sessions timeout and were slow. I upgraded to the latest version and im serving imap with pop3 using pam. Heres my pam file: [EMAIL PROTECTED] etc]# cat /etc/pam.d/dovecot #%PAM-1.0 authrequired

Re: [Dovecot] dovecot.org moves to a new server

2007-05-21 Thread Geert Hendrickx
On Sun, May 20, 2007 at 02:19:15PM -0700, Bill Landry wrote: Timo Sirainen wrote the following on 5/20/2007 1:45 PM -0800: On Sun, 2007-05-20 at 22:53 +0300, Timo Sirainen wrote: So, beginning the move by shutting down Postfix and Mailman.. Wonder if it's working. Wonder what

[Dovecot] May 21 09:13:14 mail dovecot: imap-login: No authentication sockets found

2007-05-21 Thread dhottinger
I started getting this message this morning: May 21 09:13:14 mail dovecot: imap-login: No authentication sockets found Ive been runing dovecot on a fc6 dell poweredge 2950 for about 4 weeks now with no issues. Im authenticating against openldap 2.3.27. It appears ok. I restarted ldap,

Re: [Dovecot] Conflict - Dovecot + Maildrop (maildirsize)

2007-05-21 Thread Roberto Gonzalez Azevedo
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Sorry for bothering you ... :( Now it's working. It was so simple that i couldn't believe ... sorry ;) Thanks - Roberto Gonzalez Azevedo Timo Sirainen wrote: On Mon, 2007-05-21 at 10:54 -0300, Roberto Gonzalez Azevedo

Re: [Dovecot] May 21 09:13:14 mail dovecot: imap-login: No authentication sockets found

2007-05-21 Thread Timo Sirainen
On Mon, 2007-05-21 at 09:21 -0400, [EMAIL PROTECTED] wrote: I started getting this message this morning: May 21 09:13:14 mail dovecot: imap-login: No authentication sockets found Ive been runing dovecot on a fc6 dell poweredge 2950 for about 4 weeks now with no issues. Im authenticating

Re: [Dovecot] Conflict - Dovecot + Maildrop (maildirsize)

2007-05-21 Thread Kenny Dail
As I said in my original mail, this is simply a configuration issue: Looks like you're trying to tell the quota in bytes to Dovecot. Dovecot wants it to be in kilobytes in its configuration file / userdb (it still writes it in bytes to maildirsize, as you can see above it writes 1GB * 1024

Re: [Dovecot] Replication plans

2007-05-21 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 17 May 2007, Timo Sirainen wrote: Hello, OpenLDAP uses another strategy, which is more robust aka needs less fragile interaction between the servers. OpenLDAP stores any transaction into a replication log file, after it has been

Re: [Dovecot] Conflict - Dovecot + Maildrop (maildirsize)

2007-05-21 Thread Timo Sirainen
On Mon, 2007-05-21 at 13:58 -0600, Kenny Dail wrote: As I said in my original mail, this is simply a configuration issue: Looks like you're trying to tell the quota in bytes to Dovecot. Dovecot wants it to be in kilobytes in its configuration file / userdb (it still writes it in bytes

Re: [Dovecot] May 21 09:13:14 mail dovecot: imap-login: No authentication sockets found

2007-05-21 Thread Charles Marcus
Ive been runing dovecot on a fc6 dell poweredge 2950 for about 4 weeks now with no issues. Im authenticating against openldap 2.3.27. It appears ok. I restarted ldap, and dovecot, and everything looked fine for a few minutes, then this started again. I have around 720 users. Is there a

Re: [Dovecot] Replication plans

2007-05-21 Thread Francisco Reyes
Troy Benjegerdes writes: But that's currently not *really* replicated. The real question I guess is why not use a cluster/distributed/san filesystem like AFS, GFS, Because those distribute filesystems may be more difficult to setup, more difficult to maintain and may be less portable than a

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

2007-05-21 Thread Francisco Reyes
Timo Sirainen writes: 1) Split the config files, so the less used settings are separate files I think that would be good. Specially if you could have a tool chain that would produce both files from one source. 2) Remove some of the settings completely from dovecot-example.conf, although

Re: [Dovecot] Replication plans

2007-05-21 Thread Francisco Reyes
Timo Sirainen writes: Then there are also people who would want to run Dovecot on their laptop and have it synchronize with the main server whenever network connection is available. YES! I had not thought of that, but that would be killer.. although that would be multi-master which I think

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

2007-05-21 Thread Francisco Reyes
Timo Sirainen writes: actually giving useful error messages. Often the admin is only looking at the log file where info messages go (eg mail.log) because Dovecot logs its startup message and login messages there, but not where the errors go (eg mail.err). This has happened even with people who

Re: [Dovecot] Replication plans

2007-05-21 Thread Francisco Reyes
Timo Sirainen writes: Master keeps all the changes in memory until slave has replied that it has committed the changes. If the memory buffer gets too large (1MB?) Does this mean that in case of a crash all that would be lost? I think the cache should be smaller. because the slave is

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

2007-05-21 Thread Francisco Reyes
Joseba Torre writes: there's no easy way to get rid of newbie problems: right now dovecot is quite a complex software I tried Cyrus once, and have been working with Courier for nearly 2 years before I tried Dovecot. In my opinion Dovecot is much simpler than Cyrus, but perhaps more complex

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

2007-05-21 Thread Francisco Reyes
Timo Sirainen writes: Set pop3_uidl_format setting in config file pop3_uidl_format setting is missing from config file Set pop3_uidl_format in config file How about: You have choosen to run POP3. The setting pop3_uidl_format needs to be set in the dovecot.conf file for the POP3 server to

Re: [Dovecot] May 21 09:13:14 mail dovecot: imap-login: No authentication sockets found

2007-05-21 Thread Troy Engel
[EMAIL PROTECTED] wrote: Ive been runing dovecot on a fc6 dell poweredge 2950 for about 4 weeks now with no issues. Im authenticating against openldap 2.3.27. It appears ok. I restarted ldap, and dovecot, and everything looked fine As Timo mentioned, it sounds like the auth socket is

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

2007-05-21 Thread Timo Sirainen
On Sun, 2007-05-20 at 20:35 -0400, Francisco Reyes wrote: Timo Sirainen writes: 1) Split the config files, so the less used settings are separate files I think that would be good. Specially if you could have a tool chain that would produce both files from one source. Is there a need to

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

2007-05-21 Thread Timo Sirainen
On Sun, 2007-05-20 at 20:15 -0400, Francisco Reyes wrote: I think mail.info may be a better choice, although this may be somewhat OS dependant. Many people may not even know where their syslog configuration file is or even how to configure it. Because of this whatever is the most commonly

Re: [Dovecot] May 21 09:13:14 mail dovecot: imap-login: No authentication sockets found

2007-05-21 Thread Timo Sirainen
On Mon, 2007-05-21 at 14:37 -0700, Troy Engel wrote: [EMAIL PROTECTED] wrote: Ive been runing dovecot on a fc6 dell poweredge 2950 for about 4 weeks now with no issues. Im authenticating against openldap 2.3.27. It appears ok. I restarted ldap, and dovecot, and everything looked

Re: [Dovecot] May 21 09:13:14 mail dovecot: imap-login: No authentication sockets found

2007-05-21 Thread Troy Engel
Timo Sirainen wrote: As Timo mentioned, it sounds like the auth socket is being deleted because it's in a place that the 'tmpwatch' tool will clean out; Does some system really do this? I'd think it would break other software as well. I see at least that I have /var/run/mysqld/mysqld.sock

Re: [Dovecot] May 21 09:13:14 mail dovecot: imap-login: No authentication sockets found

2007-05-21 Thread Troy Engel
[EMAIL PROTECTED] wrote: Ive been runing dovecot on a fc6 dell poweredge 2950 for about 4 weeks now with no issues. Im authenticating against openldap 2.3.27. It appears ok. I restarted ldap, and dovecot, and everything looked fine login_dir: /var/run/dovecot/login auth default:

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

2007-05-21 Thread Timo Sirainen
On Tue, 2007-05-22 at 02:10 +0300, Timo Sirainen wrote: On Sun, 2007-05-20 at 20:21 -0400, Francisco Reyes wrote: Timo Sirainen writes: Set pop3_uidl_format setting in config file pop3_uidl_format setting is missing from config file Set pop3_uidl_format in config file How

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

2007-05-21 Thread Francisco Reyes
Timo Sirainen writes: # dovecot Error: POP3 enabled but pop3_uidl_format not set And don't let Dovecot come up?

Re: [Dovecot] Replication plans

2007-05-21 Thread Francisco Reyes
Timo Sirainen writes: Why not go with a pure log replication scheme? this way you basically have 3 processes. 1- The normal, currently existing programs. Add logs to the process 2- A Master replication process which listens for clients requesting for info. 3- The slave processes that request

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

2007-05-21 Thread Francisco Reyes
Timo Sirainen writes: Is there a need to have both? I was thinking about just splitting the current dovecot-example.conf to example/*.conf or something I think this may be somewhat a matter of preference, but I would find it easier to have a simple file.. and a complete file. I would find it

Re: [Dovecot] May 21 09:13:14 mail dovecot: imap-login: No authentication sockets found

2007-05-21 Thread dhottinger
Quoting Troy Engel [EMAIL PROTECTED]: [EMAIL PROTECTED] wrote: Ive been runing dovecot on a fc6 dell poweredge 2950 for about 4 weeks now with no issues. Im authenticating against openldap 2.3.27. It appears ok. I restarted ldap, and dovecot, and everything looked fine

Re: [Dovecot] Something about IMAP log

2007-05-21 Thread Timo Sirainen
On 22.5.2007, at 3.58, Mu-Cheng Hsieh wrote: Is it possible to log something (e.g. delete or expunge) through IMAP? mail_log plugin logs each delete and expunge. http://wiki.dovecot.org/ Plugins/MailLog If you want it to log just a x messages expunged, you'll have to wait for Dovecot

Re: [Dovecot] LDAP for Virtual Domains

2007-05-21 Thread Marc Delling
20.05.2007 23:00 Bryan Vyhmeister: query_filter = ((mail=%s)) mailacceptinggeneralid=%s ist the default value for query_filter. maybe the -operator ANDs your expression to the default. anyway, if you just want to filter for the mail address, the - operator is unneccessary. try query_filter