[Dovecot] LDAP as password database - some problems / suggestions

2010-02-18 Thread Stefan Palme
Hi all, Using dovecot-1.2.6, I use dovecot with an LDAP backend for user authentication. In general this works ok, but I have some issues with this... In LDAP, I have users like this: dn:cn=user1,ou=users,dc=kapott,dc=org dn:cn=user2,ou=users,dc=kapott,dc=org etc. When authenticating

Re: [Dovecot] revision control on maildir possible?

2010-02-18 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sun, 14 Feb 2010, Markus Beyer wrote: I was wondering if it is possible to put a dovecot managed maildir under a vcs like system, for example git or bzr. I'd like to have a seamless history of all mail going in and out of my mailboxes, so a vcs

Re: [Dovecot] LDAP as password database - some problems / suggestions

2010-02-18 Thread Oliver Eales
Stefan Palme schrieb: Hi all, Using dovecot-1.2.6, I use dovecot with an LDAP backend for user authentication. In general this works ok, but I have some issues with this... In LDAP, I have users like this: dn:cn=user1,ou=users,dc=kapott,dc=org dn:cn=user2,ou=users,dc=kapott,dc=org

Re: [Dovecot] Feature request? Make deliver quota inclusive!

2010-02-18 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sun, 14 Feb 2010, Joachim Boltz wrote: This is a important for me because sometimes users are lazy. They think oh, still 10% left, no reason to delete mail while in the meantime large messages are already bounced, while some small ones arrive in

Re: [Dovecot] LDAP as password database - some problems / suggestions

2010-02-18 Thread Stefan Palme
On 02/18/2010 09:45 AM, Oliver Eales wrote: Isn't it possible to just give the each allowed IMAP Users a attribute like imap=1 ? Yes, it would. But this would also require me to use PASSWORD LOOKUP (e.g. with a filter like '((objectclass=person)(imap=1))'), but I do not want to use password

Re: [Dovecot] LDAP as password database - some problems / suggestions

2010-02-18 Thread Marcio Merlone
Em 18/2/2010 06:19, Stefan Palme escreveu: In LDAP, I have users like this: dn:cn=user1,ou=users,dc=kapott,dc=org dn:cn=user2,ou=users,dc=kapott,dc=org etc. (...) My problem: not ALL users from the LDAP system should be allowed to use the IMAP server. Currently, I have defined an

[Dovecot] using signed certificates for TLS/SSL

2010-02-18 Thread Leonardo Rodrigues
Hi, I have, in one customer, a web server running on a Verisign-signed certificate SSL certificate. Everything works fine, IE and Firefox connects on https without asking anything, which usually happens on self-signed certificates. I'm trying to use that certificate on dovecot, but

Re: [Dovecot] using signed certificates for TLS/SSL

2010-02-18 Thread Arne K. Haaje
Torsdag 18 februar 2010 14:47:03 skrev Leonardo Rodrigues : Hi, I have, in one customer, a web server running on a Verisign-signed certificate SSL certificate. Everything works fine, IE and Firefox connects on https without asking anything, which usually happens on self-signed

Re: [Dovecot] using signed certificates for TLS/SSL

2010-02-18 Thread Leonardo Rodrigues
and another interesting information . Thunderbird claims the certificate is not valid, but Windows Mail accepts it without any warnings and works just fine. I've tested on a new machine just to make sure i havent previously accepted it on that machine/Windows Mail. another minor

Re: [Dovecot] Feature request? Make deliver quota inclusive!

2010-02-18 Thread Charles Marcus
On 2010-02-18 3:51 AM, Steffen Kaiser wrote: On Sun, 14 Feb 2010, Joachim Boltz wrote: This is a important for me because sometimes users are lazy. They think oh, still 10% left, no reason to delete mail while in the meantime large messages are already bounced, while some small ones arrive

Re: [Dovecot] using signed certificates for TLS/SSL

2010-02-18 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 18 Feb 2010, Arne K. Haaje wrote: I'm using the same certificate for dovecot and https. My settings in dovecot.conf are; ssl_cert_file = /etc/ssl/certs/hostname.pem ssl_key_file = /etc/ssl/private/hostname.key This part from the user

[Dovecot] Poll: Quota near full behavior? [Was: Feature request? Make deliver quota inclusive!]

2010-02-18 Thread Timo Sirainen
On Thu, 2010-02-18 at 09:05 -0500, Charles Marcus wrote: Personally I think the best way would be, if the user isn't over quota at the time of a message delivery, deliver that message, *regardless* of whether or not it puts the user over quota. Wonder if there's anyone who wouldn't want this

Re: [Dovecot] quota problem

