By thejdub
I recently created a new droplet and installed iRedMail on it by following these directions: https://www.digitalocean.com/community/articles/how-to-install-iredmail-on-ubuntu-12-04-x64
But I cannot send or receive mail on it. The email just gets returned with a “Connection Refused” error.
/var/log/mail.err complains that all primary virus scanners failed
I’m new to Linux admin, so you may have to walk me though things, but I catch on quick.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Here is the tail output from mail.err: <br> <br>Apr 8 13:21:02 www amavis[1418]: (01418-06) (!!)TROUBLE in check_mail: virus_scan FAILED: AV: ALL VIRUS SCANNERS FAILED <br>Apr 8 13:50:46 www amavis[1417]: (01417-06) (!!)WARN: all primary virus scanners failed, considering backups <br>Apr 8 13:50:50 www amavis[1417]: (01417-06) (!!)TROUBLE in check_mail: virus_scan FAILED: AV: ALL VIRUS SCANNERS FAILED <br>Apr 8 13:51:34 www amavis[1418]: (01418-07) (!!)WARN: all primary virus scanners failed, considering backups <br>Apr 8 13:51:38 www amavis[1418]: (01418-07) (!!)TROUBLE in check_mail: virus_scan FAILED: AV: ALL VIRUS SCANNERS FAILED <br>Apr 8 14:00:55 www amavis[1418]: (01418-08) (!!)WARN: all primary virus scanners failed, considering backups <br>Apr 8 14:00:55 www amavis[1417]: (01417-07) (!!)WARN: all primary virus scanners failed, considering backups <br> <br>I assume in your ‘sudo’ command I substitute NAME with amavis? In which case amavis does not appear to be running, because if I am reading the right the only thing returning is the grep command: <br> <br>root 22599 0.0 0.1 9392 900 pts/0 S+ 17:59 0:00 grep --color=auto amavis <br>
I’m not sure if I’m making progress or not. It looks like I got my amavis running by executing ‘service amavis start’, but I still get the same errors as above. I checked my /var/log/mail.log and saw this: <br> <br>Apr 11 09:30:47 www amavis[25786]: (25786-01) (!)ClamAV-clamd av-scanner FAILED: run_av error: Too many retries to talk to /tmp/clamd.socket (Can’t connect to UNIX socket /tmp/clamd.socket: No such file or directory) at (eval 102) line 375. <br> <br>So it appears there is something wrong with clamav? I’ve been searching the web, but haven’t been able to diagnose the problem yet.
“sudo dmesg | grep -i oom” returns nothing, however I only have the 512MB/20GB droplet. <br> <br>I have not added swap, but will that help if it’s not an OOM issue? I wouldn’t think so.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.