In order to easily troubleshoot mail problems, you can watch the
maillogs in "real time" to determine where things are going pear shaped.
The command to do this is tail
This command can be used to watch any log files on the server.
tail -f /var/log/maillog ( Sendmail logs )
tail -f /var/log/squid/access.log ( Squid proxy logs )
tail -f /var/log/httpd/access.log ( Apache webserver logs )
Copyright, eNet Solutions 2006