Hi, On Thu, 2005-12-15 at 16:27 -0300, Ing. Fernando Villarreal - Silice S.A. wrote: > I'd tried spamassassin -D -t < spam.txt but i'd like to test it > simulating a smtp injection, any ideas? >
Telnet to port 25 of your machine (or server) and do the following: $ telnet localhost 25 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. 220 yourdomain.com ESMTP mail from: [EMAIL PROTECTED] 250 ok rcpt to: [EMAIL PROTECTED] 250 ok data 354 go ahead punk, make my day Once you see this string, copy and paste the *complete* spam mail (source of the email) and press Enter. Then in the new line, just give a single dot (.) and press Enter. You message will get queued. Exit the telnet session by giving a "exit" command. Check your qmail-queue log for action performed on this Spam email. Hope this helps. Srinidhi.