Portál AbcLinuxu, 12. května 2025 06:05
Zdravim,
mam problem s pristupem ke schrankam pres postovniho klienta. Stale to pise viz. nize. Linux Debian Postfix 2.5.5-1.1 Dovecot 1:1.0.15-2 instalovane balicky posfix dovecot-common dovecot-imapd dovecot-pop3d vypis z logu
Jan 13 15:36:40 mujstroj dovecot: auth(default): client in: AUTH#0111#011PLAIN#011service=IMAP#011lip=83.167.x.x#011rip=90.178.x.x
Jan 13 15:36:40 mujstroj dovecot: auth(default): client out: CONT#0111#011
Jan 13 15:36:40 mujstroj dovecot: auth(default): client in: CONT((hidden) melo to byt v <>)
Jan 13 15:36:40 mujstroj dovecot: auth(default): passwd-file(mailxxx,90.178.x.x): no passwd file: scheme=plain username_format=mailxxx /etc/dovecot/passwd
Jan 13 15:36:41 mujstroj dovecot: auth(default): new auth connection: pid=30064
Jan 13 15:36:42 mujstroj dovecot: auth(default): client out: FAIL#0111#011user=mailxxx
Jan 13 15:36:42 mujstroj dovecot: auth(default): client in: AUTH#0112#011PLAIN#011service=IMAP#011lip=83.167.x.x#011rip=90.178.x.x#011r$
Jan 13 15:36:42 mujstroj dovecot: auth(default): passwd-file(mailxxx,90.178.x.x): no passwd file: scheme=plain username_format=mailxxx /etc/dovecot/passwd
Jan 13 15:36:44 mujstroj dovecot: auth(default): client out: FAIL#0112#011user=mailxxx
Jan 13 15:36:44 mujstroj dovecot: auth(default): client in: AUTH#0113#011PLAIN#011service=IMAP#011lip=83.167.x.x#011rip=90.178.x.x
Jan 13 15:36:44 mujstroj dovecot: auth(default): client out: CONT#0113#011
Jan 13 15:36:44 mujstroj dovecot: auth(default): client in: CONT((hidden) melo to byt v <>)
Jan 13 15:36:44 mujstroj dovecot: auth(default): passwd-file(mailxxx,90.178.x.x): no passwd file: scheme=plain username_format=mailxxx /etc/dovecot/passwd
Jan 13 15:36:46 mujstroj dovecot: auth(default): client out: FAIL#0113#011user=mailxxx
Jan 13 15:36:46 mujstroj dovecot: auth(default): client in: AUTH#0114#011PLAIN#011service=IMAP#011lip=83.167.x.x#011rip=90.178.x.x#011r$
Jan 13 15:36:46 mujstroj dovecot: auth(default): passwd-file(mailxxx,90.178.x.x): no passwd file: scheme=plain username_format=mailxxx /etc/dovecot/passwd
Jan 13 15:36:48 mujstroj dovecot: auth(default): client out: FAIL#0114#011user=mailxxx
Jan 13 15:36:48 mujstroj dovecot: imap-login: Disconnected: user=<mailxxx>, method=PLAIN, rip=90.178.x.x, lip=83.167.x.x
obsah souboru /etc/dovecot/passwd
xxx@mojedomena:{plain}heslo:1000:1000:::
cast obsahu souboru /etc/dovecot/passwd
auth default {
mechanisms = plain login cram-md5 digest-md5 ntlm
passdb passwd-file {
args = scheme=plain username_format=%u /etc/dovecot/passwd
}
userdb passwd-file {
args = username_format=%u /etc/dovecot/passwd
}
user = dovecot-auth
socket listen {
client {
path = /var/spool/postfix/private/auth
mode = 0660
user = postfix
group = postfix
}
}
}
/var/spool/postfix/private/auth soubor auth je prazdny
Dekuji moc za kazdou radu.
No prave. Ja si myslim, ze tam je zakopany pes. Ten jede pod dovecot-auth (z duvodu bezpecnosti) a jen on ma prava ke cteni souboru. Viz. nize
user = dovecot-auth
Divne je, ze kdyz smazu soubor paswd a Devecot restartuji tak nehlasi zadnou chybu!
# User to use for the login process. Create a completely new user for this, # and don't use it anywhere else. The user must also belong to a group where # only it has access, it's used to control access for authentication process. # Note that this user is NOT used to access mails. # http://wiki.dovecot.org/UserIds #login_user = dovecot
# User to use for the process. This user needs access to only user and # password databases, nothing else. Only shadow and pam authentication # requires roots, so use something else if possible. Note that passwd # authentication with BSDs internally accesses shadow files, which also # requires roots. Note that this user is NOT used to access mails. # That user is specified by userdb above. user = nobody
jestli jsem si to spravne prelozil tak user = dovecot-auth slouzi k overovani
passdb passwd-file { args = scheme=plain username_format=%u /etc/dovecot/passwd } userdb passwd-file { args = username_format=%u /etc/dovecot/passwd }
mam to tedy dobre, ne?
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.