On this page
Spam Reinjection for Testing
I need to reinject spam for testing on a server… but using the simple mail
command is not sufficient to reinject messages with their headers…
We’ll use the sendmail command (even for Postfix):
|
|
The Postfix sendmail command implements the Postfix to Sendmail compatibility interface:
|
|
To get “fresh” spam samples, you can use SpamArchive.org
|
|
And a small script to split everything:
|
|
Last updated 03 Oct 2006, 13:36 CEST.