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

Cannot receive/forward mail after uninstalling ClamAV

Questions regarding the Mail Server
Dovecot, Exim, RoundCube
Post Reply
  • Print view
Advanced search
7 posts • Page 1 of 1
sman591
Posts: 3
Joined: Wed Feb 05, 2014 2:18 am

Cannot receive/forward mail after uninstalling ClamAV
  • Quote

Post by sman591 » Wed Feb 19, 2014 5:38 am

Upon tying to send email to a forwarded address (setup with Vesta), Gmail is reporting the email is being delayed.

Technical details of temporary failure:
Google tried to deliver your message, but it was rejected by the server for the recipient domain mydomain.com by mail.mydomain.com. [123.456.789.012].

The error that the other server returned was:
451 Temporary local problem - please try later

I'm not using the DNS provided by Vesta (and therefore don't have it setup), but I have the same records hosted on CloudFlare pointing to the server. Any ideas?

Solved 2/21/14

Original problem: In /etc/exim4/exim4.conf.template, I changed "CLAMD = yes" to "CLAMD = no".

Resolution: Instead of changing "yes" to "no", comment out the entire "CLAMD = yes" (so it reads "#CLAMD = yes")
Last edited by sman591 on Fri Feb 21, 2014 5:18 am, edited 2 times in total.
Top

skid
VestaCP Team
Posts: 1476
Joined: Wed Apr 06, 2011 11:12 pm

Re: Cannot receive/forward mail
  • Quote

Post by skid » Wed Feb 19, 2014 10:13 pm

Check the exim log for more details
File location on RHEL/Centos is /var/log/exim/main.log
File location on Debian/Ubuntu is /var/log/exim4/main.log
Top

sman591
Posts: 3
Joined: Wed Feb 05, 2014 2:18 am

Re: Cannot receive/forward mail
  • Quote

Post by sman591 » Thu Feb 20, 2014 1:25 am

Looking at the log (/var/log/exim4/mainlog), I see it noted:

Code: Select all

2014-02-19 00:38:32 1WFzrc-0008J0-C0 H=mail-qg0-f42.google.com [209.85.192.42] F=<[email protected]> temporarily rejected after DATA
I must've missed that when trying to figure out the error last night. However, the "DATA" part of this does ring a bell.

After some more Googling, I went to /etc/exim4/exim4.conf.template and commented out "acl_smtp_data", which then brought everything back to life... correlation between "acl_smtp_data and the "DATA" note in the log? I think so.

(further diagnosis)

After looking at that template file, I see that "acl_check_data" calls for "acl_check_data", which checks CLAMD and SPAMASSASSIN. I installed both of these in the beginning, but have since uninstalled CLAMD as I don't have enough free RAM. I'm thinking one of these two services HAS to be the cause of this error...

I set "CLAMD = no" at the top of the template since I uninstalled it, is that not enough? Is there any way to better debug this?
Top

skid
VestaCP Team
Posts: 1476
Joined: Wed Apr 06, 2011 11:12 pm

Re: Cannot receive/forward mail
  • Quote

Post by skid » Thu Feb 20, 2014 10:25 am

Comment the whole line and restart the exim4

Code: Select all

#CLAMD =  yes
Setting it to no doesn't disable it.
Top

sman591
Posts: 3
Joined: Wed Feb 05, 2014 2:18 am

Re: Cannot receive/forward mail
  • Quote

Post by sman591 » Fri Feb 21, 2014 5:14 am

Ah, that worked! Thanks.
Top

lolbrol
Posts: 7
Joined: Wed Aug 06, 2014 9:01 pm

Re: Cannot receive/forward mail after uninstalling ClamAV
  • Quote

Post by lolbrol » Mon Oct 13, 2014 10:44 pm

I had a similar problem. ClamAV stops often with working and I can't restart it. A very negative side effect is that I can't receive mails. I disabled the clamav scan it seems to work.
Top

Gordon55M
Posts: 43
Joined: Tue Apr 22, 2014 8:37 pm
Contact:
Contact Gordon55M
Twitter

Os: Ubuntu 15x
Web: nginx + php-fpm
Re: Cannot receive/forward mail after uninstalling ClamAV
  • Quote

Post by Gordon55M » Mon Nov 17, 2014 7:04 pm

Same thing here; I have a system light on RAM as well and I stopped getting emails randomly. Using:

nano /etc/exim4/exim4.conf.template

#CLAMD = yes

Closed out and restarted Exim4 and I got my inbox working again.
Top


Post Reply
  • Print view

7 posts • Page 1 of 1

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