Dear bathory,
You are really really genius man, As pwr your sugesstion i updated dovecot to latest 2.2.28 version by compiling and WOW it worked. The error gone and dovecot started.
Code:
[root@ip-172-31-21-162 ~]# dovecot -c /etc/dovecot/dovecot.conf
[root@ip-172-31-21-162 ~]# netstat -ntlp|grep dovecot
tcp 0 0 0.0.0.0:110 0.0.0.0:* LISTEN 15439/dovecot
tcp 0 0 0.0.0.0:143 0.0.0.0:* LISTEN 15439/dovecot
tcp 0 0 0.0.0.0:10993 0.0.0.0:* LISTEN 15439/dovecot
tcp 0 0 0.0.0.0:10143 0.0.0.0:* LISTEN 15439/dovecot
tcp 0 0 0.0.0.0:993 0.0.0.0:* LISTEN 15439/dovecot
tcp 0 0 0.0.0.0:995 0.0.0.0:* LISTEN 15439/dovecot
tcp6 0 0 :::110 :::* LISTEN 15439/dovecot
tcp6 0 0 :::143 :::* LISTEN 15439/dovecot
tcp6 0 0 :::10993 :::* LISTEN 15439/dovecot
tcp6 0 0 :::10143 :::* LISTEN 15439/dovecot
tcp6 0 0 :::993 :::* LISTEN 15439/dovecot
tcp6 0 0 :::995 :::* LISTEN 15439/dovecot
I entered same config which i saw trying before.
Code:
[root@ip-172-31-21-162 ~]# cat /etc/dovecot/dovecot.conf
haproxy_trusted_networks = 127.0.0.1
dict {
}
!include conf.d/*.conf
!include_try local.conf
and with worked
.
THANKS DEAR bathory.
I REALLY APPRECIATE YOUR HELP.
As my issue has been resolved now, I am marking this thread as solved.
Regards,
Redssr