I have a script generated e-mail which comes in hourly. I do not need to see it except under certain conditions, and so I just want it filtered to its own mailbox. The message comes from cron, and I want to be careful not to filter out other cron messages, only this one based upon the source and content.
The body line (first line of the message starts with it) I am trying to match is:
/etc/cron.hourly/scriptrun:
Here is what I came up with that is NOT working. I am not sure where i went wrong.
:0 HB
* ^From:.*root@ns1.domain.net
* ^Subject: {Cron
* \/etc\/cron.hourly\/scriptrun
.Save/
Any ideas would be greatly appreciated.