Cannot receive emails
Cannot receive emails
I installed VestaCP on a clean Centos 7. Everything works great except the email; I can send emails, but I cannot receive any. I've tried this hint from here: viewtopic.php?f=12&t=10730#p40115 but it did not work.
Also I've tried to see what the problem is through http://www.checktls.com :
They write that:
Any ideas on what can cause this issue?
Also I've tried to see what the problem is through http://www.checktls.com :
SpoilerShow
Checking [email protected]
looking up MX hosts on domain "lama.md"
mail.lama.md (preference:10)
Trying TLS on mail.lama.md[164.132.104.120] (10):
seconds test stage and result
[000.285] Connected to server
[005.472] <-- 220 164.132.104.120 ESMTP Exim 4.84 Wed, 02 Mar 2016 23:22:46 +0100
[005.473] We are allowed to connect
[005.473] --> EHLO checktls.com
[005.605] <-- 250-164.132.104.120 Hello www4.checktls.com [216.68.85.112]
250-SIZE 52428800
250-8BITMIME
250-PIPELINING
250-AUTH PLAIN LOGIN
250-STARTTLS
250 HELP
[005.605] We can use this server
[005.605] TLS is an option on this server
[005.606] --> STARTTLS
[005.745] <-- 220 TLS go ahead
[005.745] STARTTLS command works on this server
[006.030] SSLVersion in use: TLSv1.2
[006.030] Cipher in use: AES128-SHA256
[006.030] Connection converted to SSL
[006.057]
Certificate 1 of 2 in chain:
subject= /C=US/ST=California/L=San Francisco/O=Vesta Control Panel/OU=IT/CN=164.132.104.120/emailAddress=[email protected]
issuer= /C=US/ST=California/L=San Francisco/O=Vesta Control Panel/OU=IT/CN=164.132.104.120/emailAddress=[email protected]
[006.081]
Certificate 2 of 2 in chain:
subject= /C=US/ST=California/L=San Francisco/O=Vesta Control Panel/OU=IT/CN=164.132.104.120/emailAddress=[email protected]
issuer= /C=US/ST=California/L=San Francisco/O=Vesta Control Panel/OU=IT/CN=164.132.104.120/emailAddress=[email protected]
[006.082] Cert NOT VALIDATED: self signed certificate
[006.082] So email is encrypted but the domain is not verified
[006.082] Cert Hostname DOES NOT VERIFY (mail.lama.md != 164.132.104.120)
[006.082] So email is encrypted but the host is not verified
[006.083] ~~> EHLO checktls.com
[006.224] <~~ 250-164.132.104.120 Hello www4.checktls.com [216.68.85.112]
250-SIZE 52428800
250-8BITMIME
250-PIPELINING
250-AUTH PLAIN LOGIN
250 HELP
[006.225] TLS successfully started on this server
[006.225] ~~> MAIL FROM:<[email protected]>
[006.360] <~~ 250 OK
[006.361] Sender is OK
[006.361] ~~> RCPT TO:<[email protected]>
[006.762] <~~ 250 Accepted
[006.762] Recipient OK, E-mail address proofed
[006.763] ~~> QUIT
[006.898] <~~ 221 164.132.104.120 closing connection
looking up MX hosts on domain "lama.md"
mail.lama.md (preference:10)
Trying TLS on mail.lama.md[164.132.104.120] (10):
seconds test stage and result
[000.285] Connected to server
[005.472] <-- 220 164.132.104.120 ESMTP Exim 4.84 Wed, 02 Mar 2016 23:22:46 +0100
[005.473] We are allowed to connect
[005.473] --> EHLO checktls.com
[005.605] <-- 250-164.132.104.120 Hello www4.checktls.com [216.68.85.112]
250-SIZE 52428800
250-8BITMIME
250-PIPELINING
250-AUTH PLAIN LOGIN
250-STARTTLS
250 HELP
[005.605] We can use this server
[005.605] TLS is an option on this server
[005.606] --> STARTTLS
[005.745] <-- 220 TLS go ahead
[005.745] STARTTLS command works on this server
[006.030] SSLVersion in use: TLSv1.2
[006.030] Cipher in use: AES128-SHA256
[006.030] Connection converted to SSL
[006.057]
Certificate 1 of 2 in chain:
subject= /C=US/ST=California/L=San Francisco/O=Vesta Control Panel/OU=IT/CN=164.132.104.120/emailAddress=[email protected]
issuer= /C=US/ST=California/L=San Francisco/O=Vesta Control Panel/OU=IT/CN=164.132.104.120/emailAddress=[email protected]
[006.081]
Certificate 2 of 2 in chain:
subject= /C=US/ST=California/L=San Francisco/O=Vesta Control Panel/OU=IT/CN=164.132.104.120/emailAddress=[email protected]
issuer= /C=US/ST=California/L=San Francisco/O=Vesta Control Panel/OU=IT/CN=164.132.104.120/emailAddress=[email protected]
[006.082] Cert NOT VALIDATED: self signed certificate
[006.082] So email is encrypted but the domain is not verified
[006.082] Cert Hostname DOES NOT VERIFY (mail.lama.md != 164.132.104.120)
[006.082] So email is encrypted but the host is not verified
[006.083] ~~> EHLO checktls.com
[006.224] <~~ 250-164.132.104.120 Hello www4.checktls.com [216.68.85.112]
250-SIZE 52428800
250-8BITMIME
250-PIPELINING
250-AUTH PLAIN LOGIN
250 HELP
[006.225] TLS successfully started on this server
[006.225] ~~> MAIL FROM:<[email protected]>
[006.360] <~~ 250 OK
[006.361] Sender is OK
[006.361] ~~> RCPT TO:<[email protected]>
[006.762] <~~ 250 Accepted
[006.762] Recipient OK, E-mail address proofed
[006.763] ~~> QUIT
[006.898] <~~ 221 164.132.104.120 closing connection
so the problem is not with the certificate.Note: Cert failures do not affect TLS encryption, but may mean the site isn't who they say they are
Any ideas on what can cause this issue?
-
- Collaborator
- Posts: 783
- Joined: Mon May 11, 2015 8:43 am
- Contact:
- Os: CentOS 6x
- Web: apache + nginx
Re: Cannot receive emails
Can you show us your exim log?
Re: Cannot receive emails
tjebbeke wrote:Can you show us your exim log?
Code: Select all
DATA
2016-03-03 10:45:11 1abPol-0004Xo-DR DKIM: d=gmail.com s=20120113 c=relaxed/relaxed a=rsa-sha256 [verification succeeded]
2016-03-03 10:45:11 1abPol-0004Xo-DR malware acl condition: clamd: unable to connect to UNIX socket (/var/run/clamav/clamd.sock): No such file or directory
2016-03-03 10:45:11 1abPol-0004Xo-DR H=mail-lb0-f182.google.com [209.85.217.182] X=TLSv1.2:AES128-GCM-SHA256:128 F=<[email protected]> temporarily rejected after DATA
2016-03-03 10:45:37 1abPpB-0004Y3-Hf DKIM: d=gmail.com s=20120113 c=relaxed/relaxed a=rsa-sha256 [verification succeeded]
2016-03-03 10:45:37 1abPpB-0004Y3-Hf malware acl condition: clamd: unable to connect to UNIX socket (/var/run/clamav/clamd.sock): No such file or directory
2016-03-03 10:45:37 1abPpB-0004Y3-Hf H=mail-lb0-f178.google.com [209.85.217.178] X=TLSv1.2:AES128-GCM-SHA256:128 F=<[email protected]> temporarily rejected after DATA
Re: Cannot receive emails
Update:
I've tried to resolve this issue with "malware acl condition: clamd: unable to connect to UNIX socket (/var/run/clamav/clamd.sock)" but no succes. The main problem is that I can't execute nor
is says
I've tried to install it, but everything seems to be installed already. Shall I remove clamd and install again?
I've tried to resolve this issue with "malware acl condition: clamd: unable to connect to UNIX socket (/var/run/clamav/clamd.sock)" but no succes. The main problem is that I can't execute
Code: Select all
/etc/init.d/clamd restart
Code: Select all
/etc/init.d/clamd-daemon restart
is says
Code: Select all
-bash: /etc/init.d/clamd: No such file or directory
-
- Collaborator
- Posts: 783
- Joined: Mon May 11, 2015 8:43 am
- Contact:
- Os: CentOS 6x
- Web: apache + nginx
Re: Cannot receive emails
mkdir /var/run/clamav/
сhown clam:mail /var/run/clamav/
сhown clam:mail /var/run/clamav/
Re: Cannot receive emails
I did that, and I can receive emails! thanks a lot. why did this help? :Dtjebbeke wrote:mkdir /var/run/clamav/
сhown clam:mail /var/run/clamav/