From: forum [mailto:[EMAIL PROTECTED] > > Yes, you're right. > I have just solved my first problem. Now, I can send e-mails via php and > they are scanned by SA. My solution is using another computer to send > e-mails across private lan. > > I'm trying to solve the second problem. It is how to send an e-mail with a > fake header that is as like as header of real mail. Can you help me to > solve this problem. Is there any program that can send an e-mail with > header that i can chose.
Sure... sendmail. Create (or capture) a message complete with the headers you want and then send it with sendmail. sendmail [EMAIL PROTECTED] < message.txt As long as sendmail is configured to send messages so they will be scanned by SA, it works just fine. The only caveat is that there will probably be an extra header added by your MTA. You can also send the message directly through SA, if you just want to see the scores. spamassassin -t < messages.txt The "-t" flag will print a scoring report at the end of the message. Bowie