search for: default_fields

Displaying 20 results from an estimated 341 matches for "default_fields".

2008 Jan 02
4
utility of default_field
The documentation* states that when using a single index for multiple models, the default_field list should be set to the same thing for all models. However, in my application, all my models have very different fields and this is not possible. I still want the results returned sorted by term frequency across all indexed content in each model. What is the purpose of default_field? Under
2015 Feb 27
3
userdb passwd-file default_fields uid not expanding %variable
...Sent Messages" { special_use = \Sent } mailbox Trash { special_use = \Trash } prefix = } passdb { args = username_format=%n /home/%d/mail_users driver = passwd-file } protocols = " imap lmtp pop3" ssl = no userdb { args = username_format=%n /home/%d/mail_users default_fields = uid=%d gid=%d home=/home/%d/mail/%n mail=maildir:/home/%d/mail/%n driver = passwd-file } Every time I try to authenticate via imap, I get the error > <timestamp> <host> dovecot: auth: Fatal: passwd-file userdb: Invalid uid: %d If I put fixed a uid and gid in the userdb defaul...
2014 Nov 20
0
redis dict auth and default_fields
Hi all, i'm trying to configure default_fields with redis dict (allow_nets, proxy, ...) but it seems that the properties defined are not used even if they appear on output of doveconf. It is a known behaviour? Does default_fields works only for ldap db? I have a director+NFS environment and with dict passdb i'have to put proxy=y for every...
2015 Feb 27
0
userdb passwd-file default_fields uid not expanding %variable
...{ > special_use = \Trash > } > prefix = > } > passdb { > args = username_format=%n /home/%d/mail_users > driver = passwd-file > } > protocols = " imap lmtp pop3" > ssl = no > userdb { > args = username_format=%n /home/%d/mail_users > default_fields = uid=%d gid=%d home=/home/%d/mail/%n > mail=maildir:/home/%d/mail/%n > driver = passwd-file > } Every time I try to authenticate via imap, I get the error > <timestamp> <host> dovecot: auth: Fatal: passwd-file userdb: Invalid uid: > %d > If I put fixed a uid and...
2015 Mar 02
0
userdb passwd-file default_fields uid not expanding %variable
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Fri, 27 Feb 2015, Tim Jones wrote: > userdb { > args = username_format=%n /home/%d/mail_users > default_fields = uid=%d gid=%d home=/home/%d/mail/%n > mail=maildir:/home/%d/mail/%n > driver = passwd-file > } > > Every time I try to authenticate via imap, I get the error > >> <timestamp> <host> dovecot: auth: Fatal: passwd-file userdb: Invalid uid: %d Putting aside the q...
2006 Sep 22
1
QueryParser bug?
I cooked up a little script to show what I mean. This doesn''t look right to me, but maybe I just completely misunderstand QueryParser. Same output on mswin32, unix, ferret 0.9 and 0.10 Cheers, Sam require ''rubygems'' require ''ferret'' p Ferret::VERSION # 0.10.6 index = Ferret::Index::Index.new() index << {:title => "Programming
2019 Nov 06
2
Dovecot mangesieve proxy - internal failure
...gt;> On 06/11/2019 16:46 telsch via dovecot <dovecot at dovecot.org> wrote: > >>> > >>> > >>> If i change it to: > >>> > >>> passdb { > >>> args = /etc/dovecot-proxy/dovecot-ldap-passdb.conf.ext > >>> default_fields = proxy=y host=server.intra.lan port=143 starttls=yes > >>> master=proxy pass=#hidden_use-P_to_show# > >>> driver = ldap > >>> } > >>> > >>> I still got the same error for mangesieve. IMAP login works with both > >>> SSL/STA...
2017 Jul 07
2
Return extra fields from passwd userdb
...rvice imap-postlogin { executable = script-login /usr/local/bin/imap-postlogin.sh user = $default_internal_user } service imap { executable = imap imap-postlogin } ssl = no ssl_cert = </conf/etc/cert/certs/services/imap_pop/majornet.crt ssl_key = # hidden, use -P to show it userdb { default_fields = quota_rule=*:bytes=%$ driver = passwd } protocol lda { info_log_path = /var/log/dovecot/dovecot-lda.log log_path = /var/log/dovecot/dovecot-lda.log mail_plugins = acl quota sieve } protocol imap { mail_max_userip_connections = 20 mail_plugins = acl quota imap_acl imap_quota }...
2017 Jul 20
3
Return extra fields from passwd userdb
Hi, thanks for your helpful reply. I understand that default_fields is not my solution. To be more accurate, all users in ldap db need to use mail, but some users in /etc/passwd file use mail too. For this reason I set up "driver=passwd" in userdb section and in /etc/nsswitch.conf I set up "passwd: files ldap". Now I want to use dovec...
2014 May 11
1
Segfault with passwd as a second userdb at auth_fields_rollback
...set up dovecot to support passwd-file + passwd/PAM auth. I made an unusual config (passwd-file as userdb failed to work for me), which uses static as userdb: =============== passdb { driver = passwd-file args = username_format=%u scheme=CRYPT /etc/dovecot/users } userdb { driver = static default_fields = uid=vmail gid=vmail home=/var/spool/mail/%d/%n } passdb { driver = pam } userdb { driver = passwd } =============== While passwd-file+static worked well, passwd/PAM caused trouble: $ doveadm user xxx doveadm(root): Error: userdb lookup(xxx): Disconnected unexpectedly field value If passw...
2020 Feb 06
2
noreplicate for some users
...some users. Currently this does not seem to work. Version 2.3.9.2 Relevant Settings: File users: mail at domain.de:{SHA}hash:::t: passdb { driver = passwd-file args = username_format=%u /etc/dovecot/users } userdb { driver = passwd-file args = username_format=%u /etc/dovecot/users default_fields = uid=2222 gid=2222 home=/var/vmail/%d/%n userdb_noreplicate=t } After restart of dovecot I allways get all users with sudo doveadm replicator status "*" usernamepriority fast sync full sync success sync failed abuse at domain.net none 00:01:58 03:52:23 - y...
2017 Jul 10
0
Return extra fields from passwd userdb
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Fri, 7 Jul 2017, Michele Petrella wrote: > Output of dovecot -n: > # 2.2.29.1 (e0b76e3): /var/etc/dovecot/dovecot.conf > # Pigeonhole version 0.4.18 (29cc74d) > # OS: Linux 3.10.55-gentoo i686 SuSE Linux 7.1 (i386) > userdb { > default_fields = quota_rule=*:bytes=%$ > driver = passwd > } > I have problems in return extra fields from passwd userdb. My users are > partially in passwd files and partially in LDAP. Users who use mail are in > LDAP db. > If I use "default_fields = quota_rule=*:bytes=100M" in u...
2018 Oct 04
1
Username aliases
...gt; > This hopefully works. > > Aki This does appear to work, thanks! As an optimization of the alias file, we tried setting "override_fields = noauthenticate" in the passdb instead of placing it as an extra field for every entry, however this does not work. Setting "default_fields = noauthenticate" does work, however. Why is this? According to the documentation, default_fields and override_fields are the same, except the latter one will override fields returned by the passdb? I would expect either configuration to set the "noauthenticate" flag. Does overr...
2006 Jul 18
10
searching with chinese chars
Hi all, maybe not a Ferret question, but I assume here might have came across that already. I wrote a simple CGI app that adds docs into a Ferret index. The idea is testing asian languages input and searching. The script that does the input seems to be OK. As David mentioned in a question I made a little while ago, Ferret''s index is agnostic, in the sense that you can store anything in
2015 Jun 29
2
LDAP default value variable interpolation
I'm wondering if there is a way I can dynamically generate an LDAP default value by using variables. I have a configuration that works something like this on my front end proxy: pass_attrs = mail=user,\ =nopassword=y,\ =proxy=y,\ =host=mail.%d The above works perfectly well even though it seems a bit hack. I want to fetch the host field from LDAP and default it to "mail.%d"
2019 Dec 16
0
Local lmtp proxy on backend server
...lmtp_proxy = yes protocol lmtp { # Space separated list of plugins to load (default is global mail_plugins). mail_plugins = $mail_plugins sieve info_log_path = /var/log/dovecot-lmtp.log # for getting local lmtp proxy to work passdb { driver = passwd skip = authenticated default_fields = proxy=y host=svr2 } } service lmtp { vsz_limit = 768M executable = lmtp -L inet_listener lmtp { address = 192.168.10.45 port = 24 } unix_listener lmtp { mode = 0666 } } -----Original Message----- To: aki.tuomi; dovecot Subject: RE: Local lmtp proxy on backend ser...
2007 Mar 12
5
index.rb:384 [BUG]
Hi folks, I''ve working and playing with acts_as_ferret and follow this fantastic tutorial: http://www.railsenvy.com/2007/2/19/acts-as-ferret-tutorial When I try to implement the field storage tip, it crash. So, I try to make it via script/console: 1. I have a simple model called Articles: class Article < ActiveRecord::Base acts_as_ferret :fields =>
2019 Dec 16
5
Local lmtp proxy on backend server
Hi Aki, If I adapt this configuration on svr1 like this[0], should the mail not be delivered at svr2 passdb { driver = pam # [session=yes] [setcred=yes] [failure_show_msg=yes] [max_requests=<n>] # [cache_key=<key>] [<service name>] #args = dovecot default_fields = proxy=y host=svr2 } passdb { driver = passwd skip = authenticated default_fields = proxy=y host=svr2 } -----Original Message----- From: Aki Tuomi [mailto:aki.tuomi at open-xchange.com] Sent: 16 December 2019 06:22 To: Marc Roos; dovecot Subject: Re: Local lmtp proxy on backend server...
2006 Apr 13
3
QueryParser doesn''t use StandardAnalyzer correctly?
I am having a bit of a problem with my search queries being parsed correctly it seems, and I wonder if anyone else has experienced this. I have written an index using StandardAnalyzer for analysis. I want to search that index by passing my user query through a QueryParser instance which is also using a StandardAnalyzer. However the resultant query does not seem to be a valid term query and
2019 Dec 15
3
Local lmtp proxy on backend server
...n. However when I just add only one configuration change 'lmtp_proxy = yes' I am getting these errors[1]. I would expect this email to still be delivered locally, should this be working or do I misunderstand the lmtp proxy functionality? [0] passdb { args = auth_verbose = default default_fields = proxy=y host=svr1 deny = no driver = pam [1] Dec 15 23:28:48 svr1 dovecot: lmtp(9270): Debug: none: root=, index=, indexpvt=, control=, inbox=, alt= Dec 15 23:28:48 svr1 dovecot: lmtp(9270): Connect from local Dec 15 23:28:48 svr1 dovecot: auth: Debug: master in: PASS#0111#011test#011serv...