LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-17-2004, 11:02 AM   #1
abd_bela
Member
 
Registered: Dec 2002
Location: algeria
Distribution: redhat 7.3, debian lenny
Posts: 627

Rep: Reputation: 31
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
,
 
Old 08-17-2004, 11:12 AM   #2
Donboy
Member
 
Registered: Aug 2003
Location: Little Rock, Arkansas
Distribution: RH, Fedora, Suse, AIX
Posts: 736

Rep: Reputation: 31
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.
 
Old 08-17-2004, 01:03 PM   #3
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 48
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..
 
Old 08-18-2004, 07:20 AM   #4
abd_bela
Member
 
Registered: Dec 2002
Location: algeria
Distribution: redhat 7.3, debian lenny
Posts: 627

Original Poster
Rep: Reputation: 31
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.
 
Old 08-18-2004, 09:09 AM   #5
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 48
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
 
Old 08-18-2004, 09:27 AM   #6
abd_bela
Member
 
Registered: Dec 2002
Location: algeria
Distribution: redhat 7.3, debian lenny
Posts: 627

Original Poster
Rep: Reputation: 31
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
port 25 is closed? abd_bela Red Hat 3 04-12-2005 04:58 PM
Port to be closed. lancillotto4648 Debian 7 12-09-2004 07:21 AM
Port 25 Closed karuna Linux - Newbie 0 03-02-2004 03:17 PM
port closed hotrodowner Linux - Networking 2 12-02-2002 06:06 AM
firewall.rc.config says :"open port 8080" but nmap says port is closed saavik Linux - Security 2 02-14-2002 01:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:55 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration