LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   is the 25 port closed (https://www.linuxquestions.org/questions/linux-networking-3/is-the-25-port-closed-218769/)

abd_bela 08-17-2004 10:02 AM

is the 25 port closed
 
Hi every body,
I tried to configure the postfix on suse 9.1 in the same manner that I do it on Mandrake 9.0. On Mandrake the mail runs correctly , but not on suse 9.1.
In fact the problem is in the SMTP.

I use telnet serverMail 25, the answer is Coonexion refused

It works with the 110 port for pop3.

I enable the port in /etc/xinetd.d/smtd file : I put no to disable.


the problem remained, I restart and restart again the xinetd and the postfix, same problem. I have exacly the same file on mandrake !!!!!!!???

Perhaps the port is blocked somewhere ??? how to activate it if any


I also installed the Dns in the same machine which runs correctly.


thanks for help
bela
bye
,

Donboy 08-17-2004 10:12 AM

Prolly easiest to just call your ISP and ask them if they are blocking it. Much simpler than trying to prove it to yourself by testing.

peter_robb 08-17-2004 12:03 PM

Is there a special reason you are running postfix from xinetd?

It is designed to run itself as a daemon..

Try turning xinetd off and connect to it..

abd_bela 08-18-2004 06:20 AM

thanks
I run it as a daemon, but I don't see it in the list with ps aux command
I notice that in the readme the doc says : copy files

I need a precise answer for this : Howto open a port
I don't why complicates the access ??!!
this is from documentation


README.SuSE
(vinil@suse.cz 12.6.00, based on choeger@suse.de 2.6.98)


Please, copy:

/etc/resolv.conf
/usr/lib/zoneinfo/localtime
/lib/libnss_dns.so.2
/lib/libnss_files.so.2
/etc/nsswitch.conf
/etc/host.conf

to their equivalent in /var/spool/smtpd.
(If you do the dns lookup non-ordinary way, copy other necessary files.)

Strange this is special to Suse !!!!

I change content of the files to allow ereybody

expl166:/var/spool/smtpd # cat etc/smtpd_check_rules
#
# Example smtpd_check_rules file.
# Carsten Hoeger <choeger@suse.de> S.u.S.E. Gmbh, Fuerth, Germany 1998
#
allow:localhost:ALL:ALL

# Access to all members of domain suse.de
allow:ALL:ALL:ALL

# deny all other
#deny:ALL:ALL:ALL




For further information, read INSTALL.

peter_robb 08-18-2004 08:09 AM

That documentation describes running postfix in a root jail, chrooted..

This may be a SuSe specific script, which I don't have experience with..

However, take a look at the postfix logfile, prob /var/log/postfix/postfix.log

abd_bela 08-18-2004 08:27 AM

Hi,
thank to all.
I solved , partially the problem,
I think this is a bug,

The program /usr/sbin/smtpd is declared as root:root no permission for other
-r-x------ 1 root root 47001 Apr 6 02:21 /usr/sbin/smtpd

so the xinetd ( or another process ) couldon't runs it !!!!!!
it was declared beloging to xientd.

To fix the problem , run it a daemon /usr/sbin/smtpd -D
uucp 5225 0.0 0.1 1464 520 ? Ss 14:13 0:00 /usr/sbin/smtpd -D

but there is another program in postfix

/usr/lib/postfix/smtpd

Now I have to run it automatically,

thanks again
bye
bela


All times are GMT -5. The time now is 08:25 AM.