2010-02-18 Thread Timo Sirainen
On Wed, 2010-02-17 at 15:26 +0100, Andre Hübner wrote: my user_query: user_query = SELECT home, uid, gid, concat('*:storage=', quota_bytes,'M') AS quota_rule FROM mail_users WHERE login = '%u' Do you really want quota_bytes number of megabytes? If not, change the ,'M' part to ,'B'.

Re: [Dovecot] Poll: Quota near full behavior? [Was: Feature request? Make deliver quota inclusive!]

2010-02-18 Thread Warren Baker
On 18 February 2010 16:20, Timo Sirainen t...@iki.fi wrote: Wonder if there's anyone who wouldn't want this behavior? One exception could be that if mail is larger than the user's entire quota limit, it wouldn't be accepted. And this would happen only for deliver/lmtp, not imap append

Re: [Dovecot] LDAP as password database - some problems / suggestions

2010-02-18 Thread Timo Sirainen
On Thu, 2010-02-18 at 09:19 +0100, Stefan Palme wrote: base=ou=groups,dc=kapott.org filter=((cn=dovecot)(member=cn=%u,ou=users,dc=kapott,dc=org)) result_attribute=member After finding a DN this way (via attribute member), I want to use auth_bind to use this DN for password

Re: [Dovecot] Poll: Quota near full behavior? [Was: Feature request? Make deliver quota inclusive!]

2010-02-18 Thread Timo Sirainen
On Thu, 2010-02-18 at 16:29 +0200, Warren Baker wrote: I am not sure how much work it would involve but I would prefer to have a config option to either disable or enable the behaviour. It's not about how much work adding that setting is. It's that I don't think there should be settings for

Re: [Dovecot] Poll: Quota near full behavior? [Was: Feature request? Make deliver quota inclusive!]

2010-02-18 Thread Sven Eulberg
On Thu, 2010-02-18 at 09:05 -0500, Charles Marcus wrote: Personally I think the best way would be, if the user isn't over quota at the time of a message delivery, deliver that message, *regardless* of whether or not it puts the user over quota. Wonder if there's anyone who wouldn't want

Re: [Dovecot] 2nd REPOST: mbox vs maildir

