Page 1 of 1

Malconfiguration of mail server

Posted: Tue Feb 02, 2016 8:00 pm
by Tsukasa
Hello!

I have set up VestaCP using Ubuntu 14.04. I DID NOT enabled DNS server (as DNS is handled by Digital Ocean where I host) and I removed SpamAsassin from setup. I configured mail domain and account without a problem.



Presently my email can not get trough. Here's the log (I only changed my actual private data to XXXXX)

2016-02-02 14:52:26 1aQgzy-0007Kx-Jv DKIM: d=npspotas.onmicrosoft.com s=selector1-XXXXXXXX-com c=relaxed/relaxed a=rsa-sha256 [verification succeeded]
2016-02-02 14:52:26 1aQgzy-0007Kx-Jv malware acl condition: clamd: unable to connect to UNIX socket /var/run/clamav/clamd.ctl (No such file or directory)
2016-02-02 14:52:26 1aQgzy-0007Kx-Jv H=mail-ve1eur01on0075.outbound.protection.outlook.com (EUR01-VE1-obe.outbound.protection.outlook.com) [104.47.1.75] F=<[email protected]> temporarily rejected after DATA
2016-02-02 14:52:26 TLS error on connection from mail-ve1eur01on0075.outbound.protection.outlook.com (EUR01-VE1-obe.outbound.protection.outlook.com) [104.47.1.75] (send): Error in the push function.



I also fixed another problem of insufficient rights for aliases file by changing its ownership from admin to Debian-exim. Before I done this, I also had:
2016-02-02 14:46:59 H=mail-bn1on0075.outbound.protection.outlook.com (na01-bn1-obe.outbound.protection.outlook.com) [157.56.110.75] F=<[email protected]> temporarily rejected RCPT <[email protected]>: failed to open /etc/exim4/domains/XXXXXX/aliases for linear search: Permission denied (euid=111 egid=120)

panic.log got:

2016-02-02 14:52:26 1aQgzy-0007Kx-Jv malware acl condition: clamd: unable to connect to UNIX socket /var/run/clamav/clamd.ctl (No such file or directory)
2016-02-02 14:58:04 1aQh5Q-0007Pk-H2 malware acl condition: clamd: unable to connect to UNIX socket /var/run/clamav/clamd.ctl (No such file or directory)


I appreciate a help to resolve this.

Re: Malconfiguration of mail server

Posted: Tue Feb 02, 2016 9:53 pm
by Tsukasa
SOlved: Clamav was not started due to lack of memory.

However had to re-assign to user Debian-exim all the files in the domain folder.

Re: Malconfiguration of mail server

Posted: Wed Feb 17, 2016 10:59 pm
by coryrobinson42
Hi,
I'm experiencing a similar issue w/ Digitalocean Ubuntu install. What size was your droplet?