I am using RHEL 6.4. I have a script which runs in bash. The script sends an email using the command:
mailx -a report.txt "Monthly Report" "firstname.lastname@example.org" < messageBody.html
report.txt is a pipe separated text file. The size of this file is unknown; sometimes this file may contain just 10-15 records, on other days it may have millions of records.
Now my questions are:
- How do I determine what is the maximum file size that can be sent as an attachment?
- How to change that size?