[Dovecot] Rare error with concurrent users searching with fts-solr

2011-10-13 Thread Antonio Perez-Aranda
Hi all, If I start two o more connections with diferent users that make a search text to solr I get this message many times: Error: fts_solr: Query didn't return uid If I repeat the test about 2000 times, with only one user concurrent, with 60 diferent users, without concurrent, I get between 0.

Re: [Dovecot] Extra plugins vía extrafield in ldap

2011-06-27 Thread Antonio Perez-Aranda
How it works? +key=value or key+=value 2011/6/22 Timo Sirainen : > I did some fixes to my original patch to make it actually work the way I > intended: http://hg.dovecot.org/dovecot-2.0/rev/3d07ab746a67 > > On Tue, 2011-06-14 at 17:38 +0200, Antonio Perez-Aranda wrote: >> May

Re: [Dovecot] Extra plugins vía extrafield in ldap

2011-06-14 Thread Antonio Perez-Aranda
Maybe this could be a "feature request" for dovecot 2.0.14 - 2.0.15 or 2.1 ? 2011/6/9 Antonio Perez-Aranda : > This patch fix a bug and remove some debug info from patch sent before. > > 2011/6/9 Antonio Perez-Aranda : >> This patch is running but it only run with ma

Re: [Dovecot] Extra plugins vía extrafield in ldap

2011-06-09 Thread Antonio Perez-Aranda
This patch fix a bug and remove some debug info from patch sent before. 2011/6/9 Antonio Perez-Aranda : > This patch is running but it only run with mail_plugins. > > This is because I can't select the "mail_plugins" value from any > function to get this throw the na

Re: [Dovecot] Extra plugins vía extrafield in ldap

2011-06-09 Thread Antonio Perez-Aranda
This patch is running but it only run with mail_plugins. This is because I can't select the "mail_plugins" value from any function to get this throw the name key. Maybe this need more hard development to do this as generic "property" for any config value. 2011/6/9 Anto

Re: [Dovecot] Extra plugins vía extrafield in ldap

2011-06-09 Thread Antonio Perez-Aranda
Well, this "extrange" vaues is NULL. Maybe, the set_parser is a new environment to set settings but then ¿when is make the config merge? 2011/6/9 Antonio Perez-Aranda : > This line: > > value = settings_parse_get_value(set_parser, key, &type); > > Is returning a e

Re: [Dovecot] Extra plugins vía extrafield in ldap

2011-06-09 Thread Antonio Perez-Aranda
* mail_location -> #010 * auth_realms -> #020#002 2011/6/8 Antonio Perez-Aranda : > It must run on dovecot 2.0.13? > > We are upgrading to 2.0.13 and with this I get the follow message: > > Jun  8 16:15:03 kvm3 dovecot: imap: Debug: Unknown userdb setting: > +mail_p

Re: [Dovecot] Extra plugins vía extrafield in ldap

2011-06-08 Thread Antonio Perez-Aranda
It must run on dovecot 2.0.13? We are upgrading to 2.0.13 and with this I get the follow message: Jun 8 16:15:03 kvm3 dovecot: imap: Debug: Unknown userdb setting: +mail_plugins=fts fts_solr�G 2011/6/7 Timo Sirainen : > On Tue, 2011-06-07 at 16:16 +0200, Antonio Perez-Aranda wrote: >&g

Re: [Dovecot] Extra plugins vía extrafield in ldap

2011-06-07 Thread Antonio Perez-Aranda
I just test it and it is running. Greats. 2011/6/7 Timo Sirainen : > On Tue, 2011-06-07 at 16:16 +0200, Antonio Perez-Aranda wrote: >> Greats, I'm working on patch from this morning, but it's very hard to >> debug on settings-parser > > I don't think you sh

Re: [Dovecot] Extra plugins vía extrafield in ldap

2011-06-07 Thread Antonio Perez-Aranda
returning "+foo" extra field appends the value to the > "foo" setting? See if the attached patch works (untested). > > On Mon, 2011-06-06 at 12:18 +0200, Antonio Perez-Aranda wrote: >> Umm, it isn't running. >> >> If I put plugin imap_quota forced

Re: [Dovecot] Extra plugins vía extrafield in ldap

2011-06-06 Thread Antonio Perez-Aranda
Umm, it isn't running. If I put plugin imap_quota forced on user_attrs, then IMAP and Dovedm doesn't run correctly. They can load this plugin. Maybe we can do a patch for ldap/config to avoid overwrite "all plugins" enabled and support to append to enabled? 2011/6/3

Re: [Dovecot] Extra plugins vía extrafield in ldap

2011-06-03 Thread Antonio Perez-Aranda
OK thanks. It isn't pretty but is running. 2011/6/3 Timo Sirainen : > On Fri, 2011-06-03 at 12:30 +0200, Antonio Perez-Aranda wrote: > >> And in passwd-ldap.conf I have some like this to add extra plugins: >> >> user_attrs = >> homeDirectory=home,ui

