I meddled with installing MailScanner (bad idea) and it messed up exim. I removed it following this guide.
Then, I tried and re-installed exim with the following:
And ran majordomo which tells me everything is "good".
But when I try to start exim, it gives me the following error:
Any idea?
Edit: Are these permissions ok?
EDIT 2: I should have mentioned that in removing MailScanner I accidentaly deleted /init.d/ and recreated it. My hunch is that this is causing the problem somehow.
Then, I tried and re-installed exim with the following:
Code:
[root@server exim]# cd /usr/local/directadmin/scripts
[root@server scripts]# ./exim.sh
And ran majordomo which tells me everything is "good".
But when I try to start exim, it gives me the following error:
Code:
[root@server majordomo]# service exim start
env: /etc/init.d/exim: Permission denied
Any idea?
Edit: Are these permissions ok?
Code:
[root@server exim]# ls -al /usr/sbin/exim
-rwsr-xr-x 1 root root 918104 Jul 19 2011 /usr/sbin/exim
[root@server exim]# ls -al /var/log
total 5668
drwxr-xr-x. 10 root root 4096 May 16 15:40 .
drwxr-xr-x. 21 root root 4096 Mar 15 2014 ..
-rw-------. 1 root root 43898 Dec 28 2013 anaconda.syslog
-rw-------. 1 root root 29459 Dec 28 2013 anaconda.xlog
drwxr-x---. 2 root root 4096 May 15 18:26 audit
-rw-r--r-- 2 root root 470795 May 14 07:21 boot.log
-rw------- 1 root utmp 0 May 14 06:53 btmp
drwxr-xr-x 2 clam clam 4096 Mar 30 02:51 clamav
-rw------- 1 root root 509012 May 16 17:51 cron
-rw------- 1 root root 214371 May 15 03:36 cron-20160515
drwx------. 2 diradmin diradmin 4096 May 16 09:14 directadmin
-rw-r--r-- 1 root root 21023 May 14 06:42 dmesg
-rw-r--r-- 1 root root 190835 May 14 07:20 dracut.log
drwxr-xr-x. 2 mail mail 4096 Jul 19 2011 exim
drwx------. 3 root root 4096 May 16 00:11 httpd
drwxr-xr-x. 2 root root 4096 Jun 22 2012 iptraf
-rw-r--r-- 1 root root 147752 May 16 15:40 lastlog
-rw------- 1 root root 22956 May 16 17:10 lfd.log
-rw------- 1 root root 5470 May 15 03:36 lfd.log-20160515.gz
-rw------- 1 root root 250349 May 16 17:45 maillog
-rw------- 1 root root 85115 May 15 03:33 maillog-20160515
-rw------- 1 root root 2684192 May 16 17:51 messages
-rw------- 1 root root 1094402 May 15 03:36 messages-20160515
drwxr-xr-x. 2 ntp ntp 4096 Jan 25 17:38 ntpstats
drwxr-xr-x. 2 root root 4096 May 16 00:10 proftpd
-rw------- 1 root root 5196 May 16 17:47 secure
-rw------- 1 root root 5302 May 15 03:00 secure-20160515
-rw------- 1 root root 0 May 15 03:36 spooler
-rw------- 1 root root 0 May 14 06:42 spooler-20160515
-rw------- 1 root apache 0 May 15 03:36 suphp.log
-rw------- 1 root apache 0 May 14 10:44 suphp.log-20160515
-rw------- 1 root root 0 May 14 06:50 tallylog
-rw-rw-r-- 1 root utmp 24960 May 16 15:00 wtmp
-rw------- 1 root root 17373 May 16 15:42 yum.log
EDIT 2: I should have mentioned that in removing MailScanner I accidentaly deleted /init.d/ and recreated it. My hunch is that this is causing the problem somehow.
Last edited: