Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to
LinuxQuestions.org , a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free.
Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please
contact us . If you need to reset your password,
click here .
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a
virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month.
Click here for more info.
04-28-2005, 08:51 PM
#1
LQ Newbie
Registered: Apr 2005
Posts: 13
Rep:
how to start postfix ?
I have killed the sendmail and started postfix,
but, I cann't telnet to 25 and 110.
Please help me,,,,thanks..
Last edited by strongzzj; 04-28-2005 at 09:05 PM .
04-28-2005, 10:04 PM
#2
Member
Registered: Apr 2004
Distribution: Red Hat
Posts: 290
Rep:
Did you check if you could telnet whilst running sendmail? How did you start Postfix? How do you know Postfix is running?
04-28-2005, 10:41 PM
#3
LQ Newbie
Registered: Apr 2005
Posts: 13
Original Poster
Rep:
sendmail can't also.
use command start postfix: /etc/rc.d/init.d/postfix start
use command check if running:chkconfig --list|grep postfix.
Last edited by strongzzj; 04-28-2005 at 10:51 PM .
04-28-2005, 11:32 PM
#4
Member
Registered: Apr 2004
Distribution: Red Hat
Posts: 290
Rep:
Ok. Did you checked if telnet is blocked by your firewall? e.g. iptables --list
04-28-2005, 11:49 PM
#5
LQ Newbie
Registered: Apr 2005
Posts: 13
Original Poster
Rep:
iptables was opened ,now is closed(service iptables stop),lokkit is closed also.but ,I can't telnet.
04-29-2005, 12:06 AM
#6
Member
Registered: Aug 2003
Location: Manila, Philippines
Distribution: RH
Posts: 43
Rep:
can you show us the output of your ps -ef ?
04-29-2005, 12:44 AM
#7
LQ Newbie
Registered: Apr 2005
Posts: 13
Original Poster
Rep:
OK,
please refer:
[root@mail ~]# ps -ef
UID PID PPID C STIME TTY TIME CMD
root 1 0 0 Apr27 ? 00:00:01 init [5]
root 2 1 0 Apr27 ? 00:00:00 [ksoftirqd/0]
root 3 1 0 Apr27 ? 00:00:00 [events/0]
root 4 3 0 Apr27 ? 00:00:00 [khelper]
root 5 3 0 Apr27 ? 00:00:00 [kacpid]
root 20 3 0 Apr27 ? 00:00:00 [kblockd/0]
root 30 3 0 Apr27 ? 00:00:00 [pdflush]
root 31 3 0 Apr27 ? 00:00:00 [pdflush]
root 33 3 0 Apr27 ? 00:00:00 [aio/0]
root 21 1 0 Apr27 ? 00:00:00 [khubd]
root 32 1 0 Apr27 ? 00:00:00 [kswapd0]
root 106 1 0 Apr27 ? 00:00:00 [kseriod]
root 183 1 0 Apr27 ? 00:00:00 [kjournald]
root 1108 1 0 Apr27 ? 00:00:00 udevd
root 1653 1 0 Apr27 ? 00:00:00 [kjournald]
root 1654 1 0 Apr27 ? 00:00:00 [kjournald]
root 1980 1 0 Apr27 ? 00:00:00 syslogd -m 0
root 1984 1 0 Apr27 ? 00:00:00 klogd -x
rpc 2005 1 0 Apr27 ? 00:00:00 portmap
rpcuser 2025 1 0 Apr27 ? 00:00:00 rpc.statd
root 2058 1 0 Apr27 ? 00:00:00 rpc.idmapd
root 2129 1 0 Apr27 ? 00:00:00 nifd -n
nobody 2159 1 0 Apr27 ? 00:00:00 mDNSResponder
root 2171 1 0 Apr27 ? 00:00:00 /usr/sbin/smartd
root 2181 1 0 Apr27 ? 00:00:00 /usr/sbin/acpid
root 2193 1 0 Apr27 ? 00:00:00 cupsd
root 2229 1 0 Apr27 ? 00:00:00 /usr/sbin/sshd
root 2240 1 0 Apr27 ? 00:00:00 xinetd -stayalive -pidfile /var/root 2295 1 0 Apr27 ? 00:00:00 /usr/libexec/postfix/master
postfix 2301 2295 0 Apr27 ? 00:00:00 qmgr -l -t fifo -u
root 2307 1 0 Apr27 ? 00:00:00 gpm -m /dev/input/mice -t imps2
htt 2337 1 0 Apr27 ? 00:00:00 /usr/sbin/htt -retryonerror 0
htt 2338 2337 0 Apr27 ? 00:00:00 htt_server -nodaemon
root 2348 1 0 Apr27 ? 00:00:00 crond
xfs 2376 1 0 Apr27 ? 00:00:00 xfs -droppriv -daemon
root 2386 1 0 Apr27 ? 00:00:00 smbd -D
root 2390 1 0 Apr27 ? 00:00:17 nmbd -D
daemon 2416 1 0 Apr27 ? 00:00:00 /usr/sbin/atd
root 2427 2386 0 Apr27 ? 00:00:00 smbd -D
dbus 2436 1 0 Apr27 ? 00:00:00 dbus-daemon-1 --system
root 2449 1 0 Apr27 ? 00:00:00 cups-config-daemon
root 2460 1 0 Apr27 ? 00:00:41 hald
root 2470 1 0 Apr27 tty1 00:00:00 /sbin/mingetty tty1
root 2489 1 0 Apr27 tty2 00:00:00 /sbin/mingetty tty2
root 2502 1 0 Apr27 tty3 00:00:00 /sbin/mingetty tty3
root 2515 1 0 Apr27 tty4 00:00:00 /sbin/mingetty tty4
root 2528 1 0 Apr27 tty5 00:00:00 /sbin/mingetty tty5
root 2541 1 0 Apr27 tty6 00:00:00 /sbin/mingetty tty6
root 2670 1 0 Apr27 ? 00:00:00 /usr/bin/gdm-binary -nodaemon
root 2923 2670 0 Apr27 ? 00:00:00 /usr/bin/gdm-binary -nodaemon
root 2948 2923 0 Apr27 ? 00:02:21 /usr/X11R6/bin/X :0 -audit 0 -auroot 3104 2923 0 Apr27 ? 00:00:00 /usr/bin/gnome-session
root 3128 1 0 Apr27 ? 00:00:02 /usr/libexec/gconfd-2 13
root 3129 3104 0 Apr27 ? 00:00:00 /bin/bash /etc/X11/xdm/Xsession
root 3134 3129 0 Apr27 ? 00:00:00 httx
root 3135 3134 0 Apr27 ? 00:00:00 htt_xbe
root 3138 1 0 Apr27 ? 00:00:00 /usr/bin/ssh-agent -s
root 3171 1 0 Apr27 ? 00:00:00 /usr/bin/dbus-launch --exit-withroot 3172 1 0 Apr27 ? 00:00:00 dbus-daemon-1 --fork --print-pidroot 3180 1 0 Apr27 ? 00:00:00 /usr/bin/gnome-keyring-daemon
root 3182 1 0 Apr27 ? 00:00:00 /usr/libexec/bonobo-activation-sroot 3184 1 0 Apr27 ? 00:00:00 /usr/libexec/gnome-settings-daemroot 3190 1 0 Apr27 ? 00:00:00 /usr/libexec/gam_server
root 3222 1 0 Apr27 ? 00:00:05 /usr/bin/metacity --sm-client-idroot 3226 1 0 Apr27 ? 00:00:05 gnome-panel --sm-client-id defauroot 3228 1 0 Apr27 ? 00:00:12 nautilus --no-default-window --sroot 3230 1 0 Apr27 ? 00:00:00 gnome-volume-manager --sm-clientroot 3232 1 0 Apr27 ? 00:00:00 eggcups --sm-client-id default5
root 3234 1 0 Apr27 ? 00:00:00 pam-panel-icon --sm-client-id deroot 3237 1 0 Apr27 ? 00:00:00 /usr/libexec/gnome-vfs-daemon --root 3241 1 1 Apr27 ? 00:31:33 /usr/bin/python /usr/bin/rhn-approot 3243 3234 0 Apr27 ? 00:00:00 /sbin/pam_timestamp_check -d rooroot 3250 1 0 Apr27 ? 00:00:00 /usr/libexec/mapping-daemon
root 3252 1 0 Apr27 ? 00:00:03 /usr/libexec/wnck-applet --oaf-aroot 3254 1 0 Apr27 ? 00:00:00 /usr/libexec/mixer_applet2 --oafroot 3256 1 0 Apr27 ? 00:00:04 /usr/libexec/clock-applet --oaf-root 3258 1 0 Apr27 ? 00:00:00 /usr/libexec/notification-area-aroot 3260 1 0 Apr27 ? 00:00:00 /usr/libexec/gnome-im-switcher-aroot 6421 1 0 Apr28 ? 00:00:00 /usr/libexec/evolution-data-servroot 6427 1 0 Apr28 ? 00:00:00 /usr/libexec/evolution/2.0/evoluroot 6456 1 0 Apr28 ? 00:00:01 /usr/bin/spamd --port 7830 --locroot 6458 6456 0 Apr28 ? 00:00:01 spamd child
root 6459 6456 0 Apr28 ? 00:00:02 spamd child
root 6460 6456 0 Apr28 ? 00:00:02 spamd child
root 6461 6456 0 Apr28 ? 00:00:02 spamd child
root 6462 6456 0 Apr28 ? 00:00:00 spamd child
root 7390 1 0 10:06 ? 00:00:00 com.redhat.chinput.status
postfix 7472 2295 0 13:37 ? 00:00:00 pickup -l -t fifo -u
root 7572 1 5 14:25 ? 00:00:00 /usr/bin/gnome-terminal
root 7574 7572 0 14:25 ? 00:00:00 gnome-pty-helper
root 7575 7572 0 14:25 pts/1 00:00:00 bash
root 7592 7575 0 14:25 pts/1 00:00:00 ps -ef
[root@mail ~]# gedit /etc/sevices
[root@mail ~]# ps -ef|grep postfix
root 2295 1 0 Apr27 ? 00:00:00 /usr/libexec/postfix/master
postfix 2301 2295 0 Apr27 ? 00:00:00 qmgr -l -t fifo -u
postfix 7472 2295 0 13:37 ? 00:00:00 pickup -l -t fifo -u
root 7599 7575 0 14:40 pts/1 00:00:00 grep postfix
[root@mail ~]# ps -ef
UID PID PPID C STIME TTY TIME CMD
root 1 0 0 Apr27 ? 00:00:01 init [5]
root 2 1 0 Apr27 ? 00:00:00 [ksoftirqd/0]
root 3 1 0 Apr27 ? 00:00:00 [events/0]
root 4 3 0 Apr27 ? 00:00:00 [khelper]
root 5 3 0 Apr27 ? 00:00:00 [kacpid]
root 20 3 0 Apr27 ? 00:00:00 [kblockd/0]
root 30 3 0 Apr27 ? 00:00:00 [pdflush]
root 31 3 0 Apr27 ? 00:00:00 [pdflush]
root 33 3 0 Apr27 ? 00:00:00 [aio/0]
root 21 1 0 Apr27 ? 00:00:00 [khubd]
root 32 1 0 Apr27 ? 00:00:00 [kswapd0]
root 106 1 0 Apr27 ? 00:00:00 [kseriod]
root 183 1 0 Apr27 ? 00:00:00 [kjournald]
root 1108 1 0 Apr27 ? 00:00:00 udevd
root 1653 1 0 Apr27 ? 00:00:00 [kjournald]
root 1654 1 0 Apr27 ? 00:00:00 [kjournald]
root 1980 1 0 Apr27 ? 00:00:00 syslogd -m 0
root 1984 1 0 Apr27 ? 00:00:00 klogd -x
rpc 2005 1 0 Apr27 ? 00:00:00 portmap
rpcuser 2025 1 0 Apr27 ? 00:00:00 rpc.statd
root 2058 1 0 Apr27 ? 00:00:00 rpc.idmapd
root 2129 1 0 Apr27 ? 00:00:00 nifd -n
nobody 2159 1 0 Apr27 ? 00:00:00 mDNSResponder
root 2171 1 0 Apr27 ? 00:00:00 /usr/sbin/smartd
root 2181 1 0 Apr27 ? 00:00:00 /usr/sbin/acpid
root 2193 1 0 Apr27 ? 00:00:00 cupsd
root 2229 1 0 Apr27 ? 00:00:00 /usr/sbin/sshd
root 2240 1 0 Apr27 ? 00:00:00 xinetd -stayalive -pidfile /var/root 2295 1 0 Apr27 ? 00:00:00 /usr/libexec/postfix/master
postfix 2301 2295 0 Apr27 ? 00:00:00 qmgr -l -t fifo -u
root 2307 1 0 Apr27 ? 00:00:00 gpm -m /dev/input/mice -t imps2
htt 2337 1 0 Apr27 ? 00:00:00 /usr/sbin/htt -retryonerror 0
htt 2338 2337 0 Apr27 ? 00:00:00 htt_server -nodaemon
root 2348 1 0 Apr27 ? 00:00:00 crond
xfs 2376 1 0 Apr27 ? 00:00:00 xfs -droppriv -daemon
root 2386 1 0 Apr27 ? 00:00:00 smbd -D
root 2390 1 0 Apr27 ? 00:00:17 nmbd -D
daemon 2416 1 0 Apr27 ? 00:00:00 /usr/sbin/atd
root 2427 2386 0 Apr27 ? 00:00:00 smbd -D
dbus 2436 1 0 Apr27 ? 00:00:00 dbus-daemon-1 --system
root 2449 1 0 Apr27 ? 00:00:00 cups-config-daemon
root 2460 1 0 Apr27 ? 00:00:41 hald
root 2470 1 0 Apr27 tty1 00:00:00 /sbin/mingetty tty1
root 2489 1 0 Apr27 tty2 00:00:00 /sbin/mingetty tty2
root 2502 1 0 Apr27 tty3 00:00:00 /sbin/mingetty tty3
root 2515 1 0 Apr27 tty4 00:00:00 /sbin/mingetty tty4
root 2528 1 0 Apr27 tty5 00:00:00 /sbin/mingetty tty5
root 2541 1 0 Apr27 tty6 00:00:00 /sbin/mingetty tty6
root 2670 1 0 Apr27 ? 00:00:00 /usr/bin/gdm-binary -nodaemon
root 2923 2670 0 Apr27 ? 00:00:00 /usr/bin/gdm-binary -nodaemon
root 2948 2923 0 Apr27 ? 00:02:26 /usr/X11R6/bin/X :0 -audit 0 -auroot 3104 2923 0 Apr27 ? 00:00:00 /usr/bin/gnome-session
root 3128 1 0 Apr27 ? 00:00:02 /usr/libexec/gconfd-2 13
root 3129 3104 0 Apr27 ? 00:00:00 /bin/bash /etc/X11/xdm/Xsession
root 3134 3129 0 Apr27 ? 00:00:00 httx
root 3135 3134 0 Apr27 ? 00:00:00 htt_xbe
root 3138 1 0 Apr27 ? 00:00:00 /usr/bin/ssh-agent -s
root 3171 1 0 Apr27 ? 00:00:00 /usr/bin/dbus-launch --exit-withroot 3172 1 0 Apr27 ? 00:00:00 dbus-daemon-1 --fork --print-pidroot 3180 1 0 Apr27 ? 00:00:00 /usr/bin/gnome-keyring-daemon
root 3182 1 0 Apr27 ? 00:00:00 /usr/libexec/bonobo-activation-sroot 3184 1 0 Apr27 ? 00:00:00 /usr/libexec/gnome-settings-daemroot 3190 1 0 Apr27 ? 00:00:00 /usr/libexec/gam_server
root 3222 1 0 Apr27 ? 00:00:05 /usr/bin/metacity --sm-client-idroot 3226 1 0 Apr27 ? 00:00:05 gnome-panel --sm-client-id defauroot 3228 1 0 Apr27 ? 00:00:12 nautilus --no-default-window --sroot 3230 1 0 Apr27 ? 00:00:00 gnome-volume-manager --sm-clientroot 3232 1 0 Apr27 ? 00:00:00 eggcups --sm-client-id default5
root 3234 1 0 Apr27 ? 00:00:00 pam-panel-icon --sm-client-id deroot 3237 1 0 Apr27 ? 00:00:00 /usr/libexec/gnome-vfs-daemon --root 3241 1 1 Apr27 ? 00:31:33 /usr/bin/python /usr/bin/rhn-approot 3243 3234 0 Apr27 ? 00:00:00 /sbin/pam_timestamp_check -d rooroot 3250 1 0 Apr27 ? 00:00:00 /usr/libexec/mapping-daemon
root 3252 1 0 Apr27 ? 00:00:04 /usr/libexec/wnck-applet --oaf-aroot 3254 1 0 Apr27 ? 00:00:00 /usr/libexec/mixer_applet2 --oafroot 3256 1 0 Apr27 ? 00:00:04 /usr/libexec/clock-applet --oaf-root 3258 1 0 Apr27 ? 00:00:00 /usr/libexec/notification-area-aroot 3260 1 0 Apr27 ? 00:00:00 /usr/libexec/gnome-im-switcher-aroot 6421 1 0 Apr28 ? 00:00:00 /usr/libexec/evolution-data-servroot 6427 1 0 Apr28 ? 00:00:00 /usr/libexec/evolution/2.0/evoluroot 6456 1 0 Apr28 ? 00:00:01 /usr/bin/spamd --port 7830 --locroot 6458 6456 0 Apr28 ? 00:00:01 spamd child
root 6459 6456 0 Apr28 ? 00:00:02 spamd child
root 6460 6456 0 Apr28 ? 00:00:02 spamd child
root 6461 6456 0 Apr28 ? 00:00:02 spamd child
root 6462 6456 0 Apr28 ? 00:00:00 spamd child
root 7390 1 0 10:06 ? 00:00:00 com.redhat.chinput.status
postfix 7472 2295 0 13:37 ? 00:00:00 pickup -l -t fifo -u
root 7572 1 0 14:25 ? 00:00:02 /usr/bin/gnome-terminal
root 7574 7572 0 14:25 ? 00:00:00 gnome-pty-helper
root 7575 7572 0 14:25 pts/1 00:00:00 bash
root 7600 7575 0 14:40 pts/1 00:00:00 ps -ef
[root@mail ~]#
04-29-2005, 01:28 AM
#8
Member
Registered: Aug 2002
Posts: 117
Rep:
something useful:
The netstat command will show you which ports your computer is trying to listen on.
Then just look for :25 and :110
04-29-2005, 01:51 AM
#9
LQ Newbie
Registered: Apr 2005
Posts: 13
Original Poster
Rep:
the port 25 is listening.
we must be telnet to 25 if everything was well.
04-29-2005, 02:02 AM
#10
Member
Registered: Apr 2004
Distribution: Red Hat
Posts: 290
Rep:
can you telnet into your ISP's mail server?
Another thing are you trying to telnet to the same machine that runs Postfix?
04-29-2005, 02:18 AM
#11
LQ Newbie
Registered: Apr 2005
Posts: 13
Original Poster
Rep:
I can telnet into others mailserver that runs MDaenon.
I only have one postfix server .
Last edited by strongzzj; 04-29-2005 at 02:24 AM .
04-29-2005, 02:44 AM
#12
Member
Registered: Aug 2002
Posts: 117
Rep:
Let's see the output of:
(Please look through it a bit first, it may contain data you consider sensative)
04-29-2005, 02:56 AM
#13
LQ Newbie
Registered: Apr 2005
Posts: 13
Original Poster
Rep:
It is......
[root@mail ~]# iptables --list -v
Chain INPUT (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
Chain OUTPUT (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
[root@mail ~]#
P.S: Iptables has been stopped.
Last edited by strongzzj; 04-29-2005 at 02:58 AM .
04-29-2005, 03:15 AM
#14
Member
Registered: Aug 2002
Posts: 117
Rep:
Ah, forogt that tid bit, ok not a firewall issue.
I haven't configured postfix before, but lets take a look at the config file maybe. There could be some things there.
I looked at:
http://www.postfix.org/basic.html
and found this
Quote:
What clients to relay mail for
By default, Postfix will relay mail for clients in authorized networks.
Authorized client networks are defined by the mynetworks parameter. The default is to authorize all clients in the IP subnetworks that the local machine is attached to.
Are the machines you are telnetting from/to in the same subnet ?
*shrug* Longshot...
04-29-2005, 03:37 AM
#15
LQ Newbie
Registered: Apr 2005
Posts: 13
Original Poster
Rep:
yes, in the same subnet.
oh ,what happen
All times are GMT -5. The time now is 01:05 AM .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know .
Latest Threads
LQ News