473,473 Members | 1,415 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

How does this work?

You guys are a great resource for learners such as I. I have seen the way
that you go over and above in explaining even the most mudane things to
beginners, and I think it is a great thing that you do here. I only hope
that you can help me understand how a certain type of application works.

I loaded an app that filters out spam (as it puts it) "before it hits your
inbox".

Now, how does this work? It changed my incoming and outgoing email servers
to 127.0.0.1. So, it appears that it is acting as a local proxy server.

But, how does it handle the email requests from my Outlook? Is there a
certain protocol that I could look at for Outlook or Thunderbird or Eudora?
If so, what would I be looking for?

I am curious because the application works quite well, but is restricted to
only a single email account (unless you pay a handsome sum) and I'd like to
write my own freeware version that is unrestricted in the number of accounts
that you can use.

I figure it will be a good project to learn .Net on, and it would be nice to
offer as freeware. Why freeware? Well, I'd like to see spammers hanging
dead in the streets...but the government kinds frowns on that. So, next
best thing is to smack a hot fire poker right in thier eyes by giving away a
tool that helps people never even see thier crap in the first place.

Any help you could give me towards learning what I need to know to write
this freeware .Net app would be greatly appreciated. I may even release the
source code under GPL (assuming my beginning code doesn't make me look like
too much of an idiot).

And please include your real name so that I can give proper credit in my
application's credit screen for your help.

Thanks!
Jun 24 '06 #1
9 1349
Here's something to start unwinding information:

Mail is sent using the SMTP protocol, and recieved using the POP3
protocol. SMTP uses port 25 and POP3 uses port 110.

(There are of course other protocols in use, for an example if you
connect to an MS Exchange Server, but those are the ones that is
normally used.)

william wrote:
You guys are a great resource for learners such as I. I have seen the way
that you go over and above in explaining even the most mudane things to
beginners, and I think it is a great thing that you do here. I only hope
that you can help me understand how a certain type of application works.

I loaded an app that filters out spam (as it puts it) "before it hits your
inbox".

Now, how does this work? It changed my incoming and outgoing email servers
to 127.0.0.1. So, it appears that it is acting as a local proxy server.

But, how does it handle the email requests from my Outlook? Is there a
certain protocol that I could look at for Outlook or Thunderbird or Eudora?
If so, what would I be looking for?

I am curious because the application works quite well, but is restricted to
only a single email account (unless you pay a handsome sum) and I'd like to
write my own freeware version that is unrestricted in the number of accounts
that you can use.

I figure it will be a good project to learn .Net on, and it would be nice to
offer as freeware. Why freeware? Well, I'd like to see spammers hanging
dead in the streets...but the government kinds frowns on that. So, next
best thing is to smack a hot fire poker right in thier eyes by giving away a
tool that helps people never even see thier crap in the first place.

Any help you could give me towards learning what I need to know to write
this freeware .Net app would be greatly appreciated. I may even release the
source code under GPL (assuming my beginning code doesn't make me look like
too much of an idiot).

And please include your real name so that I can give proper credit in my
application's credit screen for your help.

Thanks!

Jun 24 '06 #2
william wrote:
You guys are a great resource for learners such as I. I have seen the way
that you go over and above in explaining even the most mudane things to
beginners, and I think it is a great thing that you do here. I only hope
that you can help me understand how a certain type of application works.

I loaded an app that filters out spam (as it puts it) "before it hits your
inbox".

Now, how does this work? It changed my incoming and outgoing email
servers
to 127.0.0.1. So, it appears that it is acting as a local proxy server.

But, how does it handle the email requests from my Outlook? Is there a
certain protocol that I could look at for Outlook or Thunderbird or
Eudora? If so, what would I be looking for?

I am curious because the application works quite well, but is restricted
to only a single email account (unless you pay a handsome sum) and I'd
like to write my own freeware version that is unrestricted in the number
of accounts that you can use.

I figure it will be a good project to learn .Net on, and it would be nice
to
offer as freeware. Why freeware? Well, I'd like to see spammers hanging
dead in the streets...but the government kinds frowns on that. So, next
best thing is to smack a hot fire poker right in thier eyes by giving away
a tool that helps people never even see thier crap in the first place.

Any help you could give me towards learning what I need to know to write
this freeware .Net app would be greatly appreciated. I may even release
the source code under GPL (assuming my beginning code doesn't make me look
like too much of an idiot).

And please include your real name so that I can give proper credit in my
application's credit screen for your help.

Thanks!


Hi William,

Take a look at http://en.wikipedia.org/wiki/Smtp
and http://en.wikipedia.org/wiki/Pop3

