Ignacio Sorita III wrote:
hello pluggers,

I would like to ask links as well suggestions on how can I pass all
SMTP traffic from a linux machine to another? A scenario where in the
linux box will be used for content filtering before reaching the real
mail server.


I have two suggestions:

[1] the hard way = You create an application which actually waits on a port (SMTP port) and actually acts as an SMTP server by implementing the SMTP protocol so that it looks and feels like an SMTP server to clients connecting to it. It shall then be able to do all the magic you need if you need to reroute the message, or do something else freaky with the message.

[2] use a "proxy" = it may involve some script writing, and maybe even some grep/awk/sedding if you intend to analyze/mangle the message being sent through the connection. A socket bound to and listening to an INET port which is used as standard input for a script which does the magic and then routes the traffic to [an]other SMTP host[s].

If there are other "better" less "hackish" ways of doing this, I'd very much like to know of these too. :)

thanks in advance!
--
Philippine Linux Users' Group (PLUG) Mailing List
[email protected] (#PLUG @ irc.free.net.ph)
Official Website: http://plug.linux.org.ph
Searchable Archives: http://marc.free.net.ph
.
To leave, go to http://lists.q-linux.com/mailman/listinfo/plug
.
Are you a Linux newbie? To join the newbie list, go to
http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie


-- Dean Michael Berris -=[ Mild 7 Smoking System Developer ]=- ymid: mikhailberis [EMAIL PROTECTED] http://mikhailberis.blogspot.com/ +639217841815 -- Philippine Linux Users' Group (PLUG) Mailing List [email protected] (#PLUG @ irc.free.net.ph) Official Website: http://plug.linux.org.ph Searchable Archives: http://marc.free.net.ph . To leave, go to http://lists.q-linux.com/mailman/listinfo/plug . Are you a Linux newbie? To join the newbie list, go to http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie

Reply via email to