Mails were marked as spam by Yahoo, what should I do ?

Hi , All;

We are sending email by javamail in our project, but the yahoo and hotmail marked our emails as spam.And we checked our email by SpamAssassin 3.1.0 ,and here is the report:

--

X-Spam-Flag: YES

X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13)

X-Spam-Level: *****

X-Spam-Status: Yes, score=5.2 required=5.0 tests=BAYES_50,HTML_10_20,

HTML_MESSAGE,HTML_MIME_NO_HTML_TAG,MIME_HTML_ONLY,NORMAL_HTTP_TO_IP,

NO_REAL_NAME autolearn=no version=3.1.0

X-Spam-Report:

* 1.0 NO_REAL_NAME From: does not include a real name

* 0.2 NORMAL_HTTP_TO_IP URI: Uses a dotted-decimal IP address in URL

* 0.0 HTML_MESSAGE BODY: HTML included in message

* 1.6 BAYES_50 BODY: Bayesian spam probability is 40 to 60%

* [score: 0.4995]

* 1.4 HTML_10_20 BODY: Message is 10% to 20% HTML

* 0.0 MIME_HTML_ONLY BODY: Message only has text/html MIME parts

* 1.1 HTML_MIME_NO_HTML_TAG HTML-only message, but there is no HTML tag

--

What should I do to resolve this problem ?Thanks in advance~!

[1097 byte] By [layouta] at [2007-11-26 21:31:20]
# 1

It doesn't look like any of the things Spam Assassin is complaining about

have anything to do with JavaMail. They have everything to do with the

content of the message. Maybe you should post the content of the message

so we can see that it's not spam and help you modify it so that SpamAssassin

doesn't complain about it? Or, you can look at the things SpamAssassin is

complaining about and fix them yourself.

You should also try sending a trivial plain text message and see if Yahoo

marks that as spam.

bshannona at 2007-7-10 3:11:57 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 2

Thank you very much for you reply. And I agree with you about this problem, I think that is the problem about the Spam Assassin filter rule. But In fact I am not fimilar with the Spam Assassin rule,please give me a hand.

Here is the mail content(I replaced our project name to XXX for some business reason,sorry for that).

--get ID back mail content--

Customer:

Thank you for registering with XXX Experts Live. Your Id has been got back ,is:wangxd.If you have additional questions, you can chat with a XXX Experts Live service representative by clicking here. Our service representatives are available Monday thru Friday, from 8:30 AM to 9:15 PM EST, and on Saturday from 10:00 AM to 6:00 PM EST.

XXX Experts Live

Please do not reply to this email as it was sent from an email address that does not accept incoming mail.

-

We used properties file to I18N the email. And here is the content before send to SMTP server:

Javamail_template_resources.properties

getuseridmail.subject=Send get id back mail

getuseridback.content.template=Customer:

Thank you for registering with XXX Experts Live. Your Id has been got back ,is:<b>%userId%</b>.If you have additional questions, you can chat with a XXX Experts Live service representative by clicking <a href="%preChatUrl%/prechat.jsp" target="_blank">here</a>.

Message was edited by:

layout

layouta at 2007-7-10 3:11:57 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 3

Several of the things SpamAssassin is complaining about are quite obvious.

It says you have HTML content but no <html> tag. Yup, that's true.

It says you're using a dotted-decimal address instead of a hostname in

your URL. Well, I don't know what %preChatUrl% expands to, but you can

check that yourself.

It says you have no real name in the From address. Again, you haven't

included that information here, but that's easy to check and correct.

It says your message is 10% - 20% HTML. Well, I didn't count it myself,

but that might be true. You can easily add more non-HTML text to your

message.

All of this should've been obvious from the SpamAssassin report. Did you really

need me to explain it? Do you just not understand the terminology used in the

report? You might want to check the SpamAssassin documentation for a more

complete explanation.

bshannona at 2007-7-10 3:11:57 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 4

Thanks a lot for your patient.

I understand the SpamAssassin report. And will fix our email template for this issue.

But I don't know the spam rule of other email server such as Gmail and Hotmail. So even I fixed these defects, our email maybe will still be marked spam by other mail server, Is so ?

layouta at 2007-7-10 3:11:57 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 5
It's possible, but if your email really isn't spam then that's unlikely.
bshannona at 2007-7-10 3:11:57 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...