Author Topic: Dovecot can't find emails  (Read 329 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Dovecot can't find emails
« on: February 10, 2021, 03:02:49 PM »
Good day Dear users!
after change myhostname in mail server setup

and rebuild MAil server , dovecot can't find and receive email ....
when send from GMAIL to mydomain email , receive Mail Delivery System <MAILER-DAEMO  ..... unknown user: "
What I need changed to work this?? Where change correct path ??
« Last Edit: February 10, 2021, 03:08:07 PM by DoLpKoLAK »

Offline
*
Re: Dovecot can't find emails
« Reply #1 on: February 10, 2021, 04:28:56 PM »
Good day Dear users!
after change myhostname in mail server setup

and rebuild MAil server , dovecot can't find and receive email ....
when send from GMAIL to mydomain email , receive Mail Delivery System <MAILER-DAEMO  ..... unknown user: "
What I need changed to work this?? Where change correct path ??
add log from /var/log/maillog
Code: [Select]
Feb 10 16:17:47 topnews clamd[14242]: Received 0 file descriptor(s) from systemd.
Feb 10 16:17:47 topnews clamd[14242]: clamd daemon 0.103.0 (OS: linux-gnu, ARCH: x86_64, CPU: x86_64)
Feb 10 16:17:47 topnews clamd[14242]: Log file size limited to 1048576 bytes.
Feb 10 16:17:47 topnews clamd[14242]: Reading databases from /var/lib/clamav
Feb 10 16:17:47 topnews clamd[14242]: Not loading PUA signatures.
Feb 10 16:17:47 topnews clamd[14242]: Bytecode: Security mode set to "TrustSigned".
Feb 10 16:17:58 topnews clamd[14249]: Received 0 file descriptor(s) from systemd.
Feb 10 16:17:58 topnews clamd[14249]: clamd daemon 0.103.0 (OS: linux-gnu, ARCH: x86_64, CPU: x86_64)
Feb 10 16:17:58 topnews clamd[14249]: Log file size limited to 1048576 bytes.
Feb 10 16:17:58 topnews clamd[14249]: Reading databases from /var/lib/clamav
Feb 10 16:17:58 topnews clamd[14249]: Not loading PUA signatures.
Feb 10 16:17:58 topnews clamd[14249]: Bytecode: Security mode set to "TrustSigned".
Feb 10 16:18:10 topnews clamd[14255]: Received 0 file descriptor(s) from systemd.
Feb 10 16:18:10 topnews clamd[14255]: clamd daemon 0.103.0 (OS: linux-gnu, ARCH: x86_64, CPU: x86_64)
Feb 10 16:18:10 topnews clamd[14255]: Log file size limited to 1048576 bytes.
Feb 10 16:18:10 topnews clamd[14255]: Reading databases from /var/lib/clamav
Feb 10 16:18:10 topnews clamd[14255]: Not loading PUA signatures.
Feb 10 16:18:10 topnews clamd[14255]: Bytecode: Security mode set to "TrustSigned".
Feb 10 16:18:24 topnews clamd[14436]: Received 0 file descriptor(s) from systemd.
Feb 10 16:18:24 topnews clamd[14436]: clamd daemon 0.103.0 (OS: linux-gnu, ARCH: x86_64, CPU: x86_64)
Feb 10 16:18:24 topnews clamd[14436]: Log file size limited to 1048576 bytes.
Feb 10 16:18:24 topnews clamd[14436]: Reading databases from /var/lib/clamav
Feb 10 16:18:24 topnews clamd[14436]: Not loading PUA signatures.
Feb 10 16:18:24 topnews clamd[14436]: Bytecode: Security mode set to "TrustSigned".
Feb 10 16:18:26 topnews postfix/smtpd[13528]: connect from unknown[212.70.149.71]
Feb 10 16:18:33 topnews postfix/smtpd[13528]: warning: unknown[212.70.149.71]: SASL LOGIN authentication failed: UGFzc3dvcmQ6
Feb 10 16:18:34 topnews postfix/smtpd[13528]: disconnect from unknown[212.70.149.71] ehlo=1 auth=0/1 rset=1 quit=1 commands=3/4
Feb 10 16:19:13 topnews postfix/smtpd[14504]: connect from mail-lf1-f41.google.com[209.85.167.41]
Feb 10 16:19:13 topnews postfix/smtpd[14504]: TLS SNI topnews.xyz from mail-lf1-f41.google.com[209.85.167.41] not matched, using default chain
Feb 10 16:19:13 topnews postfix/smtpd[14504]: Anonymous TLS connection established from mail-lf1-f41.google.com[209.85.167.41]: TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)
Feb 10 16:19:13 topnews postfix/trivial-rewrite[14511]: warning: do not list domain topnews.xyz in BOTH mydestination and virtual_mailbox_domains
Feb 10 16:19:13 topnews postfix/smtpd[14504]: 7D3B07864986: client=mail-lf1-f41.google.com[209.85.167.41]
Feb 10 16:19:13 topnews postfix/cleanup[14512]: 7D3B07864986: message-id=<CAHObCgJCM1rrJoOTv8aiOWEu9g2fN8JWoUs30rwW2y06Df9EYA@mail.gmail.com>
Feb 10 16:19:13 topnews postfix/qmgr[1765]: 7D3B07864986: from=<dozevic@gmail.com>, size=4883, nrcpt=1 (queue active)
Feb 10 16:19:13 topnews postfix/trivial-rewrite[14511]: warning: do not list domain topnews.xyz in BOTH mydestination and virtual_mailbox_domains
Feb 10 16:19:13 topnews postfix/smtpd[14504]: disconnect from mail-lf1-f41.google.com[209.85.167.41] ehlo=2 starttls=1 mail=1 rcpt=1 bdat=1 quit=1 commands=7
Feb 10 16:19:13 topnews postfix/local[14513]: 7D3B07864986: to=<robinbobin@topnews.xyz>, relay=local, delay=0.06, delays=0.03/0.01/0/0.02, dsn=5.1.1, status=bounced (unknown user: "robinbobin")
Feb 10 16:19:13 topnews postfix/cleanup[14512]: 8946C78649A7: message-id=<20210210161913.8946C78649A7@topnews.xyz>
Feb 10 16:19:13 topnews postfix/qmgr[1765]: 8946C78649A7: from=<>, size=6735, nrcpt=1 (queue active)
Feb 10 16:19:13 topnews postfix/bounce[14514]: 7D3B07864986: sender non-delivery notification: 8946C78649A7
Feb 10 16:19:13 topnews postfix/qmgr[1765]: 7D3B07864986: removed
Feb 10 16:19:14 topnews postfix/smtp[14516]: 8946C78649A7: to=<dozermanvic@gmail.com>, relay=gmail-smtp-in.l.google.com[64.233.165.26]:25, delay=0.48, delays=0.01/0.03/0.16/0.28, dsn=2.0.0, status=sent (250 2.0.0 OK  1612973954 b4si1941823lfp.130 - gsmtp)
Feb 10 16:19:14 topnews postfix/qmgr[1765]: 8946C78649A7: removed
Feb 10 16:19:16 topnews postfix/smtpd[13528]: connect from unknown[212.70.149.71]
add log from /var/log/dovecot.log
Code: [Select]
Feb 10 18:57:17 imap(robinbobin@topnews.xyz): Warning: autocreate plugin is deprecated, use mailbox { auto } setting instead
Feb 10 18:58:17 imap(robinbobin@topnews.xyz): Warning: autocreate plugin is deprecated, use mailbox { auto } setting instead
Feb 10 18:59:18 imap(robinbobin@topnews.xyz): Warning: autocreate plugin is deprecated, use mailbox { auto } setting instead
Feb 10 19:00:18 imap(robinbobin@topnews.xyz): Warning: autocreate plugin is deprecated, use mailbox { auto } setting instead
Feb 10 19:01:18 imap(robinbobin@topnews.xyz): Warning: autocreate plugin is deprecated, use mailbox { auto } setting instead
Feb 10 19:02:19 imap(robinbobin@topnews.xyz): Warning: autocreate plugin is deprecated, use mailbox { auto } setting instead
Feb 10 19:03:19 imap(robinbobin@topnews.xyz): Warning: autocreate plugin is deprecated, use mailbox { auto } setting instead
Feb 10 19:04:19 imap(robinbobin@topnews.xyz): Warning: autocreate plugin is deprecated, use mailbox { auto } setting instead
Feb 10 19:05:20 imap(robinbobin@topnews.xyz): Warning: autocreate plugin is deprecated, use mailbox { auto } setting instead
Feb 10 19:06:20 imap(robinbobin@topnews.xyz): Warning: autocreate plugin is deprecated, use mailbox { auto } setting instead
Feb 10 19:07:20 imap(robinbobin@topnews.xyz): Warning: autocreate plugin is deprecated, use mailbox { auto } setting instead
Feb 10 19:08:21 imap(robinbobin@topnews.xyz): Warning: autocreate plugin is deprecated, use mailbox { auto } setting instead
Feb 10 19:09:21 imap(robinbobin@topnews.xyz): Warning: autocreate plugin is deprecated, use mailbox { auto } setting instead
Feb 10 19:10:21 imap(robinbobin@topnews.xyz): Warning: autocreate plugin is deprecated, use mailbox { auto } setting instead
Feb 10 19:11:22 imap(robinbobin@topnews.xyz): Warning: autocreate plugin is deprecated, use mailbox { auto } setting instead
Feb 10 19:12:22 imap(robinbobin@topnews.xyz): Warning: autocreate plugin is deprecated, use mailbox { auto } setting instead
Feb 10 19:13:22 imap(robinbobin@topnews.xyz): Warning: autocreate plugin is deprecated, use mailbox { auto } setting instead
Feb 10 19:14:23 imap(robinbobin@topnews.xyz): Warning: autocreate plugin is deprecated, use mailbox { auto } setting instead
Feb 10 19:15:23 imap(robinbobin@topnews.xyz): Warning: autocreate plugin is deprecated, use mailbox { auto } setting instead
Feb 10 19:16:23 imap(robinbobin@topnews.xyz): Warning: autocreate plugin is deprecated, use mailbox { auto } setting instead
Feb 10 19:17:24 imap(robinbobin@topnews.xyz): Warning: autocreate plugin is deprecated, use mailbox { auto } setting instead
Feb 10 19:18:24 imap(robinbobin@topnews.xyz): Warning: autocreate plugin is deprecated, use mailbox { auto } setting instead
Feb 10 19:19:24 imap(robinbobin@topnews.xyz): Warning: autocreate plugin is deprecated, use mailbox { auto } setting instead
Feb 10 19:20:25 imap(robinbobin@topnews.xyz): Warning: autocreate plugin is deprecated, use mailbox { auto } setting instead
Feb 10 19:21:25 imap(robinbobin@topnews.xyz): Warning: autocreate plugin is deprecated, use mailbox { auto } setting instead
Feb 10 19:22:18 imap(robinbobin@topnews.xyz): Warning: autocreate plugin is deprecated, use mailbox { auto } setting instead
/var/log/dovecot-info.log
Code: [Select]
Feb 10 19:16:23 imap-login: Info: Login: user=<robinbobin@topnews.xyz>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=14182, secured, session=<VxVmuf26nLV/AAAB>
Feb 10 19:16:23 imap(robinbobin@topnews.xyz): Info: Logged out in=50 out=519
Feb 10 19:17:24 imap-login: Info: Login: user=<robinbobin@topnews.xyz>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=14229, secured, session=<edcBvf26wpB/AAAB>
Feb 10 19:17:24 imap(robinbobin@topnews.xyz): Info: Logged out in=50 out=519
Feb 10 19:18:24 imap-login: Info: Login: user=<robinbobin@topnews.xyz>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=14433, secured, session=<1kuWwP265Nh/AAAB>
Feb 10 19:18:24 imap(robinbobin@topnews.xyz): Info: Logged out in=50 out=519
Feb 10 19:19:24 imap-login: Info: Login: user=<robinbobin@topnews.xyz>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=14535, secured, session=<hjooxP26+LN/AAAB>
Feb 10 19:19:24 imap(robinbobin@topnews.xyz): Info: Logged out in=50 out=519
Feb 10 19:20:25 imap-login: Info: Login: user=<robinbobin@topnews.xyz>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=14609, secured, session=<+LDKx/26eI9/AAAB>
Feb 10 19:20:25 imap(robinbobin@topnews.xyz): Info: Logged out in=50 out=519
Feb 10 19:21:25 imap-login: Info: Login: user=<robinbobin@topnews.xyz>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=14683, secured, session=<NRxey/26vNl/AAAB>
Feb 10 19:21:25 imap(robinbobin@topnews.xyz): Info: Logged out in=50 out=519
Feb 10 19:22:18 imap-login: Info: Login: user=<robinbobin@topnews.xyz>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=14746, secured, session=<7GyOzv26lKx/AAAB>
Feb 10 19:22:18 imap(robinbobin@topnews.xyz): Info: Logged out in=272 out=1428
« Last Edit: February 10, 2021, 04:37:34 PM by DoLpKoLAK »

