search for: result_success

Displaying 20 results from an estimated 109 matches for "result_success".

2014 Jun 01
0
Combining userdbs
...d be to set user-specific quotas for a few users with a specific passwd-file like this : cat /etc/dovecot/quotas foo:x::::::userdb_quota_rule=*:storage=2G The first userdb is passwd (with pam passwd): userdb { driver = passwd result_failure = return-fail result_internalfail = return-fail result_success = continue-ok skip = never } The second one is for the specific quota userdb { args = username_format=%n /etc/dovecot/quotas driver = passwd-file result_failure = continue result_internalfail = continue result_success = return-ok skip = notfound } User 'foo' exists in (pam) p...
2020 Mar 30
2
Panic/Assert dns-lookup.c
...id = 48 import_environment = TZ last_valid_uid = 48 login_trusted_networks = 192.168.11.0/24 mail_gid = pop mail_plugins = " mail_log notify zlib quota" mail_uid = pop passdb { args = /etc/dovecot/conf.d/dovecot-ldap-domain-proxy.conf.ext driver = ldap result_failure = return-fail result_success = continue-ok } passdb { args = allow_real_nets=192.168.11.0/24 driver = static result_failure = continue-ok } passdb { args = /etc/dovecot/conf.d/dovecot-ldap-domain-protocol-deny.conf.ext driver = ldap result_failure = return-ok result_success = return-fail } passdb { args = /etc/...
2018 Oct 17
2
dovecot passdb driver=checkpassword as external script for block ip
Refer to https://dovecot.org/pipermail/dovecot/2015-March/099971.html https://wiki.dovecot.org/PasswordDatabase I tried to repeat the same thing. Set these passdb: passdb { args = /myscript.sh ip=%r driver = checkpassword result_failure = return-fail result_success = continue } passdb { args = /etc/dovecot/dovecot-sql.conf.ext ( my working auth method ) driver = sql } Created executable /myscript.sh: #!/bin/sh exit 1 But I saw in the logs: dovecot[15111]: auth: Error: checkpassword(techdept at nestormedia.com,192.168.99.128,<Mos6jW94XNzAqGOA>): C...
2020 Mar 30
0
Panic/Assert dns-lookup.c
...d = 48 > login_trusted_networks = 192.168.11.0/24 > mail_gid = pop > mail_plugins = " mail_log notify zlib quota" > mail_uid = pop > passdb { > args = /etc/dovecot/conf.d/dovecot-ldap-domain-proxy.conf.ext > driver = ldap > result_failure = return-fail > result_success = continue-ok > } > passdb { > args = allow_real_nets=192.168.11.0/24 > driver = static > result_failure = continue-ok > } > passdb { > args = /etc/dovecot/conf.d/dovecot-ldap-domain-protocol-deny.conf.ext > driver = ldap > result_failure = return-ok >...
2014 May 11
1
Segfault with passwd as a second userdb at auth_fields_rollback
...dovecot --version 2.2.12 $ doveconf # passdb/userdb/auth related passdb { args = username_format=%u scheme=CRYPT /etc/dovecot/users default_fields = deny = no driver = passwd-file master = no override_fields = pass = no result_failure = continue result_internalfail = continue result_success = return-ok skip = never } passdb { args = default_fields = deny = no driver = pam master = no override_fields = pass = no result_failure = continue result_internalfail = continue result_success = return-ok skip = never } service auth { chroot = client_limit = 0 drop...
2020 Sep 03
0
ltmp delivery with ldap and prefetch
...:homeDirectory} [2] pass / user db's passdb { args = /etc/dovecot/dovecot-ldap.conf.ext auth_verbose = default default_fields = deny = no driver = ldap master = no mechanisms = name = override_fields = pass = no result_failure = continue result_internalfail = continue result_success = return-ok skip = never username_filter = } userdb { args = /etc/dovecot/special-userdb auth_verbose = default default_fields = driver = passwd-file name = override_fields = result_failure = continue result_internalfail = continue result_success = return-ok skip = never } u...
2016 Jul 10
3
Panic: file mdbox-save.c: line 337: unreached
...autoexpunge = 90 days special_use = \Junk } mailbox Trash { autoexpunge = 90 days special_use = \Trash } prefix = separator = / } passdb { args = /etc/dovecot/dovecot-ldap-old.conf.ext driver = ldap result_failure = continue-fail result_internalfail = continue-fail result_success = continue-ok skip = authenticated } passdb { args = /etc/dovecot/dovecot-ldap-new.conf.ext driver = ldap result_failure = return-fail result_internalfail = return-fail result_success = continue-ok skip = authenticated } plugin { pop3_migration_ignore_missing_uidls = yes pop3_migr...
2016 Jul 09
2
Raw backtrace multiple passwords not allowed
...password.. some other users do not when seeing this error. I run multiple passdb and config is: passdb { args = /etc/dovecot/dovecot-ldap-proxy-alias.conf.ext default_fields = nopassword=y password= driver = ldap result_failure = continue-fail result_internalfail = continue-fail result_success = continue-ok } passdb { args = scheme=plain username_format=%l@%d /etc/dovecot/passwd.domains default_fields = nopassword=y password= driver = passwd-file result_success = continue-fail } passdb { args = /etc/dovecot/dovecot-ldap-proxy.conf.ext driver = ldap } LDAP passdb spec...
2019 Feb 14
1
dovecot/lmtp dumps core when proxying to multiple recipients via protocol=smtp
...ndex ihave duplicate mime foreverypart extracttext passdb { args = /etc/dovecot.deny deny = yes driver = passwd-file } passdb { args = /etc/dovecot/private/passwd.masterusers driver = passwd-file master = yes } passdb { args = /etc/dovecot/dovecot-ldap.staff.conf.ext driver = ldap result_success = continue-ok } passdb { args = /etc/dovecot/migration/migrate-staff driver = passwd-file name = passdb_staff_query } passdb { args = /etc/dovecot/dovecot-ldap.students.conf.ext driver = ldap result_success = continue-ok } passdb { args = /etc/dovecot/migration/migrate-students driv...
2017 Jan 19
5
Segfault on LIST Command
...ecutable = pop3 postlogin } service postlogin { executable = script-login -d rawlog } service quota-warning { executable = script /bin/quota-warning.sh } ssl = no userdb { args = /etc/dovecot/userdb-ldap.conf driver = ldap result_failure = return-fail result_internalfail = return-fail result_success = continue-ok } userdb { default_fields = quota_bytes=42M driver = bdb_quota override_fields = quota_rule=*:bytes=%{userdb:quota_bytes} result_failure = return-fail result_internalfail = return-fail result_success = continue-ok } verbose_proctitle = yes protocol lda { auth_socket_path...
2015 Nov 17
2
Disabling auth fallback to PAM
Hi folks, According to the wiki,? it's considered a feature of Dovecot and its ability to support multiple authentication sources that "if the password doesn't match in the first database, it checks the next one". ?) http://wiki.dovecot.org/Authentication/MultipleDatabases I think it's great that Dovecot allows auth sources to be stacked like this, but I am not sold on the
2015 May 08
1
Additional userdb variables in passwd [was Re: Dovecot Replication - Architecture Endianness?]
...system >>>> users and PAM or do I need to basically create a new static >>>> userdb for system users? >>> >>> You can create a new userdb passwd-file that adds extra fields. >>> So something like: >>> >>> userdb { driver = passwd result_success = continue-ok } >>> >>> userdb { driver = passwd-file args = /etc/dovecot/passwd.extra >>> skip = notfound } >> >> This doesn't seem to work for me and my config has that exact >> config. My password.extra file has just one line for the one >>...
2015 May 07
2
Additional userdb variables in passwd [was Re: Dovecot Replication - Architecture Endianness?]
...gt;> One last question. Is it possible to achieve this with system users and PAM or do I need to basically create a new static userdb for system users? > > You can create a new userdb passwd-file that adds extra fields. So something like: > > userdb { > driver = passwd > result_success = continue-ok > } > > userdb { > driver = passwd-file > args = /etc/dovecot/passwd.extra > skip = notfound > } This doesn't seem to work for me and my config has that exact config. My password.extra file has just one line for the one account I am testing with at...
2017 Dec 28
2
Problem with master password
Hi, I have a problem using the master password feature of dovecot. I'm able to login with the password but then dovecot can't select the INBOX. IMAP test: * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE STARTTLS AUTH=PLAIN AUTH=LOGIN AUTH=DIGEST-MD5 AUTH=SCRAM-SHA-1 AUTH=CRAM-MD5] ITronic Mail Store a login user at itronic.at*admin password a OK
2015 Mar 05
1
RBL with stock Dovecot 2.2.15 (was Re: IP drop list)
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Steffen Kaiser wrote: > passdb { driver = ipdeny args = <host>/matchpattern/action .... > *** } > With next passdb{} as 1st in chain: passdb { driver = checkpassword args = "/tmp/chktst ip=%r service=%s" result_success = continue result_failure = return-fail } and this script BEGIN /tmp/chktst #!/bin/bash echo "$@" >>/tmp/chktst.log # return OK exit 0 # return FAIL exit 1 END I get the log entry: ip=127.0.0.1 service=imap /usr/local/dovecot-2.2.15/libexec/dovecot/checkpassword-reply and with...
2017 Jan 23
1
Log authentication attempts
...l need to record all failed and successful login attempts. We need to record remote IP, entered password in plain text, and if possible whether auth request is for SMTP or IMAP session. I checked http://wiki.dovecot.org/PostLoginScripting and noticed that post-login scripts are executed only after result_success, but not after result_failure (password mismatch). Also I read http://wiki.dovecot.org/PasswordDatabase where I saw that since version 2.2.10 it is possible to control what happens after passdb check, but allowed result values don't include executing custom script. Does anyone know a way to c...
2017 Feb 24
2
Users with multiple password
Hi! ~ dovecot --version 2.2.22 (fe789d2) I am wondering if there is a way to set up virtual users with multiple valid passwords. We want to be able to provide users with device/app-specific passwords for their email accounts, as well as being able to create temporary "access tokens" for technical support when required. I quickly found out that passdb using passwd-file or an
2017 Dec 28
0
Problem with master password
...ithner at itronic.at> wrote: > > } > passdb { > args = /etc/dovecot/master-users > driver = passwd-file > master = yes > pass = yes > } > passdb { > args = /etc/dovecot/dovecot-sql.conf.ext > driver = sql > } the default behaviour for first passdb is: result_success = return-ok, so the second passdb is skipped if authentication was successfull. I guess you return some user specific variables from the second passdb which makes INBOX unaccessible with master login as dovecot does not know mailbox location. maybe you should add result_success = continue-ok to t...
2014 Jan 25
1
userdb maildir permission denied in 2.1.7
...ng version 2.1.7 which currently ships with debian stable. I'd like to use userdb { driver = passwd-file args = username_format=%n /etc/dovecot/users default_fields = uid=vmail gid=vmail override_fields = skip = never result_failure = continue result_internalfail = continue result_success = return-ok } from [1]. The error message is: Jan 25 14:02:03 post1 dovecot: lda(chris): Error: user chris: Initialization failed: Namespace '': stat(/home/vmail/chris/Maildir) failed: Permission denied (euid=1000(chris) egid=1000(chris) missing +x perm: /home/vmail/chris, dir owned by 1...
2014 Sep 22
0
numeric username
..._username_format = %Ln auth_username_translation = ... lmtp_address_translate = ... passdb { args = cache_key=%u%s dovecot default_fields = deny = no driver = pam master = no name = override_fields = pass = no result_failure = continue result_internalfail = continue result_success = return-ok skip = never } ... service lmtp { chroot = client_limit = 1 drop_priv_before_exec = no executable = lmtp extra_groups = group = idle_kill = 0 privileged_group = process_limit = 0 process_min_avail = 5 protocol = lmtp service_count = 0 type =...