exim is not running, even on a reboot.
nothing shows in /var/log/exim and all is chmod 755 and 644.
-rw------- 1 mail mail 0 Jun 12 14:21 exim_mainlog
-rw------- 1 mail mail 0 Jun 12 14:24 exim_paniclog
-rw------- 1 mail mail 0 Jun 12 14:24 exim_rejectlog
lrwxr-xr-x 1 root mail 12 Jun 12 14:24 mainlog@ -> exim_mainlog
lrwxr-xr-x 1 root mail 13 Jun 12 14:25 paniclog@ -> exim_paniclog
lrwxr-xr-x 1 root mail 14 Jun 12 14:25 rejectlog@ -> exim_rejectlog
my /var/log/messages shows:
Jun 12 15:04:10 elatha exim: 2005-06-12 15:04:10 exim 4.50 daemon started: pid=93577, -q1h, listening for SMTP on port 25 (IPv4)
Jun 12 15:04:10 elatha exim: 2005-06-12 15:04:10 Cannot open main log file "/var/log/exim/mainlog": Permission denied: euid=12 egid=6
Jun 12 15:04:10 elatha exim: exim: could not open panic log - aborting: see message(s) above
Proof of concept that mail can read/write to mainlog...
-[Sun Jun 12]-[03:03:30]-[/var/log/exim]
-[mail@elatha]$ touch hi
-[Sun Jun 12]-[03:03:39]-[/var/log/exim]
-[mail@elatha]$ ls -la
total 8
drwx--x--x 2 mail mail 512 Jun 12 15:03 .
drwxr-x--- 8 root wheel 3072 Jun 12 14:56 ..
-rw------- 1 mail mail 0 Jun 12 14:21 exim_mainlog
-rw------- 1 mail mail 0 Jun 12 14:24 exim_paniclog
-rw------- 1 mail mail 0 Jun 12 14:24 exim_rejectlog
-rw-r--r-- 1 mail mail 0 Jun 12 15:03 hi
lrwxr-xr-x 1 root mail 12 Jun 12 14:24 mainlog -> exim_mainlog
lrwxr-xr-x 1 root mail 13 Jun 12 14:25 paniclog -> exim_paniclog
lrwxr-xr-x 1 root mail 14 Jun 12 14:25 rejectlog -> exim_rejectlog
-[Sun Jun 12]-[03:03:41]-[/var/log/exim]
-[mail@elatha]$ rm -rf hi
-[Sun Jun 12]-[03:03:43]-[/var/log/exim]
-[mail@elatha]$ echo hello > mainlog
-[Sun Jun 12]-[03:03:50]-[/var/log/exim]
-[mail@elatha]$ ls -la
total 10
drwx--x--x 2 mail mail 512 Jun 12 15:03 .
drwxr-x--- 8 root wheel 3072 Jun 12 14:56 ..
-rw------- 1 mail mail 6 Jun 12 14:21 exim_mainlog
-rw------- 1 mail mail 0 Jun 12 14:24 exim_paniclog
-rw------- 1 mail mail 0 Jun 12 14:24 exim_rejectlog
lrwxr-xr-x 1 root mail 12 Jun 12 14:24 mainlog -> exim_mainlog
lrwxr-xr-x 1 root mail 13 Jun 12 14:25 paniclog -> exim_paniclog
lrwxr-xr-x 1 root mail 14 Jun 12 14:25 rejectlog -> exim_rejectlog
-[Sun Jun 12]-[03:03:50]-[/var/log/exim]
-[mail@elatha]$cat mainlog
hello
mail:*:12:6:User &:/var/log/exim:/usr/local/bin/bash
--------------------------
see? Whats up with it? why cant i get exim to start?
nothing shows in /var/log/exim and all is chmod 755 and 644.
-rw------- 1 mail mail 0 Jun 12 14:21 exim_mainlog
-rw------- 1 mail mail 0 Jun 12 14:24 exim_paniclog
-rw------- 1 mail mail 0 Jun 12 14:24 exim_rejectlog
lrwxr-xr-x 1 root mail 12 Jun 12 14:24 mainlog@ -> exim_mainlog
lrwxr-xr-x 1 root mail 13 Jun 12 14:25 paniclog@ -> exim_paniclog
lrwxr-xr-x 1 root mail 14 Jun 12 14:25 rejectlog@ -> exim_rejectlog
my /var/log/messages shows:
Jun 12 15:04:10 elatha exim: 2005-06-12 15:04:10 exim 4.50 daemon started: pid=93577, -q1h, listening for SMTP on port 25 (IPv4)
Jun 12 15:04:10 elatha exim: 2005-06-12 15:04:10 Cannot open main log file "/var/log/exim/mainlog": Permission denied: euid=12 egid=6
Jun 12 15:04:10 elatha exim: exim: could not open panic log - aborting: see message(s) above
Proof of concept that mail can read/write to mainlog...
-[Sun Jun 12]-[03:03:30]-[/var/log/exim]
-[mail@elatha]$ touch hi
-[Sun Jun 12]-[03:03:39]-[/var/log/exim]
-[mail@elatha]$ ls -la
total 8
drwx--x--x 2 mail mail 512 Jun 12 15:03 .
drwxr-x--- 8 root wheel 3072 Jun 12 14:56 ..
-rw------- 1 mail mail 0 Jun 12 14:21 exim_mainlog
-rw------- 1 mail mail 0 Jun 12 14:24 exim_paniclog
-rw------- 1 mail mail 0 Jun 12 14:24 exim_rejectlog
-rw-r--r-- 1 mail mail 0 Jun 12 15:03 hi
lrwxr-xr-x 1 root mail 12 Jun 12 14:24 mainlog -> exim_mainlog
lrwxr-xr-x 1 root mail 13 Jun 12 14:25 paniclog -> exim_paniclog
lrwxr-xr-x 1 root mail 14 Jun 12 14:25 rejectlog -> exim_rejectlog
-[Sun Jun 12]-[03:03:41]-[/var/log/exim]
-[mail@elatha]$ rm -rf hi
-[Sun Jun 12]-[03:03:43]-[/var/log/exim]
-[mail@elatha]$ echo hello > mainlog
-[Sun Jun 12]-[03:03:50]-[/var/log/exim]
-[mail@elatha]$ ls -la
total 10
drwx--x--x 2 mail mail 512 Jun 12 15:03 .
drwxr-x--- 8 root wheel 3072 Jun 12 14:56 ..
-rw------- 1 mail mail 6 Jun 12 14:21 exim_mainlog
-rw------- 1 mail mail 0 Jun 12 14:24 exim_paniclog
-rw------- 1 mail mail 0 Jun 12 14:24 exim_rejectlog
lrwxr-xr-x 1 root mail 12 Jun 12 14:24 mainlog -> exim_mainlog
lrwxr-xr-x 1 root mail 13 Jun 12 14:25 paniclog -> exim_paniclog
lrwxr-xr-x 1 root mail 14 Jun 12 14:25 rejectlog -> exim_rejectlog
-[Sun Jun 12]-[03:03:50]-[/var/log/exim]
-[mail@elatha]$cat mainlog
hello
mail:*:12:6:User &:/var/log/exim:/usr/local/bin/bash
--------------------------
see? Whats up with it? why cant i get exim to start?