How can i view maillog for one domain in Linux ?
SSH into root and type :
cat /var/log/exim_mainlog | grep “domain.com” > logfile.txt
this should create a file called logfile.txt with the desired mail log for domain.com
|
|
|
|
|
|
Related posts:
- Common SSH Commands and Linux Shell Commands We’ve put together some of the more frequently used SSH...
