Hi and welcome!

First I must admit, I don't know the Courierperlfilter. But if your aim is to fight spam, and you can do it at the MTA level, there are different ways you could achieve this.

Did you consider to use SpamAssassin? You can combine it with Greylisting, if you (and your customers) like.

SpamAssassin is a content-checker and marks your Mails, if it thinks it is spam. Your customers can then configure their Mail Clients to filter the marked mails into trash or into a quarantaene area, if they wish.

You can connect content checkers (as well as virus scanners f.e.) with your MTA using f.e. amavisd-new as an interface. The MTA passes the mails via (E)SMTP to amavisd-new (and gets them back via (E)SMTP, too).

As to greylisting, this is a completely different thing, rather a 'reputation system' for mail sources on the Internet. It works well with RFC-compliant MTAs, while usual spam bots have a hard time to penetrate it.

Hope that helps.


In reply to Re: about using of Mail::Header module by mantadin
in thread about using of Mail::Header module by sergiobortsov

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.