Hello, My idea is quite simple - I have list of IP addresses that are only sending spam and I need to collect that spam, instead of rejecting it, so that I can report it to authorities.
I've been thinking about using OpenBSD SMTPD for this task, but can't figure out how to do that. PF has table of spammer IPs that it would redirect to other server or port. On that server I need SMTPD running and receiving emails for any destination and deliver it to specific maildir. That's where I have my first problem. How can I tell SMTPD to receive every email, no matter what receiver is? I've tried this, but it doesn't work and SMTPD complains about syntax error: accept from any for any deliver to maildir /var/spamdb What am I doing wrong here? Second question, is it possible to run both Postfix (as primary MDA) and OpenBSD SMTPD (as spam MDA, listem to port 9025) simultaneusly on the same server? Thanks! Karlis