<div dir="ltr">Please provide your suggestions to resolve the issue.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jul 28, 2020 at 9:18 PM Kishore Potnuru <<a href="mailto:kishore.reachme@gmail.com">kishore.reachme@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><br></div>Adding the dovecot.conf configuration from old and new servers:<div><br></div><div>=========================================<br>My old server dovecot.conf (production1):<br>=========================================<br><br>disable_plaintext_auth = no<br><br>listen = *<br>log_path = /var/log/dovecot.log<br>mail_location = maildir:/z1dev/mail/virtual/%d/%n/Maildir/<br>passdb {<br> args = /etc/dovecot/passwd<br> driver = passwd-file<br> master = yes<br> pass = yes<br> }<br>pop3_uidl_format = %g<br>protocols = pop3 imap<br>ssl = yes<br>ssl_cert = </etc/pki/dovecot/certs/dovecot.pem<br>ssl_key = </etc/pki/dovecot/private/dovecot.pem<br><br>userdb {<br> args = uid=vmail gid=vmail home=/z1dev/mail/virtual/%d/%n<br> driver = static<br> }<br>mail_debug = no<br>verbose_ssl = no<br><br>=========================================<br>My New server dovecot.conf(production2):<br>=========================================<br><br>disable_plaintext_auth = no<br><br>listen = *<br>log_path = /var/log/dovecot.log<br><br>mail_location = maildir:/z1devenv/mail/virtual/%d/%n/Maildir/<br><br>passdb {<br> args = /etc/dovecot/passwd<br> driver = passwd-file<br> }<br><br>pop3_uidl_format = %g<br>protocols = pop3 imap<br><br>ssl = yes<br>ssl_cert = </etc/pki/dovecot/certs/dovecot.pem<br>ssl_key = </etc/pki/dovecot/private/dovecot.pem<br><br>userdb {<br> args = uid=vmail gid=vmail home=/z1devenv/mail/virtual/%d/%n<br> driver = static<br> }<br><br>mail_debug = yes<br>verbose_ssl = no<br><br><br># Enable the replication plugin globally<br>mail_plugins = $mail_plugins notify replication<br><br>service replicator {<br> process_min_avail = 1<br>}<br><br>dsync_remote_cmd = ssh -l%{login} %{host} doveadm dsync-server -u%u<br>plugin {<br> mail_replica = <a href="mailto:remote%3Avmail@production3.baplc.com" target="_blank">remote:vmail@production3.baplc.com</a><br>}<br><br>service aggregator {<br> fifo_listener replication-notify-fifo {<br> user = vmail<br> }<br> unix_listener replication-notify {<br> user = vmail<br> }<br>}<br><br>service replicator {<br> unix_listener replicator-doveadm {<br> mode = 0600<br> user = vmail<br> }<br>}<br><br>replication_max_conns = 10<br><br>imapc_host = <a href="http://production1.baplc.com" target="_blank">production1.baplc.com</a><br>imapc_password = vmail<br>imapc_master_user = vmail<br>imapc_user = %u<br><br>===================================<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jul 28, 2020 at 8:44 PM Antonio Leding <<a href="mailto:tech@leding.net" target="_blank">tech@leding.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>Not sure if this is the issue but the error says no password database is cfg’d…is that truly the case? <div><br></div><div>Maybe post a redacted config for the community to review…</div><div><br></div><div><br><div><br><blockquote type="cite"><div>On Jul 28, 2020, at 7:20 AM, Kishore Potnuru <<a href="mailto:kishore.reachme@gmail.com" target="_blank">kishore.reachme@gmail.com</a>> wrote:</div><br><div><div dir="ltr">Hi Aki & Dovecot team,<div><br></div><div>Just continuing with the previous discussion "<span style="color:rgb(32,33,36);font-family:"Google Sans",Roboto,RobotoDraft,Helvetica,Arial,sans-serif;font-size:1.375rem;font-variant-ligatures:no-contextual">Migration from one server to 2 new servers</span>".</div><div><br></div><div>Hi,<br><br>I have tried the same way as per your suggestion. But it's throwing an error.<span style="color:rgb(80,0,80)"><br><br>-------------<br>[root@production2 log]# doveadm backup -a All -R -u <a href="mailto:kishore@test.ba.com" target="_blank">kishore@test.ba.com</a> imapc:<br></span>dsync(<a href="mailto:kishore@test.ba.com" target="_blank">kishore@test.ba.com</a>): Info: imapc(<a href="http://production1.baplc.com:143/" target="_blank">production1.baplc.com:143</a>): Connected to xxx.xxx.xxx.xxx:143 (local yyy.yyy.yyy.yyy:45992)<br>dsync(<a href="mailto:kishore@test.ba.com" target="_blank">kishore@test.ba.com</a>): Warning: imapc(<a href="http://production1.baplc.com:143/" target="_blank">production1.baplc.com:143</a>): connect(xxx.xxx.xxx.xxx, 143) timed out after 30 seconds - reconnecting (delay 0 ms)<br>dsync(<a href="mailto:kishore@test.ba.com" target="_blank">kishore@test.ba.com</a>): Info: imapc(<a href="http://production1.baplc.com:143/" target="_blank">production1.baplc.com:143</a>): Connected to xxx.xxx.xxx.xxx:143 (local yyy.yyy.yyy.yyy:46014)<br>dsync(<a href="mailto:kishore@test.ba.com" target="_blank">kishore@test.ba.com</a>): Error: imapc(<a href="http://production1.baplc.com:143/" target="_blank">production1.baplc.com:143</a>): connect(xxx.xxx.xxx.xxx, 143) timed out after 30 seconds - disconnecting<span style="color:rgb(80,0,80)"><br>dsync(<a href="mailto:kishore@test.ba.com" target="_blank">kishore@test.ba.com</a>): Error: User initialization failed: imapc: Login to <a href="http://production1.baplc.com/" target="_blank">production1.baplc.com</a> failed: Disconnected from server<br>[root@production2 log]#<br>--------------<br><br>I looked into the production1 (old server) logs. I see the below error.<br><br>===============<br>Jul 28 11:14:23 auth: Fatal: Master passdb can't have pass=yes if there are no passdbs<br>Jul 28 11:14:23 master: Error: service(auth): command startup failed, throttling<br>===============<br><br></span>after the above error, I have commented "pass=yes" in production1 (old server) server, then I see the below error.<span style="color:rgb(80,0,80)"><br><br>================<br>Jul 28 11:17:10 auth: Fatal: No passdbs specified in configuration file. PLAIN mechanism needs one<br>Jul 28 11:17:10 master: Error: service(auth): command startup failed, throttling<br>===============<br><br>Please suggest me on fixing the issue. </span> </div><div> <br></div></div>
</div></blockquote></div><br></div></div></blockquote></div>
</blockquote></div>