[Dovecot] Extra plugins vía extrafield in ldap

2011-06-03 Thread Antonio Perez-Aranda
Hi all, I'm using dovecot 2.0.9 and I have a config like this: dovecot.conf: passdb { args = /etc/dovecot/conf.d/passwd-ldap.conf driver = ldap } mail_plugins = $mail_plugins quota plugin { autocreate = INBOX.SPAM autocreate2 = INBOX.NoSPAM autosubscribe = INBOX.SPAM autosubscrib

[Dovecot] This is appear a fts bug

2011-05-27 Thread Antonio Perez-Aranda
I have checked this on dovecot 2.0.9 and 2.0.13 with fts-solr without patching. If you execute the follow IMAP script, then the imap process die by and a "assert" . select "inbox." . search text something After search, the connection is aborted in the client side, and imap process died on the se

Re: [Dovecot] [PATCH] Indexing mail attachments with Dovecot + Solr

2011-05-27 Thread Antonio Perez-Aranda
I can confirm that this patch is running against Dovecot 2.0.13 2011/5/23 Antonio Perez-Aranda : > Yes and I have it in my TODO, but we are using this version on a > production system. And it is our base system for development. > > 2011/5/23 Charles Marcus : >> On 2011-05-2

Re: [Dovecot] [PATCH] Indexing mail attachments with Dovecot + Solr

2011-05-23 Thread Antonio Perez-Aranda
Yes and I have it in my TODO, but we are using this version on a production system. And it is our base system for development. 2011/5/23 Charles Marcus : > On 2011-05-23 7:11 AM, Antonio Perez-Aranda wrote: >> Indexing mail attachments with Dovecot + Solr. >> >> This patch

Re: [Dovecot] [PATCH] Indexing mail attachments with Dovecot + Solr

