Re: strange problem with redhat 7.1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



By default the sendmail in RH 7.1 comes with accepting mail from
other hosts/servers turned off as a security precaution. 

1. Check your /etc/mail/sendmail.mc file for the following line:
     DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')
2. Insert a "dnl" in the front to comment it out.
3. After this you'll need to rebuild your sendmail.cf file.
     m4 /etc/mail/sendmail.mc > /etc/sendmail.cf
4. Now restart the machine or just sendmail.
     service sendmail restart

Good luck,
Tuan

On Fri, 19 Oct 2001, Fabian Gervan wrote:

> Hello ,
> I have a problem with redhat 7.1 kernel 2.4.9, no firewall.
> i can't  telnet to some mail servers (port 25).
> 
> [root@qmail /]# telnet bombay.telecom.com.ar 25
> Trying 200.3.94.68...
> (timeout).
> 
> To others server, it work fine.
> 
> I put the same public IP in a redhat 6.2 (2.2.18) or windows2000
> profesional and then, y can telnet nicely....
> 
> [root@ftp /]#  telnet bombay.telecom.com.ar 25
> Trying 200.3.94.68...
> Connected to bombay.telecom.com.ar.
> Escape character is '^]'.
> 220 bombay.telecom.com.ar Generic SMTP handler
> 
> 
> Any idea?
> here is any configurations of my redhat 7.1:
> 
> >[root@qmail /]# ip address show
> 1: lo: <LOOPBACK,UP> mtu 16436 qdisc noqueue
>     link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
>     inet 127.0.0.1/8 brd 127.255.255.255 scope host lo
> 2: eth0: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc cbq qlen 100
>     link/ether 00:50:04:7c:bd:1d brd ff:ff:ff:ff:ff:ff
>     inet 200.47.43.241/24 brd 200.47.43.255 scope global eth0
>     inet 10.1.0.200/16 brd 10.1.255.255 scope global eth0:1
> 3: tunl0@NONE: <NOARP> mtu 1480 qdisc noop
>     link/ipip 0.0.0.0 brd 0.0.0.0
> 4: eth1: <BROADCAST,MULTICAST,PROMISC,UP> mtu 1500 qdisc cbq qlen 100
>     link/ether 00:40:96:47:2e:93 brd ff:ff:ff:ff:ff:ff
>     inet 10.2.0.1/16 brd 10.0.0.255 scope global eth1
> 
> >[root@qmail /]# ip route show
> 200.47.43.0/24 dev eth0  proto kernel  scope link  src 200.47.43.241
> 10.2.0.0/16 dev eth1  proto kernel  scope link  src 10.2.0.1
> 10.1.0.0/16 dev eth0  proto kernel  scope link  src 10.1.0.200
> 127.0.0.0/8 dev lo  scope link
> default via 200.47.43.254 dev eth0
> 
> >[root@qmail iptables]# iptables -L -n
> Chain INPUT (policy ACCEPT)
> target     prot opt source               destination
> 
> Chain FORWARD (policy ACCEPT)
> target     prot opt source               destination
>            all  --  10.2.0.0/16          10.1.0.0/16
> 
> Chain OUTPUT (policy ACCEPT)
> target     prot opt source               destination
> 
> >[root@qmail /]# ip rule show
> 0:      from all lookup local
> 32766:  from all lookup main
> 32767:  from all lookup 253
> 
> 

-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux