UnixServerAdmin

Server Administration & Management

How to view maillog for particular domain

SSH to Server and run following commands as root user :-

# cat /var/log/exim_mainlog | grep “unixserveradmin.com” > mail_log.txt

this should create a file called mail_log.txt with the desired mail log for unixserveradmin.com domain

January 15, 2011 Posted by | Mail | , , | 1 Comment