Offline
*
Re: Dovecot can't find emails
« Reply #2 on: February 10, 2021, 05:01:55 PM »
add to /etc/dovecot/dovecot.conf

Code: [Select]
namespace inbox {
inbox = yes
}

log
Code: [Select]
/var/log/dovecot-info.log


Feb 10 19:52:50 imap(robinbobin@topnews.xyz): Info: Server shutting down. in=610 out=3243
Feb 10 19:52:51 master: Info: Dovecot v2.2.36 (1f10bfa63) starting up for imap, pop3, lmtp, sieve (core dumps disabled)
Feb 10 19:54:01 imap-login: Info: Disconnected (no auth attempts in 5 secs): user=<>, rip=23.129.64.216, lip=82.146.54.161, TLS handshaking: Disconnected, session=<Pq35P/66M6kXgUDY>

/var/log/dovecot.log
Feb 10 19:52:50 master: Warning: Killed with signal 15 (by pid=16919 uid=0 code=kill)
Feb 10 19:52:51 log: Warning: Killed with signal 15 (by pid=1 uid=0 code=kill)


/var/log/maillog

Feb 10 16:54:17 topnews postfix/smtpd[13528]: connect from unknown[212.70.149.71]
Feb 10 16:54:23 topnews postfix/smtpd[13528]: warning: unknown[212.70.149.71]: SASL LOGIN authentication failed: UGFzc3dvcmQ6
Feb 10 16:54:24 topnews postfix/smtpd[13528]: disconnect from unknown[212.70.149.71] ehlo=1 auth=0/1 rset=1 quit=1 commands=3/4
Feb 10 16:55:28 topnews postfix/smtpd[17139]: connect from unknown[193.56.28.184]
Feb 10 16:55:28 topnews postfix/smtpd[17141]: connect from unknown[193.56.28.184]
Feb 10 16:55:29 topnews postfix/smtpd[13528]: connect from unknown[212.70.149.71]
Feb 10 16:55:30 topnews postfix/smtpd[17139]: warning: unknown[193.56.28.184]: SASL LOGIN authentication failed: UGFzc3dvcmQ6
Feb 10 16:55:30 topnews postfix/smtpd[17141]: warning: unknown[193.56.28.184]: SASL LOGIN authentication failed: UGFzc3dvcmQ6
Feb 10 16:55:30 topnews postfix/smtpd[17139]: disconnect from unknown[193.56.28.184] ehlo=1 auth=0/1 quit=1 commands=2/3
Feb 10 16:55:30 topnews postfix/smtpd[17141]: disconnect from unknown[193.56.28.184] ehlo=1 auth=0/1 quit=1 commands=2/3
Feb 10 16:55:36 topnews postfix/smtpd[13528]: warning: unknown[212.70.149.71]: SASL LOGIN authentication failed: UGFzc3dvcmQ6
Feb 10 16:55:36 topnews postfix/smtpd[13528]: disconnect from unknown[212.70.149.71] ehlo=1 auth=0/1 rset=1 quit=1 commands=3/4
Feb 10 16:56:20 topnews postfix/smtpd[13528]: connect from unknown[212.70.149.71]
Feb 10 16:56:27 topnews postfix/smtpd[13528]: warning: unknown[212.70.149.71]: SASL LOGIN authentication failed: UGFzc3dvcmQ6
Feb 10 16:56:27 topnews postfix/smtpd[13528]: disconnect from unknown[212.70.149.71] ehlo=1 auth=0/1 rset=1 quit=1 commands=3/4