SMTP is the protocol used for sending e-mail, and POP3 is a protocol for
retrieving mail from a mail server. It looks like your application sits as
a man-in-the-middle between your client and your mail-server, i.e. when
Outlook wants to connect to the mail server, it actually connects to your
local computer, which simply forwards all the requests to the mail
server... which means you're totally right, it's acting as a local proxy
server.

Is there anything else specific you'd like to know?

Hope this helps,
-- Tom Spink
Jun 24 '06 #3
[FU2 microsoft.public.dotnet.general]

On Fri, 23 Jun 2006 22:36:12 -0400, william wrote:
I loaded an app that filters out spam (as it puts it) "before it hits your
inbox".

Now, how does this work? It changed my incoming and outgoing email servers
to 127.0.0.1. So, it appears that it is acting as a local proxy server.

But, how does it handle the email requests from my Outlook? Is there a
certain protocol that I could look at for Outlook or Thunderbird or Eudora?
If so, what would I be looking for?


In addition to the other answers, you should also have a look at the IMAP4
protocol (often used for corporate email systems). The free version of
hotmail uses its own and not documented protocol.

By the way, there are free anti-spam systems that can deal with multiple
accounts. Have a look at Spam Bayes <http://spambayes.sourceforge.net/>. It
free, open source and works either as an outlook plugin (outlook only) or
as a local proxy server (similar to what you've descibed, works with any
email client). I've tried to outlook plugin and, once it's been trained,
i've found it to be very effective.

PS: praising the participants of this newsgroup for how great what they're
doing is does not frees you from respecting the basic usenet posting rules.
In particular, it is generally considered very bad manner to cross post
accros multiple groups. In the very rare cases when your post doesn't fit
in any group in particular, cross-posting to 2 different groups or at the
very most 3 groups is tolerated but in this case you should set the
Folloup-To field to one group only and specify in your post in which group
the discussion is going to take place. Followup set to
microsoft.public.dotnet.general.
Jun 24 '06 #4

"Mehdi" <vi****@REMOVEME.gmail.com> wrote in message
news:4e******************************@40tude.net.. .
[FU2 microsoft.public.dotnet.general]

On Fri, 23 Jun 2006 22:36:12 -0400, william wrote:
I loaded an app that filters out spam (as it puts it) "before it hits
your
inbox".

Now, how does this work? It changed my incoming and outgoing email
servers
to 127.0.0.1. So, it appears that it is acting as a local proxy server.

But, how does it handle the email requests from my Outlook? Is there a
certain protocol that I could look at for Outlook or Thunderbird or
Eudora?
If so, what would I be looking for?


In addition to the other answers, you should also have a look at the IMAP4
protocol (often used for corporate email systems). The free version of
hotmail uses its own and not documented protocol.

By the way, there are free anti-spam systems that can deal with multiple
accounts. Have a look at Spam Bayes <http://spambayes.sourceforge.net/>.
It
free, open source and works either as an outlook plugin (outlook only) or
as a local proxy server (similar to what you've descibed, works with any
email client). I've tried to outlook plugin and, once it's been trained,
i've found it to be very effective.

PS: praising the participants of this newsgroup for how great what they're
doing is does not frees you from respecting the basic usenet posting
rules.
In particular, it is generally considered very bad manner to cross post
accros multiple groups. In the very rare cases when your post doesn't fit
in any group in particular, cross-posting to 2 different groups or at the
very most 3 groups is tolerated but in this case you should set the
Folloup-To field to one group only and specify in your post in which group
the discussion is going to take place. Followup set to
microsoft.public.dotnet.general.


I have used SpamBayes before but this other application is much more strict
in its denial of unsolicited email and much simpler to setup for the average
user. It uses a blacklist/whitelist for contacts that are able to send you
email and includes a way for new emailers to request to be placed on your
whitelist. It is supremely effective with no "training" and very little
required for setup.

It is very simple and very effective. Just whatthe average user
needs...only they need it for all accounts, not just one.

Your comments about posting have been noted.

Thank you for your input.
Jun 24 '06 #5

"Tom Spink" <ts****@gmail.com> wrote in message
news:uG**************@TK2MSFTNGP05.phx.gbl...
william wrote:
You guys are a great resource for learners such as I. I have seen the
way
that you go over and above in explaining even the most mudane things to
beginners, and I think it is a great thing that you do here. I only hope
that you can help me understand how a certain type of application works.

I loaded an app that filters out spam (as it puts it) "before it hits
your
inbox".

Now, how does this work? It changed my incoming and outgoing email
servers
to 127.0.0.1. So, it appears that it is acting as a local proxy server.

But, how does it handle the email requests from my Outlook? Is there a
certain protocol that I could look at for Outlook or Thunderbird or
Eudora? If so, what would I be looking for?

