Re: [Dovecot] Conditionally use a sieve script with deliver?

2010-01-21 Thread Kārlis Repsons
On Thursday 21 January 2010 11:13:22 Marcus Rueckert wrote: On 2010-01-20 21:11:59 +, Kārlis Repsons wrote: I found a post in this list [0], which says sieve scripts can be used to deliver mail as read. However, can it be done somehow conditionally, I mean, with a direct or indirect

[Dovecot] ldap and mail_location

2010-01-21 Thread spamvoll
hi.. im running dovecot 1.2.9 and checking against an openldap. i defined in dovecot.conf mail_location = maildir:/mail/%u and now all mails are stored under /mail/my.e...@mydomain.com how can i store them in /mail/ldapuid ? these userdb and passdb settings drive me crazy.. looks like ldap is

Re: [Dovecot] ldap and mail_location

2010-01-21 Thread spamvoll
hi again.. user_filter = ((objectClass=gosaMailAccount)(|(mail=%u)(gosaMailAlternateAddress=%u))) this works to check if the account is valid but i cant figure out how to set the maillocation i think this is done in user_attrs but no idea how to use the uid. i tryed user_attrs =

Re: [Dovecot] Conditionally use a sieve script with deliver?

2010-01-21 Thread Marcus Rueckert
On 2010-01-21 12:06:33 +, Kārlis Repsons wrote: My silly and honest answer is: the fact, that I found maildrop first some weeks ago and it seemed very flexible (a feeling of security in a sense, that I won't have any impossible thing), but then I came across the mentioned problem

Re: [Dovecot] ldap and mail_location

2010-01-21 Thread spamvoll
ok.. sry for spam.. figured it out.. user_attrs = homeDirectory=home,uid=mail=maildir:/mail/%$ 2010/1/21 spamv...@googlemail.com: hi again.. user_filter = ((objectClass=gosaMailAccount)(|(mail=%u)(gosaMailAlternateAddress=%u))) this works to check if the account is valid but i cant

Re: [Dovecot] Maildir and IMAP keywords

2010-01-21 Thread Timo Sirainen
On Thu, 2010-01-21 at 10:25 +0100, Per-Erik Persson wrote: When a user in thunderbird toggles some flags like junk, spam or something similar dovecot appends these flags form a-z to the end of the file in maildir. I have another application that also access the maildirs which gets really

[Dovecot] feature question: local delivery from SMTP

2010-01-21 Thread Phil Howard
Does Dovecot really need a separate MTA for inbound mail? Or can it receive SMTP directly if there is no forwarding to do? What about spam/virus filtering in that case? -- Phil Howard KA9WGN - ka9...@gmail.com

Re: [Dovecot] 1.2.9 imap crash with backtrace

2010-01-21 Thread Ralf Hildebrandt
* Timo Sirainen t...@iki.fi: This should fix it (and hopefully doesn't expose another bug): http://hg.dovecot.org/dovecot-1.2/rev/a1177c6cf8c7 I think that fixes all of the duplicate entry in uidlist errors that have been reported recently. So please test soon and report how it goes

[Dovecot] Fastest restart of dovecot after upgrade: HOW?:

2010-01-21 Thread Ralf Hildebrandt
I'm running dovecot under runit: #!/bin/sh echo '/var/core/%p' /proc/sys/kernel/core_pattern ulimit -n 8096 ulimit -c unlimited exec /usr/local/sbin/dovecot -F (that way, together with incron, I can automatically generate the coredumps I'm posting all the time) If I apply a patch and

Re: [Dovecot] Fastest restart of dovecot after upgrade: HOW?:

2010-01-21 Thread Timo Sirainen
On 21.1.2010, at 16.35, Ralf Hildebrandt wrote: Which part of the process structure can be killed and takes all it's children with it? ├─runsvdir─┬─runsv───ntpd │ ├─runsv─┬─dovecot─┬─2*[dovecot-auth] │ │ │ ├─1203*[imap] │ │ │

Re: [Dovecot] Fastest restart of dovecot after upgrade: HOW?:

2010-01-21 Thread Ralf Hildebrandt
* Timo Sirainen t...@iki.fi: If you set shutdown_clients=yes. Although even with =no it should stop listening. shutdown_clients=yes is the default? I think it is :) I guess there can be bugs.. But in general the processes should notice immediately that master died, and immediately close

