As in so many areas of life, it's just a case of making your system harder to abuse than your neighbours'. If your system gives the spammers any trouble at all then they'll soon move on to a less well-guarded server.

This is not my experience - my (work) logs show that we often get repeated attempts at the same script from the same IP address, or from different IP addresses but with the same payload (including the same throwaway target email address) over a period of time.

One particularly persistent guy has returned from the same IP address to the same script with the same payload once a month for at least the 6 months we've been logging enough to tell.

Note that this is just logging the special case where people explicitly attempt to trick the script by inserting things like "some text\ncc: email@address" into random fields that look as if they might make it into email headers.

(For what it's worth, we deal with this by logging such abuse, and blocking offending IP addresses for escalating periods of time.)

Hugo


In reply to Re^2: Preventing outbound SPAM by hv
in thread Preventing outbound SPAM by UnderMine

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.