All modern mail servers allow some configuration to handle incoming mails to other processes, for purposes like spam filtering.
So you could hijack that mechanism to write a custom "spam filter" that enters all the incoming emails into a database, and mark the all as spam, so that the mail server doesn't deliver them (unless you actually do want them delivered).
I don't have any first hand experience with it, but I'd expect the battle proven mail servers to be more robust than the SMTP server modules you'll find on CPAN. (Of course that might do them great injustice, but I know that exim works well in the real world).
In reply to Re: SMTP Server - which module
by moritz
in thread SMTP Server - which module
by cavac
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |