I used to use fetchmail and anytime I mentioned it, I was pointed to fdm.
https://github.com/nicm/fdm
Written by OpenBSD dev nicm@
I only use it for fetching but it also does filtering and can be a procmail replacement. A quick search for 'fdm procmail' shows several blogs about switching.