Re: [exim] Restricting a user's email destinations?

Góra strony
Delete this message
Reply to this message
Autor: Stephen Gran
Data:  
Dla: exim-users
Temat: Re: [exim] Restricting a user's email destinations?
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,     |
|  steve@???             | weenie, on "Family Feud"                |
|  http://www.lobefin.net/~steve |                                         |

--------------------------------------------------------------------------