500pts: Creating a proxy to intercept email before arriving on outlook - for an antispam app?

Posted on 2008-11-03
Last Modified: 2013-12-17
Hi there,

I am looking for some info to create a POP proxy, I think this is correct name..

Basically I need to intercept any incoming email (using pop) .. its for an antispam app i am creating...

Basically i don't want to have to change the POP or SMTP settings of MS Outlook... but when outlook checks for email... then my C# code/program will intercept all email remove the ones i need to and then continue to deliver to outlook..

If anyone can offer any info on this i would really appreciate it ...

I mention Outlook but of course i need it to work with any email client i.e. THunderbird etc..

Thanks in advance for any help or info

Best regards

Question by:iangregson1
    LVL 7

    Expert Comment

    What you are suggestiong is not likly to be possible.
    You can write a specific add-in for Outlook that will filter messages.
    Or you can write a proxy, but that would require the users to change their POP3 settings in their clients.

    For an outlook specific solution check VSTO:

    For a generic POP3 proxy I'd suggest using LumiSoft.NET library:


    Author Comment

    Thanks for the info...

    But i am using COMODO antispam software (free software) and it does exactly that .... nothing has been changed in Outlook but it intercepts all POP emails and i can either delete or report them as spam or allow them...

    If i allow them ... then these will go directly to the client...

    So they must be a way......  
    LVL 4

    Accepted Solution

    If I'm in your shoe and I know a bit of C#. Then I would go for open source solution.

    You need install and configure a linux box with Sendmail MTA (on your LAN). Install a POP3 Server ( i usually use qpopper). For more advance configuration POP3 over SSL will do.

    Here's some reference you might want to check:

    a) For using / configuring sendmail -->
    b) Adding additional filter from spamhaus -->
    or -->

    I hope this helps.


    Featured Post

    Highfive Gives IT Their Time Back

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Join & Write a Comment

    In my previous article ( we saw the basics of serialization and how types/objects can be serialized to Binary format. In this blog we wi…
    Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
    This video discusses moving either the default database or any database to a new volume.
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

    733 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    23 Experts available now in Live!

    Get 1:1 Help Now