2010-02-18 Thread Timo Sirainen
On Wed, 2010-02-17 at 08:46 -0700, Ashley M. Kirchner wrote: namespace private { separator = / prefix = mail/ Things would probably be simpler if you used prefix= here. location = mbox:~/mail:INBOX=/var/mail/%u So you've mboxes.. namespace private { separator = /

Re: [Dovecot] Poll: Quota near full behavior? [Was: Feature request? Make deliver quota inclusive!]

2010-02-18 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 18 Feb 2010, Sven Eulberg wrote: Over quota is over quota... Perhaps it's better to drop a line in the user's inbox e.g. 'mail from m...@address.com rejected because there was not enough space in your inbox...' or something else. So both

Re: [Dovecot] Dovecot design-question

2010-02-18 Thread Timo Sirainen
On Wed, 2010-02-17 at 17:55 +0100, Werner wrote: 2010-02-17 17:52:21 deliver(wer...@example.com): Error: Corrupted transaction log file /mailhome/wernertest/dovecot.index.log seq 24: Invalid transaction log size (67988 vs 68080): /mailhome/wernertest/dovecot.index.log (sync_offset=67988)

Re: [Dovecot] Poll: Quota near full behavior? [Was: Feature request? Make deliver quota inclusive!]

2010-02-18 Thread Timo Sirainen
On Thu, 2010-02-18 at 15:57 +0100, Steffen Kaiser wrote: But I'd like the deliver a message if user is under quota and the message is smaller than quota. The current behavior? Is that what you really meant? Or an option deliver may exceed the quota by X, sort of like the quota_rules for

Re: [Dovecot] Courier-Dovecot Migration Issue

2010-02-18 Thread Timo Sirainen
On Wed, 2010-02-17 at 11:31 -0500, Tony Rutherford wrote: The last three entries exist in the Courier IMAP file, but NOT the Courier POP file. The resulting dovecot-uidlist format is different, but to be honest, I haven't been able to find the exact specification for the format of the

Re: [Dovecot] configuring overquota message

2010-02-18 Thread Timo Sirainen
On Tue, 2010-02-16 at 15:18 -0200, Leonardo Rodrigues wrote: but i havent found, in all the sources, where the QUOTA_EXCEEDED_MESSAGE is feeded by something from dovecot.conf or anywhere else. plugin { quota_exceeded_message = stuff } I guess I should put that somewhere..

Re: [Dovecot] Dovecot 1.2.8 problem on AIX

2010-02-18 Thread Timo Sirainen
On Tue, 2010-02-16 at 07:41 -0500, Jonathan Siegle wrote: Running revision 9492:3efdbaab2960(Mon Nov 23) on AIX 5.3. I run dovecot out of inetd. Every once in a while I get the following error: Dovecot is already running with PID 2592842 (read from

Re: [Dovecot] auth processes

2010-02-18 Thread Timo Sirainen
On Tue, 2010-02-16 at 08:16 -0600, Stan Hoeppner wrote: With 1.0.15 my configuration I a single dovecot-auth process, which is what I want now. Since upgrading to 1.2.10 I have two such processes: root 16992 16990 0 Feb15 ?00:00:00 dovecot-auth root 16997 16990 0 Feb15 ?

Re: [Dovecot] dovecot-sieve vacation vs qmail-ldap

2010-02-18 Thread Timo Sirainen
On Tue, 2010-02-16 at 13:34 +0100, Lazy wrote: lda is executed as exec /var/qmail/bin/preline -f /usr/local/dovecot/libexec/dovecot/deliver -s .. + /* if DTLINE (qmail Delivered-To: header) is not null use it as a destination address */ + if (destaddr == NULL) { +

Re: [Dovecot] Problem with allow_nets passdb parameter and Postfix

2010-02-18 Thread Timo Sirainen
On Mon, 2010-02-15 at 14:00 +0300, Неворотин Вадим wrote: allow_nets check failed: Remote IP not known Problem is clear: smtpd don't send client IP to dovecot authentication socket. Yep. The only way you can get Postfix to send IP to Dovecot is by patching Postfix sources. But I need to

Re: [Dovecot] Anyone successfully setup Continous Backup of mailboxes using rsync ?

2010-02-18 Thread Timo Sirainen
On Thu, 2010-02-11 at 10:46 +0500, CoolAtt NNA wrote: from the wiki of Lazy Expunge: The plugin is configured by defining namespaces where the mails are moved. You can decide if you want the namespaces to be visible to clients, or if you want to show them only via some special webmail

Re: [Dovecot] quick question

2010-02-18 Thread Timo Sirainen
On Wed, 2010-02-10 at 15:15 -0800, Brandon Davidson wrote: rip=67.223.67.45, pid=12881: Timeout while waiting for lock for transaction log file /home6/pellerin/.imapidx/.INBOX/dovecot.index.log That's fcntl lock I guess. You could always try lock_method=dotlock.. signature.asc Description:

Re: [Dovecot] dovecot v1.2.10 + unknown mail_uid parameter

2010-02-18 Thread Timo Sirainen
On Fri, 2010-02-12 at 13:04 -0200, maximatt wrote: in dovecot.conf, i set the user mail: mail_uid= 72940 mail_gid= 72941 but when i try to start dovecot i have the following error: # sbin/dovecot Error: Error in configuration file /etc/dovecot/etc/dovecot.conf line

Re: [Dovecot] Problem with allow_nets passdb parameter and Postfix

2010-02-18 Thread Неворотин Вадим
Well, I've asked this question in Postfix mail list and after discussion as I understand Postfix 2.7 send all necessary client information to Dovecot socket. But I haven't try this solution yet. 2010/2/18 Timo Sirainen t...@iki.fi On Mon, 2010-02-15 at 14:00 +0300, Неворотин Вадим wrote:

Re: [Dovecot] deliver problem ( Error: file_dotlock_create )

2010-02-18 Thread Timo Sirainen
On Fri, 2010-02-12 at 17:05 +0100, Frank Bonnet wrote: deliver(): Error: file_dotlock_create(/var/mail/) failed: Permission denied (euid=3003() egid=3010(smig) missing +w perm: /var/mail) (set mail_privileged_group=mail) Doea this means I have to chmod 777 the

Re: [Dovecot] Poll: Quota near full behavior? [Was: Feature request? Make deliver quota inclusive!]

2010-02-18 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 18 Feb 2010, Timo Sirainen wrote: On Thu, 2010-02-18 at 15:57 +0100, Steffen Kaiser wrote: But I'd like the deliver a message if user is under quota and the message is smaller than quota. The current behavior? Is that what you really

Re: [Dovecot] Problem with allow_nets passdb parameter and Postfix

2010-02-18 Thread Timo Sirainen
Oh. I actually checked v2.7 code before replying, but I was stupidly searching only for a full rip word, while the code had \trip :) On Thu, 2010-02-18 at 18:41 +0300, Неворотин Вадим wrote: Well, I've asked this question in Postfix mail list and after discussion as I understand Postfix 2.7

[Dovecot] OT: best linux imap client for dovecot

2010-02-18 Thread Axel Thimm
Hi, I'm a long term dovecot user, packager and believer, but on the other side of the wire I've been a mutt user for longer than I can think. Which modern email client under Linux is working best with dovecot? I just did a grep on User-Agent:/X-Mailer: on my dovecot archive (which goes back to

Re: [Dovecot] Poll: Quota near full behavior? [Was: Feature request? Make deliver quota inclusive!]

2010-02-18 Thread Charles Marcus
On 2010-02-18 9:57 AM, Steffen Kaiser wrote: But I'd like the deliver a message if user is under quota and the message is smaller than quota. Or an option deliver may exceed the quota by X, sort of like the quota_rules for Trash, but for the service. Possible not all scenarios can tweak a

Re: [Dovecot] OT: best linux imap client for dovecot

2010-02-18 Thread Timo Sirainen
On Thu, 2010-02-18 at 17:45 +0200, Axel Thimm wrote: Which modern email client under Linux is working best with dovecot? I just did a grep on User-Agent:/X-Mailer: on my dovecot archive (which goes back to 2004) and found that the top ten are: 28% Thunderbird 25% Evolution 9% Apple Mail

Re: [Dovecot] Problem in sharing mailboxes across users

2010-02-18 Thread Timo Sirainen
On Fri, 2010-02-12 at 12:31 +0100, Rampage wrote: i applied the modifications to the dovecot.conf file as you suggested but now i'm experiencing duplicated folders. namespace private { separator = / prefix = INBOX/ inbox = yes hidden = yes list=no here.

Re: [Dovecot] Poll: Quota near full behavior? [Was: Feature request? Make deliver quota inclusive!]

2010-02-18 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 18 Feb 2010, Charles Marcus wrote: But in the modern age, just delivering mail until the quota is exceeded then rejecting seems to be the simplest thing to do, and imo should be the default... You change the quota from a (hard) limit to a

Re: [Dovecot] GlusterFs - Any new progress reports?

2010-02-18 Thread Steve
Original-Nachricht Datum: Wed, 17 Feb 2010 21:25:46 -0600 Von: Eric Rostetter rostet...@mail.utexas.edu An: dovecot@dovecot.org Betreff: Re: [Dovecot] GlusterFs - Any new progress reports? Quoting Ed W li...@wildgooses.com: Anyone had success using some other

Re: [Dovecot] 1.2 , mail_location mbox_snarf

2010-02-18 Thread Timo Sirainen
On Thu, 2010-02-11 at 14:54 +0100, Laurent Moineau wrote: I've read carefully the wiki page Upgrading Dovecot v1.1 to v1.2 and a few messages concerning mail_location parameter but I still don't know what to change in my configuration in order to keep it working after the upgrade. Nothing?

Re: [Dovecot] How to configure Lazyexpunge plugin?

2010-02-18 Thread Timo Sirainen
On Thu, 2010-02-11 at 12:34 +0500, CoolAtt NNA wrote: Hi, I tried the plugin but it is not working. Why not? I added the following in dovecot.conf then restarted dovecot. Please guide me to the correct configuration. ## namespace private { ... dovecot -n

Re: [Dovecot] Get some headers Variables

2010-02-18 Thread Timo Sirainen
On Wed, 2010-02-10 at 14:19 -0200, Alex Baule wrote: example, I have the header: X-ThereisMy: yes How can I get this value inside a plugin ? There is something like getHeaderVar(X-ThereisMy) ? If you haven't found out yet, one of these should help: /* Get value for single header field,

Re: [Dovecot] configuring overquota message

2010-02-18 Thread Leonardo Rodrigues
Em 18/02/2010 13:10, Timo Sirainen escreveu: On Tue, 2010-02-16 at 15:18 -0200, Leonardo Rodrigues wrote: but i havent found, in all the sources, where the QUOTA_EXCEEDED_MESSAGE is feeded by something from dovecot.conf or anywhere else. plugin { quota_exceeded_message =

Re: [Dovecot] Virtual mailboxes show up twice

2010-02-18 Thread Timo Sirainen
On Mon, 2010-02-08 at 13:08 +0100, Matthijs Kooijman wrote: This makes somewhat sense, since my virtual namespace is a subdir of my default namespace: mail_location = Maildir:~/Mail:LAYOUT=fs .. namespace private { location = virtual:~/Mail/virtual:LAYOUT=fs } Now, should

Re: [Dovecot] Courier-Dovecot Migration Issue

2010-02-18 Thread Tony Rutherford
Timo Sirainen wrote: On Wed, 2010-02-17 at 11:31 -0500, Tony Rutherford wrote: The last three entries exist in the Courier IMAP file, but NOT the Courier POP file. The resulting dovecot-uidlist format is different, but to be honest, I haven't been able to find the exact specification for

Re: [Dovecot] Virtual POP3 Inbox question

2010-02-18 Thread Timo Sirainen
On Sun, 2010-02-07 at 15:10 +0100, Josephus wrote: Hi, I'm having trouble implementing the virtual pop3 inbox solution in Dovecot 1.2.x. As the following wiki page describes (http://wiki.dovecot.org/Plugins/Virtual) one should only set the inbox=yes flag for the virtual namespace Yes.

[Dovecot] Disabling Keywords

2010-02-18 Thread Tony Rutherford
Is there a correct way to tell the client we don't want, and don't support Keywords via a configuration option? If there's no configuration option, would I override allow_new_keywords to just return FALSE? Thanks, Tony

Re: [Dovecot] GlusterFs - Any new progress reports?

2010-02-18 Thread Brandon Lamb
On Wed, Feb 17, 2010 at 11:55 AM, Steve stev...@gmx.net wrote: Original-Nachricht Datum: Wed, 17 Feb 2010 20:15:30 +0100 Von: alex handle alex.han...@gmail.com An: Dovecot Mailing List dovecot@dovecot.org Betreff: Re: [Dovecot] GlusterFs - Any new progress reports?

Re: [Dovecot] Courier-Dovecot Migration Issue

2010-02-18 Thread Timo Sirainen
On Thu, 2010-02-18 at 11:26 -0500, Tony Rutherford wrote: Well, with v1.1+ it's possible to preserve both POP3 and IMAP UIDs (each line is IMAP uid PPOP3 UIDL :filename). I guess the script doesn't merge IMAP and POP3 messages well enough. Feel free to fix the script ;) Yes, unless you're

Re: [Dovecot] Disabling Keywords

2010-02-18 Thread Timo Sirainen
On Thu, 2010-02-18 at 11:33 -0500, Tony Rutherford wrote: Is there a correct way to tell the client we don't want, and don't support Keywords via a configuration option? Why? If there's no configuration option, would I override allow_new_keywords to just return FALSE? Yes.

Re: [Dovecot] 2nd REPOST: mbox vs maildir

2010-02-18 Thread Ashley M. Kirchner
Timo Sirainen wrote: Things would probably be simpler if you used prefix= here. The reason I used a prefix is for the way things show up in Thunderbird and Outlook. Without the prefix, it all falls under the same tree as their INBOX. By adding the prefix, they get an extra level called

Re: [Dovecot] dovecot and firstname.initial.lastname mbox format archive

2010-02-18 Thread Wilko Bulte
Quoting Timo Sirainen, who wrote on Thu, Feb 18, 2010 at 05:26:54PM +0200 .. On Mon, 2010-02-15 at 19:13 +0100, Wilko Bulte wrote: - On my new system I have dovecot v 1.2.8 which refuses to handle these dot-seperated files. I get the somewhat familiar Mailbox doesn't allow

Re: [Dovecot] Courier-Dovecot Migration Issue

2010-02-18 Thread Tony Rutherford
Timo Sirainen wrote: On Thu, 2010-02-18 at 11:26 -0500, Tony Rutherford wrote: Well, with v1.1+ it's possible to preserve both POP3 and IMAP UIDs (each line is IMAP uid PPOP3 UIDL :filename). I guess the script doesn't merge IMAP and POP3 messages well enough. Feel free to fix the script ;)

Re: [Dovecot] Disabling Keywords

2010-02-18 Thread Tony Rutherford
Timo Sirainen wrote: On Thu, 2010-02-18 at 11:33 -0500, Tony Rutherford wrote: Is there a correct way to tell the client we don't want, and don't support Keywords via a configuration option? Why? Nothing to do with Dovecot...but we have other ancillary systems in play that don't

Re: [Dovecot] 2nd REPOST: mbox vs maildir

2010-02-18 Thread Timo Sirainen
On Thu, 2010-02-18 at 09:52 -0700, Ashley M. Kirchner wrote: Timo Sirainen wrote: Things would probably be simpler if you used prefix= here. The reason I used a prefix is for the way things show up in Thunderbird and Outlook. Without the prefix, it all falls under the same tree as

Re: [Dovecot] Courier-Dovecot Migration Issue

2010-02-18 Thread Timo Sirainen
On Thu, 2010-02-18 at 11:26 -0500, Tony Rutherford wrote: Here's a question though. If the dovecot-uidlist file is deleted (for whatever reason), it gets rebuilt by Dovecot. But, how does it get rebuilt? It does not appear to generate uids based on the date of messages...I believe

Re: [Dovecot] GlusterFs - Any new progress reports?

2010-02-18 Thread Steve
Original-Nachricht Datum: Thu, 18 Feb 2010 08:36:36 -0800 Von: Brandon Lamb brandonl...@gmail.com An: Dovecot Mailing List dovecot@dovecot.org Betreff: Re: [Dovecot] GlusterFs - Any new progress reports? On Wed, Feb 17, 2010 at 11:55 AM, Steve stev...@gmx.net wrote:

Re: [Dovecot] Disabling Keywords

2010-02-18 Thread Timo Sirainen
On Thu, 2010-02-18 at 12:02 -0500, Tony Rutherford wrote: If there's no configuration option, would I override allow_new_keywords to just return FALSE? Yes. Thanks. It's mainly about telling clients that they aren't supported. I'm not sure if the current code actually

Re: [Dovecot] 2nd REPOST: mbox vs maildir

2010-02-18 Thread Ashley M. Kirchner
Timo Sirainen wrote: location = mbox:~/Mail-Archives (the :LAYOUT=fs is unnecessary, because it's the default with mboxes anyway.) Made the above change as you suggested. That turned my namespaces into: namespace private { separator = / prefix = mail/ location =

Re: [Dovecot] LDAP as password database - some problems / suggestions

2010-02-18 Thread Timo Sirainen
Attached updated patch that actualy uses bind_dn, as pointed out by Edgar Fuß. On Thu, 2010-02-18 at 16:38 +0200, Timo Sirainen wrote: On Thu, 2010-02-18 at 09:19 +0100, Stefan Palme wrote: base=ou=groups,dc=kapott.org filter=((cn=dovecot)(member=cn=%u,ou=users,dc=kapott,dc=org))

Re: [Dovecot] dovecot-sieve and ldap user

2010-02-18 Thread Timo Sirainen
On Sat, 2010-01-30 at 23:06 +0100, spamv...@googlemail.com wrote: userdb: driver: passwd userdb: driver: ldap args: /etc/dovecot-ldap.conf Note the extra userdb passwd. I'd guess you don't want that. Does the sieve plugin use the home_dir returned from the ldap ? Yes, but

Re: [Dovecot] Highly Performance and Availability

2010-02-18 Thread Eric Rostetter
Quoting Stan Hoeppner s...@hardwarefreak.com: - Add redundancy to the storage using DRDB (I believe a successful strategy with Dovecot is pairs of servers, replicated to each other - run each at 50% capacity and if one dies the other picks up the slack) DRDB is alright for a couple of

[Dovecot] improved create dovecot certificate script

2010-02-18 Thread Roger Oot
If anybody is interested, which they are probably not, here is an improved and more rigorous version of mkcert.sh #! /bin/sh #*# #| #| file : /root/apps/share/sh/create_dovecot_certificate #|

Re: [Dovecot] 2nd REPOST: mbox vs maildir

2010-02-18 Thread Ashley M. Kirchner
Timo Sirainen wrote: Well, clients can become confused a bit too easily. Try talking IMAP protocol directly: http://wiki.dovecot.org/TestInstallation After logging in, the important commands to try would be: a LIST * b LSUB * c SELECT mail-Archive/something-that-actually-exists d SUBSCRIBE

Re: [Dovecot] 2nd REPOST: mbox vs maildir

2010-02-18 Thread Timo Sirainen
On Thu, 2010-02-18 at 11:06 -0700, Ashley M. Kirchner wrote: Thunderbird will see exactly what I have subscribed to, stuff in mail/ and stuff in mail-Archives/. Outlook will *not* see mail/, at all. And it *will* see *everything* that's in mail-Archives/, whether I'm subscribed to

Re: [Dovecot] LDAP as password database - some problems / suggestions

2010-02-18 Thread Stefan Palme
Hi, On Thu, 2010-02-18 at 11:36 -0200, Marcio Merlone wrote: I use LDAP on PAM, and dovecot uses PAM as auth method, ... Thanks for the tip. This way (dovecot - PAM - LDAP (with a dedicated ldap-configuration for the dovecot PAM service)) works for me. Regards -stefan-

Re: [Dovecot] LDAP as password database - some problems / suggestions

2010-02-18 Thread Stefan Palme
On Thu, 2010-02-18 at 16:38 +0200, Timo Sirainen wrote: How about if it worked like: pass_attrs = member=bind_dn, ... pass_filter = .. Have already solved it via PAM. But will nevertheless try this solution too. But this has to wait until weekend :-) Thanks for support! -stefan-

Re: [Dovecot] 2nd REPOST: mbox vs maildir

2010-02-18 Thread Ashley M. Kirchner
Ashley M. Kirchner wrote: Timo Sirainen wrote: Deleting and recreating the Outlook account might be the easiest fix Ok, that solved the seeing everything problem. But Outlook still won't see the user's 'mail/' folder with mailboxes in it. Could that be because I don't have a

Re: [Dovecot] 2nd REPOST: mbox vs maildir

2010-02-18 Thread Ashley M. Kirchner
Spoke too fast. I can't move mailboxes across namespaces. Is that a limitation? For example, if I have a mailbox in 'mail/' that I want to move into 'mail-Archives/' I get an error saying: The current command did not succeed. The mail server responded: Can't rename mailbox to

Re: [Dovecot] 2nd REPOST: mbox vs maildir

2010-02-18 Thread Timo Sirainen
On Thu, 2010-02-18 at 11:40 -0700, Ashley M. Kirchner wrote: Spoke too fast. I can't move mailboxes across namespaces. Is that a limitation? For example, if I have a mailbox in 'mail/' that I want to move into 'mail-Archives/' I get an error saying: The current command did not

Re: [Dovecot] auth processes

2010-02-18 Thread Stan Hoeppner
Timo Sirainen put forth on 2/18/2010 9:17 AM: On Tue, 2010-02-16 at 08:16 -0600, Stan Hoeppner wrote: With 1.0.15 my configuration I a single dovecot-auth process, which is what I want now. Since upgrading to 1.2.10 I have two such processes: root 16992 16990 0 Feb15 ?00:00:00

Re: [Dovecot] Poll: Quota near full behavior? [Was: Feature request? Make deliver quota inclusive!]

2010-02-18 Thread Warren Baker
On 18 February 2010 16:41, Timo Sirainen t...@iki.fi wrote: It's not about how much work adding that setting is. It's that I don't think there should be settings for stuff that (almost) everyone sets only one way. Useless extra settings cause bugs and bloat, both to code and documentation.

Re: [Dovecot] 2nd REPOST: mbox vs maildir

2010-02-18 Thread Ashley M. Kirchner
Timo Sirainen wrote: Yeah, Dovecot v1.2 doesn't like this. v2.0 allows it though. In that case, Timo you have solved all of my configuration problems today. With Dovecot 2.0 still in beta, I'll just sit back and wait. Thank you very much for all your help today! My next task?

Re: [Dovecot] auth processes

2010-02-18 Thread Timo Sirainen
On Thu, 2010-02-18 at 12:47 -0600, Stan Hoeppner wrote: Are you using passwd/pam combination? The second process is auth worker, which does blocking passdb/userdb lookups. The v1.0 behavior was causing bugs. Yep: auth default: worker_max_count: 1 process_size: 16 passdb:

Re: [Dovecot] Poll: Quota near full behavior? [Was: Feature request? Make deliver quota inclusive!]

2010-02-18 Thread Charles Marcus
On 2010-02-18 11:09 AM, Steffen Kaiser wrote: Actually, I once had a system where the request was we do not send over quota notices, all mails have to arrive. Hence, deliver should have no quota - well, a very high quota actually -, but a quite strick IMAP quota. So simply leaving everything

Re: [Dovecot] dovecot and firstname.initial.lastname mbox format archive

2010-02-18 Thread Wilko Bulte
Quoting Wilko Bulte, who wrote on Thu, Feb 18, 2010 at 05:53:10PM +0100 .. Quoting Timo Sirainen, who wrote on Thu, Feb 18, 2010 at 05:26:54PM +0200 .. On Mon, 2010-02-15 at 19:13 +0100, Wilko Bulte wrote: - On my new system I have dovecot v 1.2.8 which refuses to handle these

Re: [Dovecot] dovecot and firstname.initial.lastname mbox format archive

2010-02-18 Thread Wilko Bulte
Quoting Wilko Bulte, who wrote on Thu, Feb 18, 2010 at 08:14:55PM +0100 .. Quoting Wilko Bulte, who wrote on Thu, Feb 18, 2010 at 05:53:10PM +0100 .. Quoting Timo Sirainen, who wrote on Thu, Feb 18, 2010 at 05:26:54PM +0200 .. On Mon, 2010-02-15 at 19:13 +0100, Wilko Bulte wrote: - On

Re: [Dovecot] GlusterFs - Any new progress reports?

2010-02-18 Thread Eric Rostetter
Quoting Steve stev...@gmx.net: My interest is more in bootstrapping a more highly available system from lower quality (commodity) components than very high end use GFS+DRBD should fit the bill... You need several nics and cables, but they are dirt cheap... Just 2 machines with the same

Re: [Dovecot] GlusterFs - Any new progress reports?

2010-02-18 Thread Steve
Original-Nachricht Datum: Thu, 18 Feb 2010 13:51:33 -0600 Von: Eric Rostetter rostet...@mail.utexas.edu An: dovecot@dovecot.org Betreff: Re: [Dovecot] GlusterFs - Any new progress reports? Quoting Steve stev...@gmx.net: My interest is more in bootstrapping a more

Re: [Dovecot] auth processes

2010-02-18 Thread Stan Hoeppner
Timo Sirainen put forth on 2/18/2010 12:54 PM: Hmm. You could try setting auth_worker_max_request_count=1 to see if that gets rid of the processes after they've handled the request. Restarting IMAP/POP3 mail server: dovecotError: Error in configuration file /etc/dovecot/dovecot.conf line 1:

Re: [Dovecot] GlusterFs - Any new progress reports?

2010-02-18 Thread Eric Rostetter
Quoting Steve stev...@gmx.net: I have already installed GFS on a cluster in the past, but never on DRBD. Me too (I did in on a real physical SAN before). Hmm... when I started with GlusterFS I thought that using more then two nodes is something that I will never need. GlusterFS is

Re: [Dovecot] auth processes

2010-02-18 Thread Eric Rostetter
Quoting Stan Hoeppner s...@hardwarefreak.com: Timo Sirainen put forth on 2/18/2010 12:54 PM: Hmm. You could try setting auth_worker_max_request_count=1 to see if that gets rid of the processes after they've handled the request. Restarting IMAP/POP3 mail server: dovecotError: Error in

Re: [Dovecot] GlusterFs - Any new progress reports?

2010-02-18 Thread John Lyons
Dare I ask...(as it's not exactly clear from the Gluster docs) If I take 5 storage servers to house my /mail can my cluster of 5 front end dovecot servers all mount/read/write to /mail. The reason I ask is the docs seem to suggest I should be doing 5 servers, having 5 partitions, one for each

Re: [Dovecot] Poll: Quota near full behavior? [Was: Feature request? Make deliver quota inclusive!]

2010-02-18 Thread Noel Butler
On Thu, 2010-02-18 at 16:20 +0200, Timo Sirainen wrote: On Thu, 2010-02-18 at 09:05 -0500, Charles Marcus wrote: Personally I think the best way would be, if the user isn't over quota at the time of a message delivery, deliver that message, *regardless* of whether or not it puts the user

Re: [Dovecot] auth processes

2010-02-18 Thread Stan Hoeppner
Eric Rostetter put forth on 2/18/2010 3:21 PM: Quoting Stan Hoeppner s...@hardwarefreak.com: Timo Sirainen put forth on 2/18/2010 12:54 PM: Hmm. You could try setting auth_worker_max_request_count=1 to see if that gets rid of the processes after they've handled the request. Restarting

Re: [Dovecot] GlusterFs - Any new progress reports?

2010-02-18 Thread Steve
Original-Nachricht Datum: Thu, 18 Feb 2010 21:32:46 + Von: John Lyons j...@support.nsnoc.com An: Dovecot Mailing List dovecot@dovecot.org Betreff: Re: [Dovecot] GlusterFs - Any new progress reports? Dare I ask...(as it's not exactly clear from the Gluster docs) If

Re: [Dovecot] dovecot and firstname.initial.lastname mbox format archive

2010-02-18 Thread Timo Sirainen
On 18.2.2010, at 21.31, Wilko Bulte wrote: Mutt 1.5.20 (2009-06-14) does NOT work with first.initial.last mboxes raw logging gives me: Oa0003 CAPABILITY a0004 LIST a0005 STATUS mail/postponed (MESSAGES) a0006 SELECT INBOX a0007 FETCH 1:41 (UID FLAGS INTERNALDATE RFC822.SIZE

Re: [Dovecot] auth processes

2010-02-18 Thread Timo Sirainen
On 18.2.2010, at 23.08, Stan Hoeppner wrote: Timo Sirainen put forth on 2/18/2010 12:54 PM: Hmm. You could try setting auth_worker_max_request_count=1 to see if that gets rid of the processes after they've handled the request. Restarting IMAP/POP3 mail server: dovecotError: Error in

Re: [Dovecot] GlusterFs - Any new progress reports?

2010-02-18 Thread Timo Sirainen
On 19.2.2010, at 0.37, Steve wrote: You can do that. But with GlusterFS and Dovecot you don't need to. You can mount read/write the same GlusterFS share on all the mail servers. Dovecot will usually add the hostname of the delivering system into the maildir file name. As long as the

Re: [Dovecot] GlusterFs - Any new progress reports?

2010-02-18 Thread Steve
Original-Nachricht Datum: Fri, 19 Feb 2010 03:02:48 +0200 Von: Timo Sirainen t...@iki.fi An: Dovecot Mailing List dovecot@dovecot.org Betreff: Re: [Dovecot] GlusterFs - Any new progress reports? On 19.2.2010, at 0.37, Steve wrote: You can do that. But with GlusterFS

Re: [Dovecot] GlusterFs - Any new progress reports?

2010-02-18 Thread Timo Sirainen
On Fri, 2010-02-19 at 03:12 +0100, Steve wrote: This has the same problems as with NFS (assuming the servers aren't only delivering mails, without updating index files). http://wiki.dovecot.org/NFS Except that NFS is not so flexible as GlusterFS. In GlusterFS I can replicate, stripe,

Re: [Dovecot] GlusterFs - Any new progress reports?

2010-02-18 Thread Steve
Original-Nachricht Datum: Fri, 19 Feb 2010 04:37:04 +0200 Von: Timo Sirainen t...@iki.fi An: dovecot@dovecot.org Betreff: Re: [Dovecot] GlusterFs - Any new progress reports? On Fri, 2010-02-19 at 03:12 +0100, Steve wrote: This has the same problems as with NFS (assuming