How can I get a daily report of qmails activity? The command that needs to be run is simply:
You can run this on the command line, you can set up a cron job, add it to your periodic files, or any of a number of other methods. I find the most convenient method is adding this line to /etc/mail/mailer.conf:
If there's a different mailq command in there, comment it out. If all else fails, simply run that command every morning. :)
Last modified on 4/5/05. |
|