Displaying 20 results from an estimated 10000 matches similar to: "iterate users with passwd-file passdb?"
2015 Oct 13
2
iterate users with passwd-file passdb?
On 14 Oct 2015, at 00:01, Eric Abrahamsen <eric at ericabrahamsen.net> wrote:
>
> Joseph Tam <jtam.home at gmail.com> writes:
>
>> Eric Abrahamsen writes:
>>
>>> Simply: Is it possible to iterate over users if I'm using the
>>> passwd-file passdb driver? Do I need a SQL-based driver if I want to
>>> iterate?
>>
>> What
2014 May 11
1
Segfault with passwd as a second userdb at auth_fields_rollback
Hello,
I've been trying to 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
}
2014 Jun 01
0
Combining userdbs
Hi,
I think that using more than one userdb with setting the result
actions doesn't work as expected from the documentation.
The goal would 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 =
2014 Nov 21
1
Unable to see virtual users
I have a new Dovecot v2.2.9 installation and am having trouble
getting virtual users recognized.
Also, the example configuration listed on the Wiki generates config errors.
Note that I haven't tried running dovecot yet, I wanted to verify
that the config looked good first.
First, my configuration. I'm trying to use /etc/dovecot/users as my
combined userdb and passdb file, with all
2014 Jan 25
1
userdb maildir permission denied in 2.1.7
Dear All,
I'm using 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
2020 Sep 03
0
ltmp delivery with ldap and prefetch
I am able to authorize and connect via imap. But I am not able to
deliver a message via lmtp
I am getting this error message.
passdb didn't return userdb entries, trying the next userdb
[1] dovecot-ldap.conf.ext
pass_attrs =
uid=user,userPassword=password,host=host,homeDirectory=userdb_home,uidNu
mber=userdb_uid,gidNumber=userdb_gid
user_attrs =
2016 Jul 10
3
Panic: file mdbox-save.c: line 337: unreached
Recently updated to 2.2.25. Noticed a migration script I've been
previously running fine started giving me the errors below.
Remove server doesn't log any failure. doveconf -n attached.
+ /bin/doveadm -o mail_fsync=never backup -R -u user at domain.com imapc:
dsync(user at domain.com): Panic: file mdbox-save.c: line 337: unreached
dsync(user at domain.com): Error: Raw backtrace:
2015 Oct 13
2
iterate users with passwd-file passdb?
Eric Abrahamsen writes:
> Simply: Is it possible to iterate over users if I'm using the
> passwd-file passdb driver? Do I need a SQL-based driver if I want to
> iterate?
What do you mean by "iterate"? If you mean whether you can look up a
password entry in a multi-entry file, then yes, definitely. If you
mean to sequentially go through it and do a first/last/best match,
2014 Sep 22
0
numeric username
Heya,
does dovecot support "numeric only" usernames (in format "^0-9+$")?
We are unable to deliver emails to such usernames via LMTP:
Sep 22 08:41:05 razor4 postfix/lmtp[2120]: D4FD91CDC11F:
to=<231588 at example.org>, relay=example.org[private/dovecot-lmtp],
delay=217653, delays=217653/0.01/0.02/0, dsn=4.2.0, status=deferred
(host example.org[private/dovecot-lmtp]
2020 Aug 12
0
Replication: Mails deleted over POP3 aren't deleted at the same time from the second server
Hi,
I have two Dovecot 2.3.8 (on RHEL 8.2) servers. Replication works great
except in one situation.
What works:
* If one server receives an email, it is immediately available on the other
server.
* If an email is deleted via IMAP from one server, it is immediately
deleted from the other server.
What doesn't work:
If a user retrieves (download + delete) an email via POP3 (Thunderbird),
then
2017 Jan 02
1
two listeners with different "driver = " configs
> On 31 Dec 2016, at 11.38, mj <lists at merit.unu.edu> wrote:
>
> Hi,
>
> Does the lack of replies mean that what I'm asking is not possible?
>
> (or am I missing something SO obvious that nobody bothers to point it out..?)
>
It is difficult.
what you might be able to do is to configure multiple inet_listeners and then use CoS setup with multiple passdb:s.
2016 Jul 09
2
Raw backtrace multiple passwords not allowed
Hi
Recently enabled support for encrypted passwords on my proxies -
CRAM-MD5, DIGEST-MD5, NTLM and APOP to support some new users. Most
users are working perfectly though every so often I see this happening
in the logs:
Jul 09 06:32:51 auth: Error:
ldap(user at domain.com,192.168.10.90,<mOWiFi431eDKOsBS>): Multiple
password values not supported
Jul 09 06:32:51 auth: Panic: file
2015 Oct 13
0
iterate users with passwd-file passdb?
Eric Abrahamsen <eric at ericabrahamsen.net> writes:
>>> Simply: Is it possible to iterate over users if I'm using the
>>> passwd-file passdb driver? Do I need a SQL-based driver if I want to
>>> iterate?
>>
>> What do you mean by "iterate"? If you mean whether you can look up a
>> password entry in a multi-entry file, then yes,
2017 Jan 19
0
Segfault on LIST Command
The Problem arises due to a NULL deref in mail_namespaces.c line 601.
Backtrace below
x LIST "" ""
Program received signal SIGSEGV, Segmentation fault.
mail_namespaces_get_root_sep (namespaces=0x0) at mail-namespace.c:601
601 while ((namespaces->flags & NAMESPACE_FLAG_LIST_PREFIX) == 0)
(gdb) bt
#0 mail_namespaces_get_root_sep (namespaces=0x0) at mail-namespace.c:601
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
2014 Dec 16
2
LDAP: Connection appears to be hanging, reconnecting
Hello List
I have a strange problem here which i try to analyse, but i'm stuck.
Maybe someone has a hint?
What happened:
A few weeks ago one of the LDAPS Servers which is not maintained by us
has crashed. From that moment on, users could still login to check their
emails, but they were not able to send any email through postfix (which
uses smtpd_sasl_type = dovecot)
What i do not
2017 Jan 23
0
Segfault on LIST Command
Hi,
I did added the default location and stripped down my config to a very
basic
level, dropping all plugins and database queries, see below. The segfault
still
appears in the same location.
As I have build from source, I wonder whether you can reproduce the problem?
Thorsten
$ doveconf -n
# 2.2.26.0 (23d1de6): /usr/local/etc/dovecot/dovecot.conf
# Pigeonhole version 0.4.16 (1dc4c73)
# OS:
2015 Nov 21
0
Disabling auth fallback to PAM
> On 17 Nov 2015, at 22:51, martin f krafft <madduck at madduck.net> wrote:
>
> 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".
>
> ?)
2019 Mar 30
3
Trying to track down source of duplicate messages
Hi,
I have a fedora28 system with dovecot-2.3.5 and I'm trying to figure
out why I'm increasingly receiving duplicate emails. The message IDs
are exactly the same. It's always two of the same messages. I don't
think it's ever occurred in the inbox. It doesn't happen with every
message or seemingly in every folder.
I've read about dovecot deduplicate, but of course I
2017 Jan 23
0
Segfault on LIST Command
OK, I found the problem in my config. If I use an default namespace with an
empty
name, instead of "inbox" it works as expected. Here the log for this case
Starting program: /usr/local/libexec/dovecot/imap -u ****
imap(****): Debug: auth input: **** home=**** uid=48 gid=48
quota_rule=*:bytes=1000M
imap(****): Debug: Added userdb setting: plugin/quota_rule=*:bytes=1000M
Debug: Effective