RE: open iptables for sendmail

Zimbizi H <[email protected]>
Newsgroups gmane.linux.redhat.release.enigma
Message-ID <3161FFFC9B10D6119D0800034798B90E4CD31B@exchange_srv.zbs.co.zw>
This was not request. My request is that iam running squid as a proxy with
http acceleration. Web requests from the internet works quiet well. But from
my internal network if access my site which is www.zbs.co.zw i get access
denied from squid.              

-----Original Message-----
From: Martin Ramskogler [mailto:[email protected]]
Sent: Tuesday, April 29, 2003 8:32 AM
To: [email protected]
Subject: open iptables for sendmail


Dear Sirs,

I'm running a Server with redhat. I want sendmail to send local mails 
(e.g. from php-scripts, or from shell-scripts) to another 
e-mail-address, but I can't get iptables work properly.

I tried this configuration, but it doesn't work:

:INPUT DROP [50957:5396723]
:FORWARD DROP [0:0]
:OUTPUT ACCEPT [336966:250894376]
[0:0] -A INPUT -s 127.0.0.1 -p tcp -m tcp --dport 25 -j ACCEPT
[0:0] -A INPUT -s 10.40.26.2 -p tcp -m tcp --dport 25 -j ACCEPT
[0:0] -A INPUT -s 127.0.0.1 -p tcp -m tcp --sport 25 -j ACCEPT
[0:0] -A INPUT -s 10.40.26.2 -p tcp -m tcp --sport 25 -j ACCEPT
[0:0] -A OUTPUT -p tcp -m tcp --dport 25 -j ACCEPT
[0:0] -A OUTPUT -p tcp -m tcp --sport 25 -j ACCEPT

10.40.26.2 is the IP of the server. When I stop iptables, everything 
works fine, the mails are sent. When I start iptables, the mails don't 
come out of the box.

Can you help me?

Thanks in advance,

Martin Ramskogler



_______________________________________________
enigma-list mailing list
[email protected]
https://listman.redhat.com/mailman/listinfo/enigma-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.