Re: [Dovecot] Dovecot antispam plugin with virtual users

2010-05-03 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 4 May 2010, Philipp wrote: Now I was wondering if it was possible to keep the plugin from using the imap-uid and instead specifying one elsewhere? The IMAP process is using this uid and it has loaded antispam. As far as I know, for securi

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 tr

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 t

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_executabl

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] 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] 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 fro

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 t

Re: [Dovecot] Dovecot SQL user_query

2010-05-03 Thread Jerry
On Mon, 03 May 2010 16:00:41 -0700 Alex 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 produced the result. > I

[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

[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, t

[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 ex

Re: [Dovecot] exit codes for 'sievec'

2010-05-03 Thread Jerry
On Mon, 03 May 2010 20:05:45 +0200 Stephan 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 > > of the new f

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, th

[Dovecot] Dovecot Vs Procmail LDA

2010-05-03 Thread Wilberth Pérez
Hi everyone: Anyone knows what are the differences (or advantages and disadvantages) between Dovecot LDA with postfix Vs. Procmail LDA with postfix ? -- LCC Wilberth de Jesús Pérez Segura CCSA- Administración de Servicios y Seguridad de

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

[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

[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 s

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 infor

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 clie

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

2010-05-03 Thread Stephan Bosch
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 client times out. Tried Th

[Dovecot] 2.0.beta4 (f05909834219): Crashes with incorrect maildir permissions

2010-05-03 Thread Thomas Leuxner
Hi, I know this is a self-inflicted problem due to wrong permissions set manually, but it should not crash I guess... Regards Thomas May 3 16:05:15 spectre dovecot: imap(al...@domain.tld): Error: opendir(/var/vmail/public/Mailing-Lists/Bind-Users/new) failed: Permission denied (euid=5000(vma

[Dovecot] Plugins and message file access

2010-05-03 Thread Reinaldo Matukuma
Hello. I need to know how I can get the final message file name inside a plugin like the zlib 2.0 plugin. I saw another threads about zlib plugin, but don't see no one asking about this. My interest is to use the message's file name in a specific function that will add some lines on it and,

[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 catch-all

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='','{MD5}','{PLAIN}'),) as password, [... other fields you might

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 dovecot

[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 defaul

[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 I