I try to use dovecot as a MTA with postfix.
But it does not accept incoming mails.
Why does it not work?

[root@localhost bruno]# dovecot --version
2.3.8 (9df20d2db)

/var/log/maillog
Aug 14 11:03:32 localhost dovecot[566097]: lmtp(566373): Connect from local
Aug 14 11:03:32 localhost dovecot[566097]:
lmtp([email protected])<566373><0O+4HWRTNl9lpAgA0J78UA>:
Debug: auth-master: userdb lookup([email protected]):
Started userdb lookup
Aug 14 11:03:32 localhost dovecot[566097]:
lmtp([email protected])<566373><0O+4HWRTNl9lpAgA0J78UA>:
Debug: auth-master: conn unix:/var/run/dovecot/auth-userdb: Connecting
Aug 14 11:03:32 localhost dovecot[566097]:
lmtp([email protected])<566373><0O+4HWRTNl9lpAgA0J78UA>:
Debug: auth-master: conn unix:/var/run/dovecot/auth-userdb: Client
connected (fd=16)
Aug 14 11:03:32 localhost dovecot[566097]: auth: Debug: master in:
USER#0111#[email protected]#011service=lmtp
Aug 14 11:03:32 localhost dovecot[566097]: auth: Debug:
passwd([email protected]): Performing userdb lookup
Aug 14 11:03:32 localhost dovecot[566097]: auth-worker(566374): Debug:
Loading modules from directory: /usr/lib64/dovecot/auth
Aug 14 11:03:32 localhost dovecot[566097]: auth-worker(566374): Debug:
Module loaded: /usr/lib64/dovecot/auth/lib20_auth_var_expand_crypt.so
Aug 14 11:03:32 localhost dovecot[566097]: auth-worker(566374): Debug:
Module loaded: /usr/lib64/dovecot/auth/libdriver_sqlite.so
Aug 14 11:03:32 localhost dovecot[566097]: auth-worker(566374): Debug:
passwd-file /etc/dovecot/users: Read 4 users in 0 secs
Aug 14 11:03:32 localhost dovecot[566097]: auth-worker(566374): Debug: conn
unix:auth-worker (pid=566367,uid=97): Server accepted connection (fd=14)
Aug 14 11:03:32 localhost dovecot[566097]: auth-worker(566374): Debug: conn
unix:auth-worker (pid=566367,uid=97): Sending version handshake
Aug 14 11:03:32 localhost dovecot[566097]: auth-worker(566374): Debug: conn
unix:auth-worker (pid=566367,uid=97): auth-worker<1>: Handling USER request
Aug 14 11:03:32 localhost dovecot[566097]: auth-worker(566374): Debug:
passwd([email protected]): Performing userdb lookup
Aug 14 11:03:32 localhost dovecot[566097]: auth-worker(566374): Debug:
passwd([email protected]): lookup
Aug 14 11:03:32 localhost dovecot[566097]: auth-worker(566374):
passwd([email protected]): unknown user  - trying the next
userdb
Aug 14 11:03:32 localhost dovecot[566097]: auth-worker(566374): Debug:
passwd([email protected]): Finished userdb lookup
Aug 14 11:03:32 localhost dovecot[566097]: auth-worker(566374): Debug: conn
unix:auth-worker (pid=566367,uid=97): auth-worker<1>: Finished
Aug 14 11:03:32 localhost dovecot[566097]: auth: Debug:
passwd([email protected]): Finished userdb lookup
Aug 14 11:03:32 localhost dovecot[566097]: auth: Debug:
passwd-file([email protected]): Performing userdb lookup
Aug 14 11:03:32 localhost dovecot[566097]: auth: Debug:
passwd-file([email protected]): lookup:
[email protected] file=/etc/dovecot/users
Aug 14 11:03:32 localhost dovecot[566097]: auth:
passwd-file([email protected]): unknown user
Aug 14 11:03:32 localhost dovecot[566097]: auth: Debug:
passwd-file([email protected]): Finished userdb lookup
Aug 14 11:03:32 localhost dovecot[566097]: auth: Debug: userdb out:
NOTFOUND#0111
Aug 14 11:03:32 localhost dovecot[566097]:
lmtp([email protected])<566373><0O+4HWRTNl9lpAgA0J78UA>:
Debug: auth-master: userdb lookup([email protected]): auth
USER input:
Aug 14 11:03:32 localhost dovecot[566097]:
lmtp([email protected])<566373><0O+4HWRTNl9lpAgA0J78UA>:
Debug: auth-master: userdb lookup([email protected]):
Userdb lookup failed
Aug 14 11:03:32 localhost postfix/lmtp[566372]: 4E2127802973:
to=<[email protected]>,
relay=2c2axxx.online-server.cloud[private/dovecot-lmtp], delay=0.26,
delays=0.19/0.02/0.02/0.02, dsn=5.1.1, status=bounced (host
2c2axxx.online-server.cloud[private/dovecot-lmtp] said: 550 5.1.1
<[email protected]> User doesn't exist:
[email protected] (in reply to RCPT TO command))

[root@localhost bruno]# cat /etc/dovecot/users
#user:password:uid:gid:(gecos):home:(shell):extra_fields
bruno:{CRAM-MD5}88XXXee:5001:5001::/home/bruno::
mail:{CRAM-MD5}88XXXee:5001:5001::/home/mail::
nas:{CRAM-MD5}8eXXX40:5001:5001::/home/nas
asys:{CRAM-MD5}99XXX09:5001:5001::/home/asys

Reply via email to