I made a shell-script for updateing antivirus.
At the end of the script the log file is send by mail.
why is it send as attachment and not as text??
the logfile is written as index.php for use on a monitoring page.
the command I use:
cat /srv/web/netwerk/update/index.php | mail -s "AV updates"
email@domain.com
How can I solve this??