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.

Thank you everybody and sorry to ask twice.
Heng


----- Original Message -----
From: "Chris Lear" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Tuesday, May 10, 2005 3:57 PM
Subject: Re: how to config SA to scan mail from localhost


> * Evan Platt wrote (10/05/2005 05:21):
> > At 09:16 PM 5/9/2005, you wrote:
> >>I'm testing the SA but my server can't connect to outside world. Thus,
> >>i've to send mail from localhost to myself to find how accurate SA is.
> >>Unfortunately, SA don't scan mails that sent from localhost.
> >>
> >>how can I reconfig it to scan every mail.
> >
> > You don't. You tell spamassassin what mail to scan. How are you calling
> > spamassassin, and what is your mail configuration?
> >
>
> The original question is a restatement of yesterday's "how to force SA
> to scan mail that send from php" post.
>
> My reading of the situation (which might be wrong) is this:
>
> The Original Poster wants to do some sort of project that will give
> statistics on the accuracy of spamassassin. He has followed a recipe
> that installs qmail with qmail-scanner, and has got a php script that
> will send mail to the mail server. But the mail server appears to skip
> the scan for local messages, so the project is getting no statistics.
>
> The solution to this problem is to work out how qmail-scanner decides
> what to scan, and change it. Unfortunately, I can't help there. I would
> try doing a manual smtp connection from the local machine (telnet
> localhost 25) and take it from there.
>
> But my worry is that sending a load of e-mail via a php form will
> produce hopeless project results, because it will effectively only test
> the value of spamassassin's body checks. But perhaps that's part of the
> plan.
>
> --
> Chris

Reply via email to