I'd like to setup a POP/SMTP proxy which logs all emails to a database. Nginx does support POP3 and SMTP but I didn't find any possibility to log the mails to a database.
Unfortunately the existing mail server (Postfix) can not be configured or changed in anyway. The server accepts direct connections from/to the internet. In addition there are different mail clients used (Outlook, Thunderbird, iOS Mail, ...).
Which proxy server is able to accomplish this?