On Fri, Jul 14, 2006 at 07:09:51AM +0800, W B Hacker said:
> Mike Cardwell wrote:
> > 
> > iptables -t nat -A OUTPUT -p tcp --dport 25 -d ! 127.0.0.1 -m owner ! 
> > --uid-owner exim -j DNAT --to-destination 127.0.0.1
> > 
> > Someone might find that useful...
> 
> The intent is good, but that specific rule is not necessary on Unix, nor will 
> it 
> block outbound traffic.

I think you are misreading what that line does.  It redirects outbound
traffic destined to port 25 to localhost port 25.  It does not address
what port the query comes from.
-- 
 --------------------------------------------------------------------------
|  Stephen Gran                  | "Survey says..." -- Richard Dawson,     |
|  [EMAIL PROTECTED]             | weenie, on "Family Feud"                |
|  http://www.lobefin.net/~steve |                                         |
 --------------------------------------------------------------------------

-- 
## List details at http://www.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/

Reply via email to