Okay, to clarify:
HTTP and POP : eth0
SMTP: eth1

I think, Roger's suggestion is in line. When you bind Apache to eth0, all HTTP connections will be accepted via eth0. You can also block port 80 on eth1 to add redundancy.

Then in your MTA's config, let your incoming POP listen on eth0 and SMTP on eth1. Then in your script, block port 25 on eth0 and block port 110 on eth1.

Voila!

We are talking here about a Linux box acting as a Mail and Web Server, right? And not a router, right?

We always tend to stab in the dark when the needed information is vague. So, to the OP, please clarify your situation for us.
_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
[email protected] (#PLUG @ irc.free.net.ph)
Read the Guidelines: http://linux.org.ph/lists
Searchable Archives: http://archives.free.net.ph

Reply via email to