I am curious because the application works quite well, but is restricted
to only a single email account (unless you pay a handsome sum) and I'd
like to write my own freeware version that is unrestricted in the number
of accounts that you can use.

I figure it will be a good project to learn .Net on, and it would be nice
to
offer as freeware. Why freeware? Well, I'd like to see spammers hanging
dead in the streets...but the government kinds frowns on that. So, next
best thing is to smack a hot fire poker right in thier eyes by giving
away
a tool that helps people never even see thier crap in the first place.

Any help you could give me towards learning what I need to know to write
this freeware .Net app would be greatly appreciated. I may even release
the source code under GPL (assuming my beginning code doesn't make me
look
like too much of an idiot).

And please include your real name so that I can give proper credit in my
application's credit screen for your help.

Thanks!


Hi William,

Take a look at http://en.wikipedia.org/wiki/Smtp
and http://en.wikipedia.org/wiki/Pop3

SMTP is the protocol used for sending e-mail, and POP3 is a protocol for
retrieving mail from a mail server. It looks like your application sits
as
a man-in-the-middle between your client and your mail-server, i.e. when
Outlook wants to connect to the mail server, it actually connects to your
local computer, which simply forwards all the requests to the mail
server... which means you're totally right, it's acting as a local proxy
server.

Is there anything else specific you'd like to know?

Hope this helps,
-- Tom Spink


Fantastic pace to start! Thanks for the links!

I guess I will have to go beta and feel my way along. As the protocols for
email services like Hotmail are not published (you can;t even use Outlook to
check free hotmail accounts anymore) they will not be included in the
application.

Thank you for your help. I will post here as soon as I have a beta ready
for trials.
Jun 24 '06 #6
Thanks Göran! That's just they type of stuff I need to know.

I will begin my project today and should have a beta ready by Monday.
"Göran Andersson" <gu***@guffa.com> wrote in message
news:%2***************@TK2MSFTNGP03.phx.gbl...
Here's something to start unwinding information:

Mail is sent using the SMTP protocol, and recieved using the POP3
protocol. SMTP uses port 25 and POP3 uses port 110.

(There are of course other protocols in use, for an example if you connect
to an MS Exchange Server, but those are the ones that is normally used.)

william wrote:
You guys are a great resource for learners such as I. I have seen the
way that you go over and above in explaining even the most mudane things
to beginners, and I think it is a great thing that you do here. I only
hope that you can help me understand how a certain type of application
works.

I loaded an app that filters out spam (as it puts it) "before it hits
your inbox".

Now, how does this work? It changed my incoming and outgoing email
servers to 127.0.0.1. So, it appears that it is acting as a local proxy
server.

But, how does it handle the email requests from my Outlook? Is there a
certain protocol that I could look at for Outlook or Thunderbird or
Eudora? If so, what would I be looking for?

I am curious because the application works quite well, but is restricted
to only a single email account (unless you pay a handsome sum) and I'd
like to write my own freeware version that is unrestricted in the number
of accounts that you can use.

I figure it will be a good project to learn .Net on, and it would be nice
to offer as freeware. Why freeware? Well, I'd like to see spammers
hanging dead in the streets...but the government kinds frowns on that.
So, next best thing is to smack a hot fire poker right in thier eyes by
giving away a tool that helps people never even see thier crap in the
first place.

Any help you could give me towards learning what I need to know to write
this freeware .Net app would be greatly appreciated. I may even release
the source code under GPL (assuming my beginning code doesn't make me
look like too much of an idiot).

And please include your real name so that I can give proper credit in my
application's credit screen for your help.

Thanks!

Jun 24 '06 #7
william wrote:
I loaded an app that filters out spam (as it puts it) "before it hits
your inbox". [...] I figure it will be a good project to learn .Net on, and it would be
nice to offer as freeware.


Not wanting to stop you working on your project, but you do know about
POPFile?

http://popfile.sourceforge.net

It's a spam filter that works in the way you describe, is very good, is
free, has an excellent HTML-based user interface, and works with as many
email accounts as you like.

--

(O)enone
Jun 24 '06 #8
Looks like a nice freeware product, but it also needs to be "trained" like
SpamBayes.

This app does not need to be "trained" because it simply allows people in
your contact list to email you and adds people to your allowed list as you
send emails. Very simple concept and no "training" needed.

At this point, the project will take some time for me to figure out just how
they are placing themselves in between my Outlook and my email server. I
know that they change the POP and SMTP to point to the local IP 127.0.0.1
and change the outgoing SMTP port to 30, but I don't know all of the
specifics about whether they are simply relaying the requests from Outlook
or if they are doing more.
"Oenone" <oe****@nowhere.com> wrote in message
news:O3****************@newsfe3-win.ntli.net...
william wrote:
I loaded an app that filters out spam (as it puts it) "before it hits
your inbox".

