Perl, Email, and Scanning

Discussion in 'Perl' started by Anthony Papillion II, Nov 11, 2004.

  1. WORKING ENVIROMENT:
    =====================
    Debian Linux (Woody)
    PostFix MTA
    Perl 5.8
    SpamAssassin 3.0.1

    Basically, I need to be able to intercept incoming mail and analyze it
    before it is delivered to the users inbox. After it's analyzed, I want to
    send it to the users mailbox (or run it through SpamAssissin) as normal.
    Can anyone tell me how I might go about doing this in Perl?

    Thanks in Advance,
    Anthony
    Anthony Papillion II, Nov 11, 2004
    #1
    1. Advertising

  2. Anthony Papillion II wrote:
    > WORKING ENVIROMENT:
    > =====================
    > Debian Linux (Woody)
    > PostFix MTA
    > Perl 5.8
    > SpamAssassin 3.0.1
    >
    > Basically, I need to be able to intercept incoming mail and analyze it
    > before it is delivered to the users inbox. After it's analyzed, I want to
    > send it to the users mailbox (or run it through SpamAssissin) as normal.
    > Can anyone tell me how I might go about doing this in Perl?


    If you install Procmail, it's pretty straightforward to add any filter,
    e.g. one written in Perl.

    This group is defunct, and replaced with comp.lang.perl.misc.

    --
    Gunnar Hjalmarsson
    Email: http://www.gunnar.cc/cgi-bin/contact.pl
    Gunnar Hjalmarsson, Nov 11, 2004
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Chad
    Replies:
    4
    Views:
    553
    Thomas Weidenfeller
    Sep 12, 2003
  2. DartmanX
    Replies:
    1
    Views:
    2,057
    Roedy Green
    Apr 7, 2006
  3. Replies:
    0
    Views:
    702
  4. Helmut Jarausch

    email scanning for X-Spam-Score

    Helmut Jarausch, May 25, 2009, in forum: Python
    Replies:
    3
    Views:
    1,820
  5. Anton van der Steen

    Perl script for scanning files

    Anton van der Steen, Dec 2, 2005, in forum: Perl Misc
    Replies:
    3
    Views:
    113
    Raghuramaiah Gompa
    Jan 21, 2006
Loading...

Share This Page