Re: Dovecot can't find emails
« Reply #3 on: February 10, 2021, 05:17:07 PM »
Lets assume that the first letter is a capital b.
YOUR DOMAIN NAME IS NOT THE SAME THING AS YOUR SERVER NAME!
Do NOT set them the same.

FBBlogger.com is a domain name
myspammyserver.FBBlogger.com is a server name

Simple.

(Your cheap xyz TLD will likely get blocked on mail blacklists anyway.  :P)
« Last Edit: February 10, 2021, 05:19:36 PM by cynique »

Offline
*
Re: Dovecot can't find emails
« Reply #4 on: February 10, 2021, 05:30:14 PM »
this normal correct work , after changed hostname in mailserver menu ... not work
RAVE
CWP --- capricious panel --- hestia very simple for use , but use EXIM4
« Last Edit: February 10, 2021, 05:34:36 PM by DoLpKoLAK »

Offline
*
Re: Dovecot can't find emails
« Reply #5 on: February 10, 2021, 05:39:57 PM »

(Your cheap xyz TLD will likely get blocked on mail blacklists anyway.  :P)
worked 1month and send INBOX gmail
how you can help me this problem? 
it does not matter, what trust the domain has, this is not the correct operation CWP after rebuild
« Last Edit: February 10, 2021, 05:50:14 PM by DoLpKoLAK »

