[Bro-Dev] #407: broctl/scripts/send-mail hardwires hostnames, subject prefixes, etc.

Bro Tracker bro at tracker.icir.org
Fri Mar 4 14:52:21 PST 2011


#407: broctl/scripts/send-mail hardwires hostnames, subject prefixes, etc.
------------------------+-------------------
 Reporter:  leres       |      Owner:  robin
     Type:  Problem     |     Status:  new
 Priority:  Normal      |  Milestone:
Component:  BroControl  |    Version:  1.5.1
 Keywords:              |
------------------------+-------------------
 If I build bro on one machine and copy the resulting files to another
 (perhaps using a FreeBSD package), the broctl send-mail script sends mail
 from bro at the build host's hostname. In addition, send-mail does not
 honor the MailSubjectPrefix setting in broctl.cfg:

 {{{
 from="Big Brother <bro at hot.ee.lbl.gov>"
 replyto=""
 subject="[Bro] $1"

 if [ $# = 2 ]; then
    to=$2
 else
    to="root at localhost"
 fi

 }}}

 This script should pick up MailFrom and MailSubjectPrefix from broctl.cfg.

-- 
Ticket URL: <http://tracker.icir.org/bro/ticket/407>
Bro Tracker <http://tracker.icir.org/bro>
Bro Issue Tracker



More information about the bro-dev mailing list