[Dovecot] dovecot server down, dovecot deliver keeps mail?

2010-05-03 Thread mimosinnet
My dovecot server was down las friday, and it seems that mails have been lost. This is what I have got in my logs since the server has been down: May 3 03:35:34 generatech dovecot: deliver(m...@domain.org): userdb lookup: connect(/var/run/dovecot/auth-master) failed: No such file or directory

[Dovecot] Migrating domain with diferent default_pass_scheme

2010-05-03 Thread emiliojoel
Hi I have now my main mail server using dovecot with diferents domains and for user auth using mysql with default_pass_scheme = PLAIN, Now I am migrating a new domain from other server with dovecot using mysql with default_pass_scheme = MD5. My question is: Is possible have a different

Re: [Dovecot] dovecot server down, dovecot deliver keeps mail?

2010-05-03 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, 3 May 2010, mimosin...@gmail.com wrote: and it seems that mails have been lost. No, I do not think so. I guess that because the server was down dovecot transport could not deliver the mail. Yep. Nevertheless, I am wondering if

Re: [Dovecot] Migrating domain with diferent default_pass_scheme

2010-05-03 Thread Oli Schacher
Hi Emilio For this purpose we used dovecot proxy mysql with a view that would prepend the pass scheme depending on if an account is already migrated (pointing to old or new IP): create or replace view v_proxy as concat(if(proxyhost='ip of new server','{MD5}','{PLAIN}'),old or new password) as

[Dovecot] proxy user wildcard

2010-05-03 Thread Martin Ott
Hi, I'd like to try dovecot as a imapproxy in front of a webmailer. Authentication should be done by the main dovecot-imapserver. It works if I specify the user in passdb passwd-file: user2::0:0proxy=yes host=[ip-address] ssl=any-cert starttls=yes nopassword=y Is there some kind of

Re: [Dovecot] [SUGGESTION] Managesieve: Transparent home dir creation

2010-05-03 Thread Stephan Bosch
Stephan Bosch wrote: Felix Leimbach wrote: Hi all, I'm using dovecot 2.0-beta4's sieve plugin and it works great but here is an idea for improvement: When creating the first sieve script for an account whose home dir does not yet exist then dovecot *does* create that homedir but the sieve

Re: [Dovecot] CDB Authentication database

2010-05-03 Thread Phil Howard
I'd be interested in this, too. It might be a nicer way for smaller sites to share between Dovecot and Postfix. CDB is a read-only (C meaning constant) dictionary file designed by DJB. To update it, build a new one and swap. Alternatively, use 2 or more DBs with the CDB having the bulk of

[Dovecot] exit codes for 'sievec'

2010-05-03 Thread Jerry
As far as I can tell, 'sievec' always exits with '0' whether there is an error or not. If that is correct, I believe it should be modified to exit with some other code if the conversion and writing of the new file are not completed successfully. I have written a few script files and a 'make' file

[Dovecot] corrupted transaction log errors causing users mail to disappear temporarily

2010-05-03 Thread Jordan Tardif
So Ive been looking into some problems with users reporting their mail goes missing for a second but then re-apears very soon after. I have tracked it down to happening at the same time these appear in the logs. Seems the transaction logs is getting corrupted somehow and then rebuilding itself

Re: [Dovecot] exit codes for 'sievec'

2010-05-03 Thread Stephan Bosch
Jerry wrote: As far as I can tell, 'sievec' always exits with '0' whether there is an error or not. If that is correct, I believe it should be modified to exit with some other code if the conversion and writing of the new file are not completed successfully. I have written a few script files and

Re: [Dovecot] zlib Plugin Dovecot 2.0 - ostream

2010-05-03 Thread Alex Baule
Hi Timo... I made the plugin like you say. The header part is saved by dovecot, with o_stream_send , and the body with my function. This implementation, works fine. But i need to get / change some values to create the link from header to body. When a email is saved, have the S an W flags,

Re: [Dovecot] exit codes for 'sievec'

2010-05-03 Thread Jerry
On Mon, 03 May 2010 20:05:45 +0200 Stephan step...@rename-it.nl articulated: Jerry wrote: As far as I can tell, 'sievec' always exits with '0' whether there is an error or not. If that is correct, I believe it should be modified to exit with some other code if the conversion and writing

