I''ve a mail server that is connect to internet trought a firewall and
It cns send e-mail without problems,
but it cannot receive mail.
Witch version of sendmail have you got? Or witch program you use to send mail?
I''ve got sendmail 8.11.2 on Red-Hat 7.1 whit kernel 2.4.8
I use a simple script that allow me to send mail to any computer outside my LAN.
The base syntax is like this:
IE:
/sbin/ipchains -A input -p TCP -s
$local_net_address 25 -d $0.0.0.0 1024:65535 -j ACCEPT
/sbin/ipchains -A output -p TCP -s
$local_net_address 25 -d $0.0.0.0 1024:65535 -j ACCEPT
/sbin/ipchains -A forward -p TCP -s
$local_net_address 25 -d $0.0.0.0 -i your_interface -j ACCEPT
Jody
----- Original Message -----
From: Nawaz
To: redhat-secure-server@redhat.com
Sent: Thursday, August 23, 2001 2:01 PM
Subject: Mail Server and Ipchains
Hi,
I have configured my computer to be a mail server for my local lan so people
can send email to each other locally and also configured it as a gateway to
internet. When it is not connected to internet mail server works well for
local mails, but when I am connected to internet it try to masqurade these
local requests also, in a result we can send local mails, Does it needs to
create a rule in ipchains or something else..
Nawaz