We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
Cannot receive/forward mail after uninstalling ClamAV
Cannot receive/forward mail after uninstalling ClamAV
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")
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.
Re: Cannot receive/forward mail
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
File location on RHEL/Centos is /var/log/exim/main.log
File location on Debian/Ubuntu is /var/log/exim4/main.log
Re: Cannot receive/forward mail
Looking at the log (/var/log/exim4/mainlog), I see it noted:
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?
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
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?
Re: Cannot receive/forward mail
Comment the whole line and restart the exim4
Setting it to no doesn't disable it.
Code: Select all
#CLAMD = yes
Re: Cannot receive/forward mail
Ah, that worked! Thanks.
Re: Cannot receive/forward mail after uninstalling ClamAV
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.
Re: Cannot receive/forward mail after uninstalling ClamAV
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.
nano /etc/exim4/exim4.conf.template
#CLAMD = yes
Closed out and restarted Exim4 and I got my inbox working again.