Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Mail Server
  • Search

[PROBLEM] Can send mails, but cant receive (vestacp bug?)

Questions regarding the Mail Server
Dovecot, Exim, RoundCube
Post Reply
  • Print view
Advanced search
17 posts
  • Previous
  • 1
  • 2
pandabb
Posts: 192
Joined: Sat Aug 08, 2015 3:03 am

Re: [PROBLEM] Can send mails, but cant receive (vestacp bug?)
  • Quote

Post by pandabb » Fri Feb 26, 2016 3:04 am

good to hear : )
Top

tjebbeke
Collaborator
Posts: 783
Joined: Mon May 11, 2015 8:43 am
Contact:
Contact tjebbeke
Website

Os: CentOS 6x
Web: apache + nginx
Re: [PROBLEM] Can send mails, but cant receive (vestacp bug?)
  • Quote

Post by tjebbeke » Fri Feb 26, 2016 11:29 am

Already fixed https://github.com/serghey-rodin/vesta/pull/646
Top

pandabb
Posts: 192
Joined: Sat Aug 08, 2015 3:03 am

Re: [PROBLEM] Can send mails, but cant receive (vestacp bug?)
  • Quote

Post by pandabb » Sun Feb 28, 2016 12:46 am

hello tj, what could be the problem that after you restart the folder created in /var/run or clamav folder disappears?
Top

r4tulan
Posts: 7
Joined: Wed Feb 24, 2016 1:39 am

Re: [PROBLEM] Can send mails, but cant receive (vestacp bug?)
  • Quote

Post by r4tulan » Sun Apr 10, 2016 5:16 am

The problem, come back one more time. omg

I have solve for some time, but now that bug or somethink like that, comes back
my email dont work , but i sill can send emails!

Main.log
SpoilerShow
X=TLSv1.2:AES128-GCM-SHA256:128 F=<[email protected]> temporarily rejected after DATA
2016-04-10 07:02:08 1ap7Vg-0003dl-GZ malware acl condition: clamd: unable to connect to UNIX socket (/var/log/clamav/clamd.sock): No such file or directory
panic.log
SpoilerShow
2016-04-10 07:06:43 1ap7a7-0004Sv-Bs malware acl condition: clamd: unable to connect to UNIX socket (/var/log/clamav/clamd.sock): No such file or directory
mkdir /var/run/clamav/
chown clam:mail /var/run/clamav/
and
mkdir /var/log/clamav/
chown clam:mail /var/log/clamav/
dont solve my problem ;(

also i have change back to the default settings clamd.conf and exim.conf ( LocalSocket /var/run/clamav/clamd.sock and the others)

=================================================================================
EDIT (solved):

Go to: /var/log/clamav/clamd.log
if u see some database error to
/var/lib/clamav
rename main.cvd to main.cvd.bak
and freshclam

If u see some error like:
ERROR: Can't create temporary directory /var/lib/clamav/clamav-44555478bb.tmp
Hint: The database directory must be writable for UID 1002 or GID 1002

make chmod 755 /var/lib/clamav
and
chown 1002:1002 /var/lib/clamav

them run freshclam
Top

r4tulan
Posts: 7
Joined: Wed Feb 24, 2016 1:39 am

Re: [PROBLEM] Can send mails, but cant receive (vestacp bug?)
  • Quote

Post by r4tulan » Mon May 09, 2016 10:56 am

The problem comes again ;(

Mon May 9 10:54:13 2016 -> ERROR: LOCAL: Socket file /var/run/clamav/clamd.sock could not be bound: No such file or$
Mon May 9 10:54:13 2016 -> ERROR: Can't unlink the socket file /var/run/clamav/clamd.sock


https://github.com/serghey-rodin/vesta/issues/645
main.logShow
2016-05-09 12:41:24 1azicu-0004ca-3e malware acl condition: clamd: unable to connect to UNIX socket (/var/run/clamav/clamd.sock): No such file or directory
panic.logShow
2016-05-09 12:41:24 1azicu-0004ca-3e malware acl condition: clamd: unable to connect to UNIX socket (/var/run/clamav/clamd.sock): No such file or directory
2016-05-09 12:41:44 1azidE-0004cy-DC malware acl condition: clamd: unable to connect to UNIX socket (/var/run/clamav/clamd.sock): No such file or directory
that
mkdir /var/run/clamav/
сhown clam:mail /var/run/clamav/

dont help to solve

(also clamv says , i have run old version,
WARNING: Your ClamAV installation is OUTDATED!
WARNING: Local version: 0.99.1 Recommended version: 0.99.2
DON'T PANIC! Read http://www.clamav.net/documents/upgrading-clamav


when i make freshclam , but yum update -y dont update clamv and also vestacp is updated

Can someone help me solve that problem 4ever? my company does not receive emails due to this problem!
Top

sunnyng
Posts: 1
Joined: Mon Jan 16, 2017 2:17 am

Re: [PROBLEM] Can send mails, but cant receive (vestacp bug?)
  • Quote

Post by sunnyng » Mon Jan 16, 2017 2:34 am

i just install Vestacp for centOS 7, i face same problem, can send mail, but do not receive any incoming mail, i tested the previous post suggestion, seem to be not working, look like i have to un-install centOS 7 and re-install centOS 6
anyone have permanent solution, thanks
Top

iraton
Posts: 8
Joined: Thu May 22, 2014 7:51 pm

Re: [PROBLEM] Can send mails, but cant receive (vestacp bug?)
  • Quote

Post by iraton » Tue Apr 25, 2017 4:10 pm

This is still a bug.

Fresh install, CentOS Linux release 7.3.1611 (Core)

This is still a bug on fresh install.

You can chown /var/run/clamav with mail:clam and it works, however the problem comes back because clam is changing the folder permission back to clam:clam

Work around

comment out #CLAMD = yes
in /etc/exim/exim.conf

You will not have antivirus scan on emails
Top


Post Reply
  • Print view

17 posts
  • Previous
  • 1
  • 2

Return to “Mail Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password