Re: [Dovecot] feature question: local delivery from SMTP

2010-01-21 Thread Eduardo M KALINOWSKI
On Qua, 20 Jan 2010, Phil Howard wrote: Does Dovecot really need a separate MTA for inbound mail? Or can it receive SMTP directly if there is no forwarding to do? What about spam/virus filtering in that case? Dovecot does not receive mails. It only serves them to users via IMAP or POP3. So,

Re: [Dovecot] Conditionally use a sieve script with deliver?

2010-01-21 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 21 Jan 2010, Kārlis Repsons wrote: My silly and honest answer is: the fact, that I found maildrop first some weeks ago and it seemed very flexible (a feeling of security in a sense, that I won't have any impossible thing), but then I came

Re: [Dovecot] 1.2.9 imap crash with backtrace

2010-01-21 Thread David Halik
Good news and bad news. The good news is that I've been core dump free for about 24 hours. The duplicate message issue is still there, so if you wanted that fix then I guess the patch is not complete yet, otherwise it looks good. The bad news is that I'm now convinced that another problem

Re: [Dovecot] 1.2.9 imap crash with backtrace

2010-01-21 Thread mail...@securitylabs.it
On 21/01/2010 17:53, David Halik wrote: Good news and bad news. The good news is that I've been core dump free for about 24 hours. The duplicate message issue is still there, so if you wanted that fix then I guess the patch is not complete yet, otherwise it looks good. The bad news is that

Re: [Dovecot] 1.2.9 imap crash with backtrace

2010-01-21 Thread Timo Sirainen
On 21.1.2010, at 19.10, David Halik wrote: This seems to have started since TB 3.0 came out. Especially, with the new indexing feature they added. I'm not seeing it with Pine or SQMail accessing the same servers. The problem is all my users are convinced it's my mail servers. ;) However,

Re: [Dovecot] 1.2.9 imap crash with backtrace

2010-01-21 Thread Timo Sirainen
On 21.1.2010, at 19.13, Timo Sirainen wrote: On 21.1.2010, at 19.10, David Halik wrote: This seems to have started since TB 3.0 came out. Especially, with the new indexing feature they added. I'm not seeing it with Pine or SQMail accessing the same servers. The problem is all my users are

[Dovecot] Dovecot SNMP

2010-01-21 Thread Christoph Petersen
Hi folks, Today I setup Cacti for my environment and I was wondering if there are some templates/scripts for Cacti or SNMP I could use to gather some statistics from Dovecot. Thanks in advance. BR Chris

Re: [Dovecot] 1.2.9 imap crash with backtrace

2010-01-21 Thread David Halik
On 01/21/2010 12:14 PM, Timo Sirainen wrote: On 21.1.2010, at 19.13, Timo Sirainen wrote: On 21.1.2010, at 19.10, David Halik wrote: This seems to have started since TB 3.0 came out. Especially, with the new indexing feature they added. I'm not seeing it with Pine or SQMail

Re: [Dovecot] 1.2.9 imap crash with backtrace

2010-01-21 Thread e-frog
Am 21.01.2010 18:14, schrieb Timo Sirainen: On 21.1.2010, at 19.13, Timo Sirainen wrote: On 21.1.2010, at 19.10, David Halik wrote: This seems to have started since TB 3.0 came out. Especially, with the new indexing feature they added. I'm not seeing it with Pine or SQMail accessing the

[Dovecot] nologin in auth proto version 1.1

2010-01-21 Thread Kirill Miazine
I notice that the nologin parameter for the AUTH command is gone in version 1.1 of Dovecot Authentication Protocol. nologin was added in 1.1, so that authentication client could indicate that there will be no subsequent master requests to retrieve user info. Could we have nologin back please?

