Control Web Panel

WebPanel => E-Mail => Topic started by: thiago on November 18, 2014, 03:09:17 PM

Title: Email don't work
Post by: thiago on November 18, 2014, 03:09:17 PM
Hi,

My Thunderbird can't connect to my email account. And i try to login in my email using Roundcube and shows me a error: "Falha na conexão com o servidor. Verifique se informou os dados corretamente" (Connection to storage server failed. my language is pt_BR).
What happens?

My records is:

DOMAIN.com.br   A   DOMAINIP
DOMAIN.com.br   MX   10 mail.DOMAIN.com.br
mail.DOMAIN.com.br   A   DOMAINIP
www.DOMAIN.com.br   A   DOMAINIP

And i have SSL for this DOMAIN.com.br

I restart Postfix and still dont work.
When i try to restart Dovecot, my CWP freeze totaly. And i unlocked typing "doveadm stop" command from putty.

[Edited]

I change /etc/postfix/main.cf:

smtpd_tls_CAfile = /etc/pki/tls/certs/ca-bundle.crt
smtp_tls_CAfile = /etc/pki/tls/certs/ca-bundle.crt


to

smtpd_tls_CAfile = /etc/pki/tls/certs/myca.crt
smtp_tls_CAfile = /etc/pki/tls/certs/myca.crt


But still don't work.

[Edited]

I add ssl_ca my CAcert in /etc/dovecot/dovecot.conf
ssl_ca = </etc/pki/tls/certs/s5up.com.brCA.crt

And now, i can send emails, but i don't receive.
Maillog in /var/log/mailog show:

Nov 18 12:39:35 s5up postfix/smtpd[12924]: connect from mail-wi0-f176.google.com[209.85.212.176]
Nov 18 12:39:35 s5up postfix/smtpd[12924]: setting up TLS connection from mail-wi0-f176.google.com[209.85.212.176]
Nov 18 12:39:36 s5up postfix/smtpd[12924]: Anonymous TLS connection established from mail-wi0-f176.google.com[209.85.212.176]: TLSv1 with cipher RC4-SHA (128/128 bits)
Nov 18 12:39:36 s5up postfix/trivial-rewrite[12928]: warning: do not list domain s5up.com.br in BOTH mydestination and virtual_mailbox_domains
Nov 18 12:39:36 s5up postfix/smtpd[12924]: NOQUEUE: reject: RCPT from mail-wi0-f176.google.com[209.85.212.176]: 450 4.1.1 <webdev@s5up.com.br>: Recipient address rejected: User unknown in local recipient table; from=<thiagoalx32@gmail.com> to=<webdev@s5up.com.br> proto=ESMTP helo=<mail-wi0-f176.google.com>
Nov 18 12:39:36 s5up postfix/smtpd[12924]: disconnect from mail-wi0-f176.google.com[209.85.212.176]


Do you have an idea to solve this ?

Thanks!
Title: Re: Email don't work
Post by: Administrator on November 19, 2014, 04:33:40 PM
when installing the server you need to have a proper server hostname set.
Its suggested that you restore all your working configuration, I hope that you have made backups before editing.
Title: Re: Email don't work
Post by: arthurcvm on September 08, 2016, 04:36:58 PM
My email services also don't work, look the images:

(http://imageshack.com/a/img923/5992/Dyo1i4.png)

My hostname is: srv1.youster.com.br
and my domain: youster.com.br

but when I modify the hostname to "srv1" only, the CWP don't resolves.
Look the image of my maillog with the first configuration (hostname is: srv1.youster.com.br
and domain: youster.com.br):
(http://imageshack.com/a/img922/5963/V50E77.png)

How I solve this?