Click here to Skip to main content
15,897,291 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hey, I am final year engg. student. My project is "Knowledge discovery in corporate email".

I will have two computers (gmail user and server) in internet network resembling corporate network.
I am using postfix mail server on second computer.

It has 3 steps:
1. intercept employee email
2. Perform processing on email body content at server using python.
3. If content is not revealing any company secrets, forward it to gmail server.
4. If found guilty, raise alert on server and do not forward email.

Please, let me know how to do following:
* postfix server listen to other computer in network
* is any certificate required to forward message to gmail smtp server. If yes, Is it free and how to obtain certificate.
Posted
Updated 7-Sep-11 10:00am
v3
Comments
#realJSOP 7-Sep-11 12:21pm    
DO NOT include your email address in messages or questions.

1 solution

In this scenario I assume the Postfix machine represents the corporate SMTP server. If so, it doesn't need to "listen to other computers on the network" in that sense. It already listens on the typical SMTP ports (25, 587, 465, etc depending on configuration).

What you need to look into is how to create a milter (mail-filter). Milters are inherited from Sendmail, since Postfix was designed to be compatible with Sendmail. See Sendmail/Postfix Milters in Python[.^]

No, you should be able to send mail to gmail without a server certificate. See How to use Gmail as your SMTP server.[^]. Using certificates between mail servers is good practice, but it will cost you ~USD50-150.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900