[...]
I figure it will be a good project to learn .Net on, and it would be
nice to offer as freeware.


Not wanting to stop you working on your project, but you do know about
POPFile?

http://popfile.sourceforge.net

It's a spam filter that works in the way you describe, is very good, is
free, has an excellent HTML-based user interface, and works with as many
email accounts as you like.

--

(O)enone

Jun 24 '06 #9
In addition to learnign how they do thier thing......I am considering an
addin for Outlook. Unfortunately, this seems to be another area that .Net
has complicated with no apparent reason.

The VSTO only works for Office 2003 (as far as I have read) and the new
security neasures incorporated in .Net are a pain in the ass that are not
only unneccessary but are also a stumbling block for other developers of
Microsoft add-ins.

Makes me wonder if Microsoft isn't making programming the system more
difficult on purpose with .Net - to stifle competition. Sure, the easy
things are easier.....but the hard (or uncommon) things are harder.

I may write the addin with VB6.....more straightforward and easier to
implement than the whole PIA/security fiasco that I am finding with VB.Net
2005 and Outlook.
"william" <wi*****@not.com> wrote in message
news:jy*****************@bignews1.bellsouth.net...
You guys are a great resource for learners such as I. I have seen the way
that you go over and above in explaining even the most mudane things to
beginners, and I think it is a great thing that you do here. I only hope
that you can help me understand how a certain type of application works.

I loaded an app that filters out spam (as it puts it) "before it hits your
inbox".

Now, how does this work? It changed my incoming and outgoing email
servers to 127.0.0.1. So, it appears that it is acting as a local proxy
server.

But, how does it handle the email requests from my Outlook? Is there a
certain protocol that I could look at for Outlook or Thunderbird or
Eudora? If so, what would I be looking for?

I am curious because the application works quite well, but is restricted
to only a single email account (unless you pay a handsome sum) and I'd
like to write my own freeware version that is unrestricted in the number
of accounts that you can use.

I figure it will be a good project to learn .Net on, and it would be nice
to offer as freeware. Why freeware? Well, I'd like to see spammers
hanging dead in the streets...but the government kinds frowns on that.
So, next best thing is to smack a hot fire poker right in thier eyes by
giving away a tool that helps people never even see thier crap in the
first place.

Any help you could give me towards learning what I need to know to write
this freeware .Net app would be greatly appreciated. I may even release
the source code under GPL (assuming my beginning code doesn't make me look
like too much of an idiot).

And please include your real name so that I can give proper credit in my
application's credit screen for your help.

Thanks!

Jun 25 '06 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Jonas | last post by:
This works fine in Win XP but does not work at all in Win 98. Private WithEvents objIExplorer As InternetExplorer I have to do it like this to get it to work in Win 98 Dim objIExplorer As...
3
by: Julian | last post by:
Hi I am trying to update a date field in my table but some how this simple code does not work, I know the select work because if I write the fields, it will show the data from the table but why...
5
by: me | last post by:
I have a Class Library that contains a Form and several helper classes. A thread gets created that performs processing of data behind the scenes and the Form never gets displayed (it is for debug...
22
by: Robert Bralic | last post by:
CAN anybody tell me any address where I can download some small(1000-2000) lines C++ proghram source. Or send me ,a small(1000-2000) lines C++ program source that I can compille with gpp under...
12
by: Frank Hauptlorenz | last post by:
Hello Out there! I have a DB2 V7.2 Database (Fix11) on Win 2000 Professional. It was before a NT 4 based Domain - now it is a Win 2000 Domain. The database server is a domain member. Now...
0
by: Jarod_24 | last post by:
How does tabindex work in ASP .net pages I dosen't seem to work quite like in regular forms. and there isn't any TabStop property either. 1 .How do you prevent a control form beign "tabbed"....
14
by: Anoop | last post by:
Hi, I am new to this newsgroup and need help in the following questions. 1. I am workin' on a GUI application. Does C# provides Layout Managers the way Java does to design GUI? I know that it...
89
by: Cuthbert | last post by:
After compiling the source code with gcc v.4.1.1, I got a warning message: "/tmp/ccixzSIL.o: In function 'main';ex.c: (.text+0x9a): warning: the 'gets' function is dangerous and should not be...
14
by: webEater | last post by:
I have a problem, it's not browser specific, and I don't get a solution. I have an (X)HTML document, I show you a part of it: .... <!--<div class="pad">--> <div id="eventImages"><img src=""...
1
by: =?ISO-8859-1?Q?Lasse_V=E5gs=E6ther_Karlsen?= | last post by:
I get the above error in some of the ASP.NET web applications on a server, and I need some help figuring out how to deal with it. This is a rather long post, and I hope I have enough details that...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.