Fixed exim log locations
This commit is contained in:
parent
cd09e28e79
commit
531899e5b4
@ -8,7 +8,7 @@ The best way to see what a application is doing is to see what is in the logs fo
|
|||||||
|---------|--------------|----------------|
|
|---------|--------------|----------------|
|
||||||
| Apache | /usr/local/apache/logs/error_log | Errors reported by Apache/PHP |
|
| Apache | /usr/local/apache/logs/error_log | Errors reported by Apache/PHP |
|
||||||
| Apache | /usr/local/apache/logs/stderr.log | Errors that are returned from STDERR |
|
| Apache | /usr/local/apache/logs/stderr.log | Errors that are returned from STDERR |
|
||||||
| Exim | /var/log/mainlog | All connections and transactions for emails on the server |
|
| Exim | /var/log/exim_mainlog | All connections and transactions for emails on the server |
|
||||||
| Dovecot | /var/log/maillog | All connections for incoming mail connections |
|
| Dovecot | /var/log/maillog | All connections for incoming mail connections |
|
||||||
| lfd | /var/log/lfd.log | All firewall blocksk will be reported here along with the reason |
|
| lfd | /var/log/lfd.log | All firewall blocksk will be reported here along with the reason |
|
||||||
| ModSec | /usr/local/apache/modsec_audit.log | Any hits for the ModSec system will be logged here with the IP the rule and the data that triggered the rule |
|
| ModSec | /usr/local/apache/modsec_audit.log | Any hits for the ModSec system will be logged here with the IP the rule and the data that triggered the rule |
|
||||||
@ -17,7 +17,7 @@ The best way to see what a application is doing is to see what is in the logs fo
|
|||||||
|
|
||||||
You can read the log files using command line applications like `cat` and `less`, cat will just print the file to the terminal where less will open the file up in a [pager](/Commands/pagers), this allows for things like searching without closing the logs
|
You can read the log files using command line applications like `cat` and `less`, cat will just print the file to the terminal where less will open the file up in a [pager](/Commands/pagers), this allows for things like searching without closing the logs
|
||||||
|
|
||||||
You can open a log with something like `less /var/log/mainlog` this will allow you to read over the log and search for the information that you wanted
|
You can open a log with something like `less /var/log/exim_mainlog` this will allow you to read over the log and search for the information that you wanted
|
||||||
|
|
||||||
You can also use `grep` to filter the logs for the information that you are looking for see [Grep Examples](/Examples/grep) for some more information on doing this
|
You can also use `grep` to filter the logs for the information that you are looking for see [Grep Examples](/Examples/grep) for some more information on doing this
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user