2011-05-23 Thread Antonio Perez-Aranda
Sorry, I forgot to include the attachment. 2011/5/23 Antonio Perez-Aranda : > Indexing mail attachments with Dovecot + Solr. > > This patch has been tested with these versions: >  * dovecot 2.0.9 >  * apache-solr 1.4.1 > > This is a patch for the fts-solr plugin (that indexe

[Dovecot] [PATCH] Indexing mail attachments with Dovecot + Solr

2011-05-23 Thread Antonio Perez-Aranda
Indexing mail attachments with Dovecot + Solr. This patch has been tested with these versions: * dovecot 2.0.9 * apache-solr 1.4.1 This is a patch for the fts-solr plugin (that indexes mail messages for Dovecot with Solr). In main stream, the plugin does not index attachments; With this patch,

Re: [Dovecot] Intermitent ldap auth problems benchmarking dovecot

2011-04-12 Thread Antonio Perez-Aranda
Have you test with auth cache? I get very good results with this options: auth_cache_size = 10M auth_cache_ttl = 60 auth_cache_negative_ttl = 180 2011/4/12 Maria Arrea : > Hello > >  We are using SLAMD (Distributed Load Generation Engine, www.slamd.com) to > benchmark our dovecot server (ldap

Re: [Dovecot] Problems with pam+ldap + quota

2011-03-16 Thread Antonio Perez-Aranda
Yes, I think the same so, but is a customer requeriment. 2011/3/15 Sven Hartge : > Antonio Perez-Aranda wrote: > >> userdb { >>  driver = passwd >>  args = uid=exim gid=exim quota=*:bytes=%$ >> } > > BTW: I think it is very dangerous to use the exim-user and

Re: [Dovecot] Problems with pam+ldap + quota

2011-03-15 Thread Antonio Perez-Aranda
Ok I will try to use passdb with pam and userdb with ldap driver, although in another conf, this two fail together. El 15/03/2011 19:28, "Sven Hartge" escribió: > Antonio Perez-Aranda wrote: > >> Yes I know and I have some nodes with dovecot+ldap > >> But this

Re: [Dovecot] Problems with pam+ldap + quota

2011-03-15 Thread Antonio Perez-Aranda
need to put the nss attribute en %$ var or another. 2011/3/15 Sven Hartge : > Antonio Perez-Aranda wrote: > >> I think that I need to modify "/etc/ldap.conf" to remap some attribute >> with mailQuota from ldap, and then, try to catch this as arg. > >> Someone has p

[Dovecot] Problems with pam+ldap + quota

2011-03-15 Thread Antonio Perez-Aranda
I think that I need to modify "/etc/ldap.conf" to remap some attribute with mailQuota from ldap, and then, try to catch this as arg. Someone has pam+ldap+quota ? -- Antonio Pérez-Aranda Alcaide aperezara...@yaco.es Yaco Sistemas S.L. http://www.yaco.es/ C/ Rioja 5, 41001 Sevilla Teléfono +34 95

Re: [Dovecot] Evolution IMAP with Dovecot as proxy

2011-02-17 Thread Antonio Perez-Aranda
NTEXT=SEARCH QUOTA And courier seem run. 2011/2/17 Timo Sirainen : > On 17.2.2011, at 12.41, Antonio Perez-Aranda wrote: > >> If I do login on non migrated user: >> >> Trying 192.168.x.x ... >> Connected to kvm2. >> Escape character is '^]'. >> * O

Re: [Dovecot] Evolution IMAP with Dovecot as proxy

2011-02-17 Thread Antonio Perez-Aranda
T CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS QUOTA] Logged in Well, I set imap_capability = value1 value2 then we loose search, lists, context and many others. 2011/2/17 Antonio Perez-Aranda : > By adding this lin

Re: [Dovecot] Evolution IMAP with Dovecot as proxy

2011-02-17 Thread Antonio Perez-Aranda
By adding this line: imap_capability = +I18NLEVEL=1 NAMESPACE I get that outlook's 2003 filters run wihtout change any filter. Maybe Outlook don't read CAPABILITY i18nlevel/namespace after login. 2011/2/17 Timo Sirainen : > On 17.2.2011, at 11.59, Antonio Perez-Aranda wrote: >

Re: [Dovecot] Evolution IMAP with Dovecot as proxy

2011-02-17 Thread Antonio Perez-Aranda
Well, I fix Evolution, but now, migrated users with Outlook get errros with custom filters (I18NLEVEL=1) Is it possible to set the specific PRE-LOGIN capabilities and post-LOGIN capabilities? 2011/2/17 Antonio Perez-Aranda : > Great, Evolution is running. > > Thanks. > > > &

Re: [Dovecot] Evolution IMAP with Dovecot as proxy

2011-02-17 Thread Antonio Perez-Aranda
Great, Evolution is running. Thanks. 2011/2/17 Antonio Perez-Aranda : > Ok, until now, I change the Courier Capabilities, maybe I need change > prelogin dovecot capabilities. > > Ok, I try removing LITERAL+ and playing with any other prelogin capabilities. > > Thanks.

Re: [Dovecot] Evolution IMAP with Dovecot as proxy

2011-02-17 Thread Antonio Perez-Aranda
Ok, until now, I change the Courier Capabilities, maybe I need change prelogin dovecot capabilities. Ok, I try removing LITERAL+ and playing with any other prelogin capabilities. Thanks. 2011/2/17 Timo Sirainen : > On Wed, 2011-02-16 at 18:28 +0100, Antonio Perez-Aranda wrote: > >>

Re: [Dovecot] Evolution IMAP with Dovecot as proxy

2011-02-17 Thread Antonio Perez-Aranda
orks on Courier CAPABILITIES, I get read mails but it fail to fetch and other operations. It's very strange. 2011/2/16 Charles Marcus : > On 2011-02-16 12:28 PM, Antonio Perez-Aranda wrote: >> During migration process we are run Dovecot as proxy of Courier-imap >> until a

[Dovecot] Evolution IMAP with Dovecot as proxy

2011-02-16 Thread Antonio Perez-Aranda
We have some users who use Evolution as mail client. During migration process we are run Dovecot as proxy of Courier-imap until any user get migrated depend of ldap attribute. At present, the problem is that with Thunderbird and other clients, The client run as normal. But Evolution can't get new

Re: [Dovecot] TLS with autosigned certs

2011-02-15 Thread Antonio Perez-Aranda
Is possible mute this error? 2011/2/14 Antonio Perez-Aranda : > Is normal this info/error with autosigned certs? > > Feb 14 20:25:47 pop3-login: Info: Disconnected (no auth > attempts):ip=[127.0.0.1], port=[51243], protocol=pop3, TLS > handshaking: SSL_accept() failed: err

[Dovecot] TLS with autosigned certs

2011-02-14 Thread Antonio Perez-Aranda
Is normal this info/error with autosigned certs? Feb 14 20:25:47 pop3-login: Info: Disconnected (no auth attempts):ip=[127.0.0.1], port=[51243], protocol=pop3, TLS handshaking: SSL_accept() failed: error:14094418:SSL routines:SSL3_READ_BYTES:tlsv1 alert unknown ca: SSL alert number 48 I set on co

Re: [Dovecot] Logging on syslog and selected dovecot files at the sametime

2011-02-02 Thread Antonio Perez-Aranda
Greats, Thanks 2011/2/2 Charles Marcus : > On 2011-02-02 7:19 AM, Antonio Perez-Aranda wrote: >> Is it possible to send logs to syslog and files set by log_path and >> log_info_path on config? >> >> Just two logs at the same time (not realtime). > > This would

[Dovecot] Logging on syslog and selected dovecot files at the sametime

2011-02-02 Thread Antonio Perez-Aranda
Is it possible to send logs to syslog and files set by log_path and log_info_path on config? Just two logs at the same time (not realtime). -- Antonio Pérez-Aranda Alcaide aperezara...@yaco.es Yaco Sistemas S.L. http://www.yaco.es/ C/ Rioja 5, 41001 Sevilla Teléfono +34 954 50 00 57 Fax      +3

Re: [Dovecot] Dovecot Quota plugin as Couier quota

2011-01-02 Thread Antonio Perez-Aranda
think that I can use this with the ":" modification until delete-to-trash run on Dovecot 2.0 2010/12/30 Timo Sirainen : > On Mon, 2010-12-27 at 12:08 +0100, Antonio Perez-Aranda wrote: >> I get a similar behavior between dovecot quota plugin and courier >> quota with the

Re: [Dovecot] Can dovecot+solr search on attachments?

2010-12-28 Thread Antonio Perez-Aranda
Well, I test it in the next three/four weeks 2010/12/28 Timo Sirainen : > On 28.12.2010, at 11.30, Antonio Perez-Aranda wrote: > >> But ¿Does Dovecot sent all content of a message to Solr? ¿Are >> Attachment Included? >> >> Then, it's possible to allow in

Re: [Dovecot] Can dovecot+solr search on attachments?

2010-12-28 Thread Antonio Perez-Aranda
But ¿Does Dovecot sent all content of a message to Solr? ¿Are Attachment Included? Then, it's possible to allow indexing and return results on search only with some changes on Solr Scheme. 2010/12/28 Timo Sirainen : > On 28.12.2010, at 10.45, Antonio Perez-Aranda wrote: > >> I

[Dovecot] Can dovecot+solr search on attachments?

2010-12-28 Thread Antonio Perez-Aranda
I remember to read that dovecot+solr support search on mail attachment Is this true? Maybe, is needed to improve the basic solr schema to do this? -- Antonio Pérez-Aranda Alcaide aperezara...@yaco.es Yaco Sistemas S.L. http://www.yaco.es/ C/ Rioja 5, 41001 Sevilla Teléfono +34 954 50 00 57 Fax

[Dovecot] Kicking by dovecot as proxy?

2010-12-27 Thread Antonio Perez-Aranda
I'm using dovecot 2.0 as proxy to make easy the migration from Courier to Dovecot. ¿Is it possible to use doveadm kick on a proxy connection? Example: telnet (login as user1) -> dovecot (proxy) (user1) -> courier (user1) If I exec doveadm who on "dovecot", any user are connected. -- Antonio P

[Dovecot] Dovecot Quota plugin as Couier quota

2010-12-27 Thread Antonio Perez-Aranda
I get a similar behavior between dovecot quota plugin and courier quota with the attached patch. When the client change flags, then is forced to recalc. This is because I don't know how to get the changed flags on quota sync method. The courier quota behavior is avoid to count all deleted mails,

Re: [Dovecot] Plugin delete-to-trash on Dovecot 2.0

2010-12-23 Thread Antonio Perez-Aranda
Maybe, a good solution can be a flag setting to allow this behavior. 2010/12/23 Antonio Perez-Aranda : > Well, I am making a patch for this. > > At present, I modify the maildir recalc behavior to avoid count bytes > from Deleted messages marked. > > Now, I modify quota-storage

Re: [Dovecot] Plugin delete-to-trash on Dovecot 2.0

2010-12-23 Thread Antonio Perez-Aranda
happy. 2010/12/23 Antonio Perez-Aranda : > Reading this URL: > > http://www.courier-mta.org/imap/README.maildirquota.html > > It tell about deleted Messages: > > " > The default application configuration that uses this maildirquota > library does not count deleted m

Re: [Dovecot] Plugin delete-to-trash on Dovecot 2.0

2010-12-23 Thread Antonio Perez-Aranda
t are marked as deleted (but not yet actually removed), or messages that are moved to the Trash folder (which is subject to automatic purging) do not count towards the set quota. " Then, maybe ¿Is dovecot not maildirquota Maildir++ Courier compatible? 2010/12/23 Antonio Perez-Aranda : > Well,

Re: [Dovecot] Plugin delete-to-trash on Dovecot 2.0

2010-12-23 Thread Antonio Perez-Aranda
? Another behavior accepted is that all deleted mails goes to Trash folder and remove quota from this folder. 2010/12/22 Antonio Perez-Aranda : > There are some body using delete-to-trash on any version of Dovecot 2.0? > > -- > Antonio Pérez-Aranda Alcaide > aperezara...@yaco

[Dovecot] Plugin delete-to-trash on Dovecot 2.0

2010-12-22 Thread Antonio Perez-Aranda
There are some body using delete-to-trash on any version of Dovecot 2.0? -- Antonio Pérez-Aranda Alcaide aperezara...@yaco.es Yaco Sistemas S.L. http://www.yaco.es/ C/ Rioja 5, 41001 Sevilla Teléfono +34 954 50 00 57 Fax      +34 954 50 09 29

Re: [Dovecot] How to know if dovecot director is running OK?

2010-11-30 Thread Antonio Perez-Aranda
t find loop to proxy. If i don't tell port on pass_attrs, then the director are running on standard ports. with simple proxy without director with host/port on ldap it's running ok. 2010/11/30 Timo Sirainen : > On 29.11.2010, at 11.48, Antonio Perez-Aranda wrote: > >> If I p

Re: [Dovecot] How to know if dovecot director is running OK?

2010-11-29 Thread Antonio Perez-Aranda
dovecot director to balancing on Courier instances. ¿How can I change the standards ports in director? 2010/11/29 Antonio Perez-Aranda : > Well, I get a valid proxy config on passdb-ldap return pass_attrs like > that (in the opossite way to > http://wiki2.dovecot.org/PasswordDatabase/Ex

Re: [Dovecot] How to know if dovecot director is running OK?

2010-11-29 Thread Antonio Perez-Aranda
to fill it, director never acts. 2010/11/29 Antonio Perez-Aranda : > I can do a simple proxy for one to one instance with static, But I > can't get a running proxy with passdb ldap > > I have this line to try to get run proxy with ldap > > pass_attrs = uid=user,=y=proxy,=143

Re: [Dovecot] How to know if dovecot director is running OK?

2010-11-29 Thread Antonio Perez-Aranda
is already running with static passdb with proxy from machine one to machine two, with hardwrite in setting of machine one, "host" with machine two ip. 2010/11/29 Antonio Perez-Aranda : > I just find the follow link > > http://wiki2.dovecot.org/Director > > I will test it wit

Re: [Dovecot] How to know if dovecot director is running OK?

2010-11-29 Thread Antonio Perez-Aranda
I just find the follow link http://wiki2.dovecot.org/Director I will test it with Passdb Configuration. 2010/11/29 Antonio Perez-Aranda : > I already set auth_debug and mail_debug to yes but I can't watch proxy at > logs. > > ¿Is it needed some special data from LDAP

Re: [Dovecot] How to know if dovecot director is running OK?

2010-11-29 Thread Antonio Perez-Aranda
because we use distributed exim 2010/11/26 Timo Sirainen : > On Fri, 2010-11-26 at 14:53 +0100, Antonio Perez-Aranda wrote: >> If try to execute doveadm director status I can watch the two server like >> that: >> >> [r...@kvm1 ~]# doveadm director status >> mail

[Dovecot] How to know if dovecot director is running OK?

2010-11-26 Thread Antonio Perez-Aranda
I'm using director on dovecot 2.0 At present, I know that two instances are connected, If I stop of one system, then I can watch how to the connections are closed on port 5000. I defined 5000 as director port. I have one user (user1) connected to kvm1 (192.168.13.100) and kvm2 (192.168.13.101) se

[Dovecot] Quota by max file size

2010-11-26 Thread Antonio Perez-Aranda
Is It possible have a quota for max file size? Per example, If the client try to save a very big mail as draft, p.e. 100M, and the limit of Exim configuration is 20M, the mail is really saved in Maildir at sent or Draft but it can't be sent. I think maybe is easy to create a plugin, get the saved

Re: [Dovecot] Automatic expire on post-login

2010-11-24 Thread Antonio Perez-Aranda
Antonio Perez-Aranda wrote: > >> This is the content of postlogin.sh >> >> #!/bin/bash >> /usr/local/bin/doveadm -D expunge -A mailbox Trash savedbefore 30d >> /usr/local/bin/doveadm -D expunge -A mailbox MarcaSpam savedbefore 1w >> exec $* > > -A mea

Re: [Dovecot] Automatic expire on post-login

2010-11-24 Thread Antonio Perez-Aranda
I can't use a cronjob because is a customer requeriment and the time to expunge over 200.000 accounts over nfs can take a log time. 2010/11/24 Robert Schetterer : > Am 24.11.2010 09:57, schrieb Antonio Perez-Aranda: >> I need to clear two folder from Maildir at login. >> &

Re: [Dovecot] Automatic expire on post-login

2010-11-24 Thread Antonio Perez-Aranda
unix_listener imap-postlogin { } } This is the content of postlogin.sh #!/bin/bash /usr/local/bin/doveadm -D expunge -A mailbox Trash savedbefore 30d /usr/local/bin/doveadm -D expunge -A mailbox MarcaSpam savedbefore 1w exec $* 2010/11/24 Antonio Perez-Aranda : > I need to clear two folder f

[Dovecot] Automatic expire on post-login

2010-11-24 Thread Antonio Perez-Aranda
I need to clear two folder from Maildir at login. Exatly, delete all mails older than 30 days on Trash and 1 day on spam folder. I'm using dovecot 2.0 and I think about use a post-login script calling doveadm -u $user expunge but post-login scripts in dovecot 2.0 are very complex Is there possib

[Dovecot] dovecot-antispam-plugin for dovecot-2.0

2010-11-17 Thread Antonio Perez-Aranda
I'm migrating a customized dovecot-antispam-plugin from dovecot-antispam-plugn-1.3 which doesn't run in dovecot-2.0 Are any body using dovecot-antispam-plugin adapted to 2.0 from mercurial on a production system? This is the adapted version to dovecot 2.0 http://hg.dovecot.org/dovecot-antispam-pl

Re: [Dovecot] Trying to building a customized auth plugin

2010-11-16 Thread Antonio Perez-Aranda
oes ? something special or setting some rights > from users ? > > If was only auth, PAM is much more easy > > 2010/11/16 Antonio Perez-Aranda > >> Maybe, but I haven't got any experience with PAM modules as with dovecot. >> >> I have a preauthcustom.c fro

Re: [Dovecot] Trying to building a customized auth plugin

2010-11-16 Thread Antonio Perez-Aranda
he authentication hook, and rewrite it's actions. > > Inside the userdb.c have it void userdbs_init(void), but you change the > shared name, so you need to change inside your plugin too. > > But, you're trying to do something with auth, you can use PAM, it's more > e

Re: [Dovecot] Trying to building a customized auth plugin

2010-11-16 Thread Antonio Perez-Aranda
Well, all modules start with ifdef like this: #ifdef USERDB_CUSTOM And in this case, this isn't defined. I commet out this ifdef/else/if block and then I have got more errors, I can continure. 2010/11/16 Antonio Perez-Aranda : > Not, userdb-custom and passdb-custom are copies from

Re: [Dovecot] Trying to building a customized auth plugin

2010-11-16 Thread Antonio Perez-Aranda
name_init" > > > 2010/11/16 Antonio Perez-Aranda > >> Is it needed to include custom db on usedb.c and passdb.c ? >> >> I can see at userdb.c: >> >> void userdbs_init(void) >> >> with all userdb registered, and similar at passdb.c >>

Re: [Dovecot] Trying to building a customized auth plugin

2010-11-16 Thread Antonio Perez-Aranda
/dovecot/auth/libauthdb_custom.so: dlsym(authdb_custom_init) failed: /usr/lib64/dovecot/auth/libauthdb_custom.so: undefined symbol: authdb_custom_init Nov 16 17:54:28 auth: Error: Module doesn't have init function: /usr/lib64/dovecot/auth/libauthdb_custom.so 2010/11/16 Antonio Perez-Aranda : &

Re: [Dovecot] Trying to building a customized auth plugin

2010-11-16 Thread Antonio Perez-Aranda
Well, I didn't execute ./configure on $DOVECOT path 2010/11/16 Antonio Perez-Aranda : >  gcc -fPIC -shared -g -Wall \ >      -I$DOVECOT \ >      -I$DOVECOT/src/lib \ >      -I$DOVECOT/src/lib-auth  \ >      -I$DOVECOT/src/lib-sql \ >      -I$DOVECOT/src/lib-settings \ &g

Re: [Dovecot] Trying to building a customized auth plugin

2010-11-16 Thread Antonio Perez-Aranda
\ -DAUTH_MODULE_DIR=\"passdb-custom\"\ passdb-custom.c -o passdb-custom.o With this I get: error on auth-common.h ... config.h Not found. But config.h are in $DOVECOT path 2010/11/15 Timo Sirainen : > On 15.11.2010, at 18.03, Antonio Perez-Aranda wrote: > >> gcc -fP

[Dovecot] Trying to building a customized auth plugin

2010-11-15 Thread Antonio Perez-Aranda
I'm on dovecot 2.0.7 and I trying to building a customized auth plugin. I take passdb-passwd-file.c and userdb-passwd-file.c to try to build with a simple gcc comand out of dovecot environment as in example: export DOVECOT=/path/to/untar/dovecot-2.0.7 gcc -fPIC -shared -g -Wall -I$DOVECOT \

Re: [Dovecot] Filter from Outlook fails after migration

2010-11-15 Thread Antonio Perez-Aranda
After many checks. Outlooks 2003 filters are running with this at capability starts. imap_capability = +I18NLEVEL=1 NAMESPACE 2010/11/10 Timo Sirainen : > On Wed, 2010-11-10 at 17:32 +0100, Antonio Perez-Aranda wrote: >> Well, If I put all capabalities in the prelogin message, fi

Re: [Dovecot] Filter from Outlook fails after migration

2010-11-10 Thread Antonio Perez-Aranda
Well, If I put all capabalities in the prelogin message, filters are running correctly I hate Outlook ... 2010/11/10 Antonio Perez-Aranda > I try with Dovecot 2.0.6 and I have got the same problems > > 2010/11/3 Antonio Perez-Aranda > > I did a list and lsub in the two server

Re: [Dovecot] Filter from Outlook fails after migration

2010-11-10 Thread Antonio Perez-Aranda
I try with Dovecot 2.0.6 and I have got the same problems 2010/11/3 Antonio Perez-Aranda > I did a list and lsub in the two servers with the same account and the > only difference that we could watch is HasChildren/HasNoChildren in > INBOX and fully differente in LSUB > > The n

Re: [Dovecot] dovecot2.0+ldap auth problems

2010-11-10 Thread Antonio Perez-Aranda
Well, I have discover the problem. It's related with tunin settings, I comment out all of this (max process, max ram, max clients, and similar) and it's is running now. 2010/11/10 Antonio Perez-Aranda > I'm using a config from dovecot 1.2 adapted to 2.0 > > After up

[Dovecot] dovecot2.0+ldap auth problems

2010-11-10 Thread Antonio Perez-Aranda
I'm using a config from dovecot 1.2 adapted to 2.0 After update config, and restart dovecot service: If I do a doveadm user user1 then it is found correctly. If I do a doveadm auth user1 then it is ask for the password user, and it's running correctly. But if I tray to login by telnet using

Re: [Dovecot] Estimación de horas del cambio a Dovec ot 2.0

2010-11-08 Thread Antonio Perez-Aranda
Sorry for this mail. It's not for this mail-list. El 8 de noviembre de 2010 16:00, Marcus Rueckert escribió: > and now in english please. > >darix > > -- > openSUSE - SUSE Linux is my linux > openSUSE is good for you > www.opensuse.org >

[Dovecot] Estimación de horas del cambio a Dovec ot 2.0

2010-11-08 Thread Antonio Perez-Aranda
Actualmente tenemos dovecot 1.2.15 que ha demostrado ser bastante estable, pero con el que podemos tener problemas de corrupción en ficheros de índices de Dovecot (dovecot-uidlist). Este problema, podría llegar a ocasionar la descarga de todos los correos desde el cliente del usuario. En Dovecot 2

Re: [Dovecot] Filter from Outlook fails after migration

2010-11-03 Thread Antonio Perez-Aranda
suscriptions files. It's very strange. Maybe Outlook has a incorrect charset. All the subscribed folder are visible at Outlook. 2010/11/3 Timo Sirainen : > On Wed, 2010-11-03 at 19:18 +0100, Antonio Perez-Aranda wrote: >> We have some users which use Outlook 2003. After migration de Maildir &

[Dovecot] Filter from Outlook fails after migration

2010-11-03 Thread Antonio Perez-Aranda
We have some users which use Outlook 2003. After migration de Maildir from Courier to Dovecot, this user have some errors on their accounts because Outlook filters don't run. Some of this folders name contain chars like '-' but another folder with only letters fails too. Then ¿Does any people hav

[Dovecot] Solicitud de atributo mailPlugins en el ldap

2010-10-26 Thread Antonio Perez-Aranda
Antes del piloto o durante el piloto deberíamos tener este atributo disponible en el ldap. El campo debe de ser único y admitir información en una línea. En un principio, para los usuarios con búsquedas tendría el contenido "fts fts_squat" Para la segunda fase será un requisito casi indispensabl

Re: [Dovecot] ldap whithout base

2010-10-25 Thread Antonio Perez-Aranda
Well, I get a valid basedn config 2010/10/25 Timo Sirainen : > On Mon, 2010-10-25 at 13:59 +0200, Antonio Perez-Aranda wrote: >> It's possible to configure a ldap passdb and userdb without base? > > I guess you could leave it empty. Dovecot doesn't add any restrictions &g

[Dovecot] ldap whithout base

2010-10-25 Thread Antonio Perez-Aranda
It's possible to configure a ldap passdb and userdb without base? Now, it's running but it can't authenticate users and it sent a message like that after . login . NO [UNAVAILABLE] Temporary authentication failure.

Re: [Dovecot] dovecot-antispam-1.3 multiple plugin load

2010-10-24 Thread Antonio Perez-Aranda
ugins code. 2010/10/24 Antonio Perez-Aranda : > I need to detect when a mail is moved to a specific folder. > >  It's mail is moved to folder1, then exec script 1 >  It's mail is moved to folder2, then exec script 2 > > One of this scripts it's a mark as ham, It

Re: [Dovecot] dovecot-antispam-1.3 multiple plugin load

2010-10-24 Thread Antonio Perez-Aranda
and then, leave the mail where it came from, or inbox. 2010/10/24 Eugene Paskevich : > On Sun, Oct 24, 2010 at 02:20:03AM +0200, Antonio Perez-Aranda wrote: >> I have running dovecot-1.2.15 and I try whith dovecot-antispam-1.3 and >> 1.2-* if it's running for me. >> >>

[Dovecot] dovecot-antispam-1.3 multiple plugin load

2010-10-23 Thread Antonio Perez-Aranda
Hi all, I have running dovecot-1.2.15 and I try whith dovecot-antispam-1.3 and 1.2-* if it's running for me. I use mailtrain backend to call a script when I move a mail to a specific folder. Then, I set allow_append_to_spam: yes At .config for Make dovecot-antispam. I set the plugin's name to:

Re: [Dovecot] Campo de quota en LDAP

2010-10-20 Thread Antonio Perez-Aranda
Sorry, this mail isn't for this maillist.

[Dovecot] Campo de quota en LDAP

2010-10-20 Thread Antonio Perez-Aranda
En un principio, en los ldif que tenemos de los usuarios de prueba, tenemos el campo mailQuota. Sin embargo, si nos vamos a los schemas de qmail medianamente, con algo más de 3 años, se cambió mailQuota por mailQuotaSize y mailQuoatCount. Esto se debe entre otras cosas a que en la cabecera del fich

[Dovecot] threaed ordered subject algorithm

2010-10-20 Thread Antonio Perez-Aranda
We have custom plugins for squirrelmail which use thread orderedsubject, but according to capabilities dovecot only support thread by references algorithm. At present, we are using Courier with this capabilities (two algorithms are implemented). Could we use orderedsubject in dovecot?

Re: [Dovecot] Imap Logout format

2010-10-19 Thread Antonio Perez-Aranda
Umm, and ¿Is it possible to log FETCH actions without modifying the code? Mail logger plugin can't let me set FETCH as event to log. Then I could count the number of header/body retrieved. 2010/10/18 Timo Sirainen : > On Mon, 2010-10-18 at 19:05 +0200, Antonio Perez-Aranda wrote: &g

[Dovecot] Imap Logout format

2010-10-18 Thread Antonio Perez-Aranda
He all, I'm migrating a big system from Courier to Dovecot and we have a custom analyzer logger system to Courier logs. We have got the very similar specs on IMAP LOGIN log, but I can't get the Logout format. Courier write like that: ... imapd: LOGOUT, user=luism.martinez, ip=[:::127.0.0.1]

Re: [Dovecot] Split plugin config in diferents files

2010-10-18 Thread Antonio Perez-Aranda
Really greats, It's running. Thanks you. 2010/10/18 Timo Sirainen : > Probably. Try. > > On Mon, 2010-10-18 at 16:51 +0200, Antonio Perez-Aranda wrote: >> It's greats. >> but ¿in 1.2? >> >> 2010/10/14 Timo Sirainen : >> > On Thu, 2

Re: [Dovecot] Split plugin config in diferents files

2010-10-18 Thread Antonio Perez-Aranda
It's greats. but ¿in 1.2? 2010/10/14 Timo Sirainen : > On Thu, 2010-10-07 at 12:10 +0200, Antonio Perez-Aranda wrote: > >> Is possible to split dovecot.conf with a very very big plugin {} section? >> >> Maybe, some like apache with sites-enabled.d > > If you loo

Re: [Dovecot] Visible temp files as Imap Folder in INBOX

2010-10-07 Thread Antonio Perez-Aranda
In use as filesystem locked? maybe created by NFS server? If dovecot died then the temporary file is permanent. 2010/10/7 Marcus Rueckert : > On 2010-10-07 12:53:45 +0200, Antonio Perez-Aranda wrote: >> I'm using dovecot-1.2.15 and NFS as storage of Maildir . When I try &g

[Dovecot] Visible temp files as Imap Folder in INBOX

2010-10-07 Thread Antonio Perez-Aranda
Hi all, I'm using dovecot-1.2.15 and NFS as storage of Maildir . When I try over IMAP and Evolution to move a mail to another Imap Folder, a file like .nfs0159816c245 is created and when move operation is finished, the file is deleted. Sometimes, this file isn't deleted and then, you

[Dovecot] Split plugin config in diferents files

2010-10-07 Thread Antonio Perez-Aranda
Hi all, Is possible to split dovecot.conf with a very very big plugin {} section? Maybe, some like apache with sites-enabled.d Then, we could have a file per plugin.

Re: [Dovecot] Imap Folder activity detect

2010-10-06 Thread Antonio Perez-Aranda
with it. 2010/10/6 Tom Hendrikx > On 06/10/10 13:26, Antonio Perez-Aranda wrote: > > Hi all, > > > > We are migrating a mail service with 80.000 users, and 40.000 of them are > > using IMAP. > > > > At present, this service is handled by Courier, with some

[Dovecot] Imap Folder activity detect

2010-10-06 Thread Antonio Perez-Aranda
Hi all, We are migrating a mail service with 80.000 users, and 40.000 of them are using IMAP. At present, this service is handled by Courier, with some custom patches. And we are migrating to Dovecot 1.2.15. One of these patches is used to interact with Spamassassin. If Courier detects any move/