Displaying 20 results from an estimated 8000 matches similar to: "Problem logging in during testing"
2015 Jun 15
0
Problem logging in during testing
Am 15.06.2015 um 15:19 schrieb Steve Matzura:
> Instructions at http://wiki2.dovecot.org/BasicConfiguration say the
> next thing to test after getting IMAP and Telnet working is to create
> a dummy user file with the following command:
>
> echo "$USER:{PLAIN}password:$UID:$GID::$HOME" > users
>
> And place it in /etc/dovecot and protect it appropriately. It was
2015 Jun 15
3
Problem logging in during testing
On Mon, 15 Jun 2015 17:22:13 +0200, you wrote:
>> Now, when I telnet 127.0.0.1 143 and attempt to log in with the
>> string:
>>
>> a login <any username> <any password>
>>
>> whether it's one in my users file or not, I get:
>>
>> a NO [AUTHENTICATIONFAILED] Authentication failed.
>>
>
>Logs might give you a clue what
2015 Sep 02
2
'doveadm expunge' with -A and userdb { driver = passwd }
>> doveadm search -A mailbox INBOX.Trash savedbefore 30d
>>
>> but I'm told not to:
>>
>> "If the -A option is present, the command will be performed for all
>> users. Using this option in combination with system users from userdb
>> { driver = passwd } is not recommended, because it contains also users
>> with a lower UID than the one
2020 Apr 13
2
%d ignored from auth-passwdfile.conf.ext configuration file
I try to configure dovecot with virtual users. I put my users file in
folder /etc/dovecot/my_domain_name/users.
My auth-passwdfile.conf.ext file looks like this:
passdb {
driver = passwd-file
args = username_format=%n /etc/dovecot/%d/users
}
When I try to log in, I get this:
dovecot: auth: Error:
passwd-file(test,some.ip.addr.here,<rQT+ziijGE1tpoAB>):
stat(/etc/dovecot//users) failed:
2023 Mar 23
1
User authentication using local file
Hi,
The args parameter of userdb contains scheme, username format and location
of the password file. Please take a look this link
https://doc.dovecot.org/configuration_manual/authentication/passwd_file/
For example, mine is:
userdb {
driver = passwd-file
args = username_format=%u /etc/dovecot/imap.passwd
}
$ head /etc/dovecot/imap.passwd
to at localhost.local
2023 Mar 22
1
User authentication using local file
OS environment:
Linux qnap-nas 5.10.60-qnap #1 SMP Thu Jan 12 04:39:10 CST 2023 x86_64 GNU/Linux
I enabled "auth-passwdfile.conf.ext? in 10-auth.conf
#!include auth-deny.conf.ext
#!include auth-master.conf.ext
#!include auth-system.conf.ext
#!include auth-sql.conf.ext
#!include auth-ldap.conf.ext
!include auth-passwdfile.conf.ext
#!include auth-checkpassword.conf.ext
#!include
2017 Sep 05
2
pam authentication
Hello all
I use debian 9 with dovecot 2.x: real system users and virtual users:
almost all works perfectly ;)
Virtual users can connect via imap and pop using name + domain name:
user00 at domain1.org, etc.
pam (real system users) users can connect via imap and pop ONLY without
domain name
It's a problem with pam authentication because linux make users
authentication with only username
2020 Aug 04
1
Migration issue
Thank you for the reply.
In old server (production1), I have changed like this for passdb. rest all
i kept the same.
passdb {
args = /etc/dovecot/master-users
driver = passwd-file
master = yes
#pass = yes
}
passdb {
driver = passwd-file
args = username_format=%u /etc/dovecot/passwd
}
Now I am getting the below Authentication error from
2023 Mar 23
1
User authentication using local file
I am not sure if I understand it correctly, that this configuration is for each user has its mailbox in its home directory. This is not my intention, I have in 10-mail.conf the mailloration configured as:
mail_location = maildir:/opt/local/var/spool/dovecot/%u:LAYOUT=fs
> On 23 Mar 2023, at 12:37, Duc Anh Do <doducanh2710 at gmail.com> wrote:
>
> Hi,
>
> The args parameter
2015 Jun 15
2
Problem logging in during testing
>> passdb {
>> driver = passwd-file
>> args = scheme=CRYPT username_format=%u /etc/dovecot/users
>> }
have you created/generated a password to be used with the crypt scheme?
you can use doveadm pw for this.
- christian
2023 Mar 23
1
User authentication using local file
Hi,
There is a note in the document: *For a password database it?s enough to
have only the user and password fields. For a user database, you need to
set also uid, gid and preferably also home (see VirtualUsers). (gecos) and
(shell) fields are unused by Dovecot.*
You can leave empty what you don't need.
On Thu, 23 Mar 2023 at 11:09, Horst Simon <horst.simon2 at icloud.com> wrote:
>
2015 Sep 04
2
'doveadm expunge' with -A and userdb { driver = passwd }
>> [?]
>> Here's what my Gentoo-default auth-passwdfile.conf.ext says:
>>
>> passdb {
>> driver = passwd-file
>> args = scheme=CRYPT username_format=%u /etc/dovecot/users
>> }
>> userdb {
>> driver = passwd-file
>> args = username_format=%u /etc/dovecot/users
>> }
>>
>> But I don't have an /etc/dovecot/users
2020 Apr 13
1
%d ignored from auth-passwdfile.conf.ext configuration file
I tried to log in as test at some_domain. From thunderbird client. Although, I
get this logged after before mentioned log:
imap-login: Disconnected (auth failed, 2 attempts in 14 secs): user=<test>,
method=PLAIN, rip=some.ip.addr.here, lip=another.ip.addr.here, TLS,
session=<rQT+ziijGE1tpoAB>
On Mon, Apr 13, 2020 at 1:16 PM Ivo <
c.e4ed1a035298f9021dcfbca4d511c303 at ultra.hr>
2023 Jan 21
1
Different username for passdb and userdb
Hello
I am attempting to use an external IMAP server for authentication, on
Dovecot 2.3.16 (7e2e900c1a), running on Ubuntu 22.04.
The external server requires usernames of the format: user at domain
However, my local users, where the mail is actually drawn from, are of the
format: user (passwd file driven).
I was able to log in with just "user", and have it both authenticate
2016 Jul 29
2
POP3 & IMAP inbox setting for virtual
Thanks Steffen.
> you can select the passwd-file by %u , e.g. see the first example of
> passdb's on http://wiki2.dovecot.org/AuthDatabase/PasswdFile
I think you mean by %s. Correct?
> So, generate a passwd-file with namespace/inbox/inbox, make a script to
> strip this settings from it and dump into another file. This script is to
> run each time, the main file changes (or
2016 Feb 21
3
Automatically inferring %d on multi-domain virtual install ?
very intrigued by your solution Timo, have attempted something similar in
the past to no avail.
When I tried I was unable to retain the user at domain when setting the domain
as extra field - protected is new to me and can't find documentation - but
also doesn't work :(
# cat passwd.domains
10.100.1.1:::::::domain:protected=foo.org
10.100.1.2:::::::domain:protected=bar.org
# cat
2020 Aug 04
3
Migration issue
Thank you for the response.
So, both password files (master and regular user credentials) have the same
contents in this scenario, correct?
-Kishore
On Mon, Aug 3, 2020 at 11:42 PM Joseph Tam <jtam.home at gmail.com> wrote:
> On Mon, 3 Aug 2020, Kishore Potnuru wrote:
>
> > ===============
> > Jul 28 11:14:23 auth: Fatal: Master passdb can't have pass=yes if there
2016 Feb 19
4
Automatically inferring %d on multi-domain virtual install ?
On Fri, Feb 19, 2016 at 08:41:15AM +0100, Steffen Kaiser wrote:
> >I'm trying to allow domain-less logins for a multi-domain virtual IMAP
> >server, and wondering if I can automatically infer the domain (value of
> >variable %d) from the local IP (%l) or the hostname used by the client
> >when connecting to my server.
> >
> >Let's say I have two host
2014 Jan 13
1
Couldn't drop privileges
Hi All,
I have configured the dovecot from sources based on the instructions in the
following link.
http://wiki2.dovecot.org/CompilingSource
Tried to test the installation:
1. Started dovecot successfully.
2. Failed to Login command with an error.
-Lenovo-G500s:~$ telnet localhost 143
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
* OK [CAPABILITY IMAP4rev1
2020 Mar 20
2
systemuser login
Hello!
Aki Tuomi <aki.tuomi at open-xchange.com> schrieb am 20.03.20 um 16:06:48 Uhr:
> > On 20/03/2020 15:55 ratatouille <ratatouille at bitclusive.de> wrote:
> >
> >
> > Hello!
> >
> > I have one systemuser on my testsystem running CentOS. All other users live in a mysql- database.
> >
> > I created a /etc/dovecot/users file and