Linux SoftwareInternetProxyeProxy 1.0

eProxy 1.0


eProxy software is an SMTP proxy server framework specially designed for use in conjunction with Postfix version 2.1 and higher
Developer:   Raymond Doetjes
      more software by author →
Price:  0.00
License:   BSD License
File size:   6K
Language:   
OS:   
Rating:   0 /5 (0 votes)
Your vote:  
enlarge screenshot


eProxy software is an SMTP proxy server framework specially designed for use in conjunction with Postfix version 2.1 and higher. However, it does also work as a frontend proxy however security wise I trust on the postfix smtpd.

What can eProxy be used for?
It is very fast and utilizes multi-threading. It is especially fast when it comes to your actual content filtering where you can use the speed of C/C++ in comparison to the interpreted language. It is very easy to use.

There are a few SMTP PROXY implementations out there but all I found are developed in either Perl or Python and some of them are extremely complex to use. This implementation makes it very easy to develop your own content filter in C+ and you only have to implement it in any of the following functions from(string from), to(string to), body(string body) and return a positive number to allow delivery and a negative number to disallow delivery.

You can of course still call to your processing/content filter "script(s)" via a popen(), system() or exec() call and run them through this method.

What do you need to (re)implement
There's actually one source file that is of interest for you and that's the emailHandling.cpp file. In here the following functions are defined:

string getDomainName(string email);
int from(string from);
int rcptto(string to);
int body(string body);
void email(string email);

string getDomainName(string email); This is a convenience method to simply obtain the domainname part of an email address.

void email(string email); In this function you can do something to the email or part of it depending where you BOUNCED the email. It can be used to for instance store all emails in an archive or waiting box, waiting for manual release when an email is a suspect.

int from(string from); In this function you can do checking on the MAIL FROM part of an SMTP session. When your return a negative number the transaction is cancelled with a 550 error, when you return a positive number (larger than 0) then the MAIL FROM is accepted. The string from contains the email address

int rcptto(string to); In this function you can do checking on the RCPT TO part of an SMTP session. The string to contains the email address. Return a negative number to bounce the email return a positive number (large than 0) to continue.

int body(string body); In this function you will implement your actual body part scanning. Only when your result code is a positive number (larger than 0) then the body is send forth to the secondary (delivery) SMTP server. If it is bounced by your code it will not send the DATA command and the data stream, instead it will send a QUIT command and close the socket to the secondary server.
tags you can  the email  function you  string email  this function  string from  positive number  negative number  email string  string body  email address  body string  from string  

Download eProxy 1.0


 http://www.phonax.com/download/eproxy.tar.gz


Authors software

Linksys Syslog 1.0 (by Raymond Doetjes)
Linksys Syslog captures the snmp trap messages from a Linksys router and saves these to syslog

eProxy 1.0 (by Raymond Doetjes)
eProxy software is an SMTP proxy server framework specially designed for use in conjunction with Postfix version 2.1 and higher


Similar software

eProxy 1.0 (by Raymond Doetjes)
eProxy software is an SMTP proxy server framework specially designed for use in conjunction with Postfix version 2.1 and higher

Mail::Message::Body 2.065 (by Mark Overmeer)
Mail::Message::Body is the data of a body in a message.

INHERITANCE

Mail::Message::Body has extra code in
Mail::Message::B

PHPMailer 1.73 (by Brent R. Matzelle)
PHPMailer is an email transport class which features multiple file attachments, CCs, BCCs, REPLY-TOs, HTML messages, redundant SMTP s

Math::XOR 0.02 (by Tyler MacDonald)
Math::XOR is a package to handle XOR encryption of string buffers.

SYNOPSIS

use XOR;
print xor_buf("hello", "w

SMTPGuard 1.1.1 (by VA Linux Systems Japan, K.K.)
SMTPGuard is a tool which controls the flow of email traversing an MTA (Mail Transfer Agent)

ClamSMTP 1.6 (by Nate Nielsen)
ClamSMTP project is an SMTP filter that allows you to check for viruses using the ClamAV anti-virus software.

It accepts SMTP connec

Better String Library 07222006 (by Paul Hsieh)
Better String Library is an abstraction of a string data type which is superior to the C library char buffer string type and C++'

DGS SMTP 0.9.1 (by Digital Genesis Technologies)
DGS SMTP is a PHP class which acts as an email client, able to send an email without using PHP's built in mail() function

PHP ClamAV Lib 0.12a (by Geffrey Velasquez)
PHP ClamaAV Lib is a PHP extension that allows you to incorporate virus scanning features in your PHP scripts.

It uses the Clam An

Audio::TagLib::Tag 1.42 (by Dongxu Ma)
Audio::TagLib::Tag is a simple, generic interface to common audio meta data fields.

This is an attempt to abstract away the differ


Other software in this category

Squid 2.6.STABLE6 (by Squid Hackers)

Stunnel 4.20 (by Michal Trojnara)

WebCleaner 2.40 (by Bastian Kleineidam)
WebCleaner is a filtering HTTP proxy

CGIProxy 2.1 Beta 15 (by James Marshall)
This CGI script acts as an HTTP or FTP proxy

rtspd 2.0 (by Rob Lanphier)
RTSP is the Real Time Streaming Protocol, which serves as a control protocol, and as a jumping off point for negotiating transports,

    search


Featured Software

jEdit 4.3 pre8
jEdit is an Open Source text editor written in Java

Opera 9.02
Surf the Internet in a safer, faster, and easier way with Opera browser

GNU Aspell 0.60.4
GNU Aspell is a Free and Open Source spell checker designed to eventually replace Ispell


Subscribe in Rojo
Google Reader
Add to My Yahoo!

Add to My AOL
Subscribe with Bloglines
Subscribe in NewsGator Online
Add 'nixbit linux software' to Newsburst from CNET News.com
del.icio.us nixbit linux software


Top tags