[Dovecot] Questions, Issues with 2.0

2010-05-03 Thread Kelsey Cummings
I'm trying to use an external program to set the location of user's maildirs to match an existing hashing schema but the docs for how to do this in 1.x do not seem to apply to 2.0 or I'm misinterpreting them. protocol imap { mail_executable = /opt/dovecot-test/sonic-imap ... This correctly

[Dovecot] Dovecot antispam plugin with virtual users

2010-05-03 Thread Philipp
Hi, I'm running dovecot 1.2.11 with the antispam plugin 1.2+20090702-1+b1 installed from the debian repos (squeeze) and dspam 3.9.0+git20100416-1. Unfortunately this doesn't seem to work well with my virtual users, stored on a local openldap server: While sending mail manually to dspam does work,

[Dovecot] Dovecot SQL user_query

2010-05-03 Thread Alex
Hello folkz, Is it possible to setup in dovecot-sql.conf file to run user_query twice if its first run didn't yield any values. And likewise don't proceed with the second run if the first user_query execution produced the result. I have to query two tables which specify there email messages shall

Re: [Dovecot] Dovecot SQL user_query

2010-05-03 Thread Jerry
On Mon, 03 May 2010 16:00:41 -0700 Alex dove...@mailswamp.com articulated: Hello folkz, Is it possible to setup in dovecot-sql.conf file to run user_query twice if its first run didn't yield any values. And likewise don't proceed with the second run if the first user_query execution

Re: [Dovecot] Dovecot SQL user_query

2010-05-03 Thread Noel Butler
On Mon, 2010-05-03 at 16:00 -0700, Alex wrote: Hello folkz, Is it possible to setup in dovecot-sql.conf file to run user_query twice if its first run didn't yield any values. And likewise don't proceed with the second run if the first user_query execution produced the result. I have to

Re: [Dovecot] Dovecot SQL user_query

2010-05-03 Thread Gabriel Millerd
yes, something akin to this (assuming they are in the same schema) . sorry i cannot be more helpful with the query. the secret is the chance to retrieve multiple results, but limiting those results to one row and having them priroritized mail users user_query = select mail from (select mail

Re: [Dovecot] Dovecot SQL user_query

2010-05-03 Thread Timo Sirainen
On 4.5.2010, at 2.00, Alex wrote: Is it possible to setup in dovecot-sql.conf file to run user_query twice if its first run didn't yield any values. You can have two userdbs pointing to two separate dovecot-sql.conf files with different user_queries.

Re: [Dovecot] Questions, Issues with 2.0

2010-05-03 Thread Kelsey Cummings
On Mon, May 03, 2010 at 03:25:48PM -0700, Kelsey Cummings wrote: I'm trying to use an external program to set the location of user's maildirs to match an existing hashing schema but the docs for how to do this in 1.x do not seem to apply to 2.0 or I'm misinterpreting them. ... I've confirmed

Re: [Dovecot] Questions, Issues with 2.0

2010-05-03 Thread Timo Sirainen
On 4.5.2010, at 1.25, Kelsey Cummings wrote: I'm trying to use an external program to set the location of user's maildirs to match an existing hashing schema but the docs for how to do this in 1.x do not seem to apply to 2.0 or I'm misinterpreting them. protocol imap { mail_executable =

Re: [Dovecot] Questions, Issues with 2.0

2010-05-03 Thread Kelsey Cummings
On Tue, May 04, 2010 at 03:41:04AM +0300, Timo Sirainen wrote: On 4.5.2010, at 1.25, Kelsey Cummings wrote: I'm trying to use an external program to set the location of user's maildirs to match an existing hashing schema but the docs for how to do this in 1.x do not seem to apply to 2.0

Re: [Dovecot] dovecot user

2010-05-03 Thread Pascal Volk
On 03/26/2010 11:47 PM Timo Sirainen wrote: Well, I made this a poll. Please vote. :) http://blog.dovecot.org/ The result: * dovein###[23] (31.94%) * doveless ###[15] (20.83%) * dovenull ###[34]### (47.22%) Regards, Pascal -- The