I added the Sarg package for Squidguard reporting. It works fine and I'm able to view the reports without an issue. When I attempt to have it email me the reports, by running the
I know that within the Sarg.conf file there is a place to specify a mail utility. The one there right now is the default - mailx.
I'm assuming that since mailx(1) is not working, it's not installed/configured. I am somewhat a beginner here, and would like some assistance installing a mail utility. Mutt seems like a common choice, but if mailx(1) is better or easier, I'm certainly open. Can someone point me in the right direction? Any help with the actual installation steps would be appreciated as well.
sarg -x
command from the shell to test, it gives me the message "mailx: not found".I know that within the Sarg.conf file there is a place to specify a mail utility. The one there right now is the default - mailx.
Code:
# TAG: mail_utility
# Mail command to use to send reports via SMTP. Sarg calls it like this:
# mail_utility -s "SARG report, date" "output_email" <"mail_content"
#
# Therefore, it is possible to add more arguments to the command by specifying them
# here.
#
# If you need too, you can use a shell script to process the content of /dev/stdin
# (/dev/stdin is the mail_content passed by Sarg to the script) and call whatever
# command you like. It is not limited to mailing the report via SMTP.
#
# Don't forget to quote the command if necessary (i.e. if the path contains
# characters that must be quoted).
#
#mail_utility mailx