I've got openwrt 18.06 installed and running on a banana pi R1 (also known as a lamobo R1). This is the web-facing router connected directly to a cable-modem.
I've got an email server inside my network, listening on port 25 and have port 25 forwarded from openwrt to my server. Emails are being received by the server and that part is all good. I want to implement a/v and spam scanning before the emails are forwarded on to the server
I have installed the clamav, clamsmtp packages as well as bogofilter.
Can anybody point me in the right direction for what settings I need to accomplish my goal? I have acchieved this setup before, many years ago by using ipcop and copfilter (although the spam was handled by spamassassin rather than bogof)