how does outlook detect end of mail while receiving a mail using pop3?

  • Thread starter Thread starter sneha.jain20
  • Start date Start date
S

sneha.jain20

We are workin on a mail filter which comes inbetween a smtp/pop3 server

and a mail client.while downloading a mail from the server our filter
has to capture the mail before it is reaches to the mail client,so that

we can perform content inspection.The problem we are facing is that we
are not able to detect the end of mail (which is the period
"<crlf>.<crlf>"), so we are not able to understand as to when do we
stop reading from the socket.We are trapping the mail using LSP.

Understanding how outlook detects end of mail in pop3 could help
us.Please help.

Thanks in advance


sneha
 
We are workin on a mail filter which comes inbetween a smtp/pop3
server

and a mail client.while downloading a mail from the server our filter
has to capture the mail before it is reaches to the mail client,so
that

we can perform content inspection.

Applications that do this very thing and that are highly configurable
already exist so that you can create and enforce whatever policies you wish.
See, for example,
http://www.mimesweeper.com/
 
Back
Top