Re: Stop Mail

Forside
Vedhæftede filer:
Indlæg som e-mail
+ (text/plain)
Slet denne besked
Besvar denne besked
Skribent: Carl Parrish
Dato:  
Til: plug-discuss
Emne: Re: Stop Mail
Carl Parrish wrote:

> I want to close sending mail from my machine. But bring up postfix so
> I can firgure out what's going wrong. Can someone tell me the best
> iptables command to do this? (just close off the port I think I want
> to drop the package)
>

This is the voodoo I'm trying now. Can anyone let me know if I'm on the
right track?

iptables -A FORWARD -i $IPADDRESS -p tcp --sport 25 --dport 25 -j DROP

iptables -A OUTPUT -o $IPADDRESS -p tcp --sport 25 --dport 25 -j DROP

--
Carl Parrish()
http://www.carlparrish.com
--
Registered Linux User #295761 http://counter.li.org

---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss