Alternative from addresses in emails

Attached are a few script changes to convert bro from using the 'mail'
program to sendmail. These probably aren't for everyone, but some might
find them useful.

My problem was that I could not change the From: address when using
'mail.' I needed to change this because of testing on a machine with did
not have a fqdn and was sending to an external email address, which
blocked the invalid From: header which was created by 'mail.'

Thanks,

Randy

mail_notice.sh (504 Bytes)

mail_reports.sh (1.56 KB)

bro.cfg.example (4.68 KB)

bro_config (28.5 KB)

bro_config.in (28.4 KB)