To view a Mail service log:
1In Server Admin, select a computer in the Servers list, then select Mail.
2Click the Logs button.
3From the View
4Click Save.
From the command line:
You can use tail or another
1Use the serveradmin getLogPaths command to see where Mail service logs are located.
$ sudo serveradmin command mail:command = getLogPaths
2View the latest entries in your selected log with the tail command.
To view the last 10 entries in the Junk Mail/Virus Scanning log:
$ tail /var/log/amavis.log
To view any number of entries:
$ tail
Replace lines with the number of lines you want to view.
To watch new additions to the log file:
$ tail
For more information on the tail command, see its man page.
Reclaiming Disk Space Used by Mail Service Log Archives
Mac OS X Server reclaims disk space used by Mail service logs when they reach a specified size or age. You can use the
Viewing the Mail Connections List
Server Admin can list the users who are connected to Mail service. For each user, you see the user name, IP address of the client computer, type of mail account (IMAP or POP), number of connections, and connection length.
To view a list of connected mail users:
1In Server Admin, select Mail in the Computer & Services list.
2Click the Connections button.
Chapter 4 Monitoring and Maintaining Mail Service
87