Re: Dovecot can't find emails
« Reply #6 on: February 10, 2021, 06:09:30 PM »
CWP --- capricious panel --- hestia very simple for use , but use EXIM4
Given Hestia specifically say no hand-holding for Linux basics, this is somewhat amusing.
Quote
We assume that you are familiar with the basics of server administration, as well as knowledge about setting up and managing hosting applications.
If you would've properly read the installation instructions for CWP..
Quote
This hostname cannot be the same as any domain that is on your server (for example, if example.com is a domain on your server, use hostname.example.com as your fully qualified hostname).

Offline
*
Re: Dovecot can't find emails
« Reply #7 on: February 10, 2021, 06:39:34 PM »
why this correct work before rebuild??
Ok ! change back as it was before the change , but NOT work!!
this is not correct when Postfix send in header email,  hostname difference main domains
« Last Edit: February 10, 2021, 06:55:30 PM by DoLpKoLAK »

Offline
*
Re: Dovecot can't find emails
« Reply #8 on: February 10, 2021, 07:21:12 PM »
Paradox!!!

now it work is good!

Current Settings in Postfix:

mydomain = topnews.xyz
myhostname = topnews.com


WHY??????
Ok show source email header
Received: from SelenaStroh (topnews.xyz [82.xxx.xxx.156]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by topnews.com (Postfix) with ESMTPSA id 6B08B7864978

or it is correct postfix send different hostname ??????????

CWP panel offers to change the same
« Last Edit: February 10, 2021, 07:35:49 PM by DoLpKoLAK »

Re: Dovecot can't find emails
« Reply #9 on: February 10, 2021, 07:25:44 PM »
Last time I say this to you:
Quote
myhostname = topnews.com
That is NOT a hostname!

Offline
*
Re: Dovecot can't find emails
« Reply #10 on: February 10, 2021, 07:44:27 PM »
CWP panel offers to change the same


If I will rebuild this won't work again