# Dovecot problem after config haproxy

**URL:** <https://discourse.haproxy.org/t/dovecot-problem-after-config-haproxy/7405>\
**Category:** Help!\
**Created:** [February 16, 2022, 7:22am UTC](https://discourse.haproxy.org/t/dovecot-problem-after-config-haproxy/7405 "2022-02-16T07:22:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![bita](https://avatars.discourse-cdn.com/v4/letter/b/9de0a6/32.png) [@bita](https://discourse.haproxy.org/u/bita)\
**Post date:** [February 16, 2022, 7:22am UTC](https://discourse.haproxy.org/t/dovecot-problem-after-config-haproxy/7405/1 "2022-02-16T07:22:43Z")

</div>

hi  
i configured the ha proxy for 2 postfix server that worked well before config haproxy. after set email account in outlook sent and received test pass but i couldn’t send or receive email.  
i check the mail log and have this error :

dovecot[5736]: imap-login: Disconnected (no auth attempts in 0 secs): user=\<\>, rip=192.168.43.219, lip=192.168.43.200, session=  
i search and found i have problem with ssl certificate.

i use this link for configuration

> **[Set Up SMTP and IMAP Proxy with HAProxy (Debian, Ubuntu, CentOS)](https://www.linuxbabe.com/mail-server/smtp-imap-proxy-with-haproxy-debian-ubuntu-centos)**
>
> This tutorial is going to show you how to set up SMTP and IMAP proxy for your mail server with HAProxy. You can run a VPS (Virtual Private Server) at a data center and use it as a proxy for your mail server.

please help me
