I've been trying to figured out how to get a different application as the sendmail app. I've not been able to find anything for this, so I'm coming here for an assist. If not being able to redefine sendmail to something different, is there a way I can instead fire off a script that will run my email application instead? I've looked at:
For a while now, but I'm not able to figure it out. Thanks for any assistance.
Disclaimer: I've never done this before, so the following may be completely wrong. with that said ...
In base/frameworks/notice/main.bro, there is a function called 'email_notice_to'. In this function, there is a call that looks like this:
piped_exec(fmt("%s -t -oi", sendmail), email_text);
piped_exec is, I think, what actually makes the call to sendmail, where sendmail is defined to be (in the same file):
## Local system sendmail program.
Thanks for looking at this Gilbert...that helps.