On Fri, Jan 11, 2019 at 10:29:04AM +1030, Brett Lymn wrote: > On Wed, Jan 09, 2019 at 10:16:22PM -0600, ed...@pettijohn-web.com wrote: > > > > The last maintainer of procmail says not to use it. Thats reason enough > > for me not to. > > > > https://marc.info/?l=openbsd-ports&m=141634350915839&w=2 > > > > Oh, wonderful. A quick search shows that the most likely replacement is > maildrop but that does not easily do some things that procmail will do > (e.g. pipe mail to a script which I can see people would consider > dangerous but damn convenient when processing automated messages) > > -- > Brett Lymn > "We are were wolves", > "You mean werewolves?", > "No we were wolves, now we are something else entirely", > "Oh"
Take a look at fdm. It can be used to fetch from imap/pop and deliver locally or take messages from stdin and deliver them. The config allows for piping through and executing external commands. Its syntax is similar to pf. Edgar