I presume you talk about this line:

Received: from av6 ([172.21.0.21]) by ipop3.tm.net.my (iPlanet Messagi +ng Server 5.2 HotFix 1.21 (built Sep 8 2003)) with ESMTP id <0HQ8009H +GTJXGU@ipop3.tm.net.my> for spam+protected@yahoo.com; Sun, 21 Dec 200 +3 19:35:57 +0800 (SGT)

Don't blame any module, nor the MTA for it, but SMTP ;-)

This is how the flow goes:
Your script opens a connection to the MTA. The MTA adds a Received header (since he *did* receive a connection). Then it looks at the address (spam+protected@yahoo.com) and passes it on.

But it doesn't matter for Yahoo how many hops there are between the first MTA and the last. It only cares about the one that passes it on to the Yahoo mailservers to determine wheter it is spam or not (202.188.95.15 in this case). A simple lookup (have javascript turned on for this) will show you that the IP address is listed by SPEWS (and others). This is most likely why Yahoo will tag it as being spam. Try a non-spamming server and it'll probably work ;-)

HTH

Update: For more on SPEWS, see their website. SPEWS is widely adopted and feared by all spammers (read about the cowardly DDoS attacks)

--
b10m

In reply to Re: how to send email without using any module? by b10m
in thread how to send email without using any module? by hweefarn

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.