Re: [Dovecot] nologin in auth proto version 1.1

2010-01-21 Thread Kirill Miazine
* Kirill Miazine [2010-01-21 21:09]: I notice that the nologin parameter for the AUTH command is gone in version 1.1 of Dovecot Authentication Protocol. nologin was added in 1.1, so that authentication client could indicate I meant 1.0, of course. that there will be no subsequent master

Re: [Dovecot] nologin in auth proto version 1.1

2010-01-21 Thread Timo Sirainen
On 21.1.2010, at 22.09, Kirill Miazine wrote: I notice that the nologin parameter for the AUTH command is gone in version 1.1 of Dovecot Authentication Protocol. nologin was added in 1.1, so that authentication client could indicate that there will be no subsequent master requests to

Re: [Dovecot] nologin in auth proto version 1.1

2010-01-21 Thread Kirill Miazine
* Timo Sirainen [2010-01-21 22:17]: On 21.1.2010, at 22.09, Kirill Miazine wrote: I notice that the nologin parameter for the AUTH command is gone in version 1.1 of Dovecot Authentication Protocol. nologin was added in 1.1, so that authentication client could indicate that there will

Re: [Dovecot] nologin in auth proto version 1.1

2010-01-21 Thread Timo Sirainen
On 21.1.2010, at 22.38, Kirill Miazine wrote: Could we have nologin back please? Where do you see nologin ever mentioned in authentication protocol? I don't see it in v1.0's auth-protocol.txt. It's still working, it's just not really part of the protocol itself. Quoting yourself: But

Re: [Dovecot] nologin in auth proto version 1.1

2010-01-21 Thread Kirill Miazine
Ok, I didn't understand it wasn't gone. I only read the doc today :) * Timo Sirainen [2010-01-21 22:58]: On 21.1.2010, at 22.38, Kirill Miazine wrote: Could we have nologin back please? Where do you see nologin ever mentioned in authentication protocol? I don't see it in v1.0's

Re: [Dovecot] 1.2.9 imap crash with backtrace

2010-01-21 Thread Thorsten Habich
Hi! I'm pretty unsure this is only a TB3 problem. Saw the same result with TB 2.0, but I'm unsure if this was after changing something on the server. After 2 days of mailproblems we downgraded back to Dovecot 1.1 yesterday and no one reported this bug since this downgrade. Greetings,

Re: [Dovecot] IMAP only for some users or via webmail

2010-01-21 Thread Ronald MacDonald
It's always worth searching the mailing list to see if the question's already been asked You don't say how you run your authentication backend. I'll hazard a guess that you're using MySQL, in which case you should see http://old.nabble.com/Allow-POP3-per-Domain-td27143238.html for reference. In

Re: [Dovecot] IMAP only for some users or via webmail

2010-01-21 Thread Timo Sirainen
On 22.1.2010, at 0.51, Federico Tomasczik wrote: 1) A group of users can use IMAP or POP3. 2) The others, only can use POP3. But, this users can use IMAP only with a webmail (the webmail is in the same server that Dovecot) It is possible? How? If you're using SQL, you can do something

Re: [Dovecot] IDLE timing issue - dovecot or fetchmail issue?

2010-01-21 Thread Matt Doran
I haven't reported this to the fetchmail developers, but I will now that I've confirmed it's their bug. For those interested, I've raised this on the fetchmail list here: https://lists.berlios.de/pipermail/fetchmail-users/2010-January/002183.html With the help of Timo and the

Re: [Dovecot] virtual mailbox / INTHREAD use case, issues, questions

2010-01-21 Thread David Abrahams
At Tue, 19 Jan 2010 16:51:04 +0200, Timo Sirainen wrote: On Wed, 2010-01-06 at 11:50 -0500, David Abrahams wrote: At Wed, 6 Jan 2010 14:17:40 +0200, Timo Sirainen wrote: On 4.1.2010, at 20.47, David Abrahams wrote: 1. I had to manually create the virtual folder for all my