LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-30-2003, 01:00 AM   #1
dholingw
Member
 
Registered: Dec 2003
Distribution: Cent OS 4.1
Posts: 38

Rep: Reputation: 15
Stumped with Postfix- SMTP dead


Hi all.

Well.. 2-days later, I guess itís finally time to ask for help. Hereís where Iím at:

I did a fresh install of 7.3, and at the same time, decided to replace sendmail with postfix. After the install, I deleted sendmail through webmin and setup postfix. It complained about my static IP not being in the inet interface, so I fixed that. First thing I did was try to send a message through a webmin user mailbox, and this worked. It probably would through pine too.

HoweverÖ

When I try to send, (relay I guess) through netscape or outlook, nothing! The connection just hangs and then times out with a ďserver not respondingĒ message. Iíve never seen anything so bizarre, as in, no useful error messages or anything. Hereís what I can tell you for sure:

- I altered the original main.cf configuration, but then reverted back to its default settings.
- My ISP does not block port 25
- My Linksys router has port 25 open
- I can ping mail.mydomain.com
- Thereís nothing with respects to an SMTP attempt in the mail logs- just pop3 logins
- Everything worked fine with Sendmail
- Iím not relaying through an ISP mail server- I should be able to send mail directly, or at least within my LAN

While my connection to port 25 is hanging, running iptraf shows that itís trying to connect. I meanÖ If I ďwasĒ making it as far as Postfix, wouldnít I be receiving some sort of Postfix error message, as opposed to a mere connection timeout message? I donít even think itís making it as far as postfix.

Any insight or direction would be very much appreciated at this point. Itís been a long past two days.

Thanks,

Dave H

Just incase anyoneís interested, hereís a netstat Ė nlp

Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:32768 0.0.0.0:* LISTEN 628/rpc.statd
tcp 0 0 0.0.0.0:10030 0.0.0.0:* LISTEN 6715/perl
tcp 0 0 0.0.0.0:110 0.0.0.0:* LISTEN 2932/xinetd
tcp 0 0 0.0.0.0:143 0.0.0.0:* LISTEN 2932/xinetd
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 600/portmap
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 4523/httpd
tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN 2932/xinetd
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 795/sshd
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 6378/master
tcp 0 0 0.0.0.0:443 0.0.0.0:* LISTEN 4523/httpd
udp 0 0 0.0.0.0:32768 0.0.0.0:* 628/rpc.statd
udp 0 0 0.0.0.0:10000 0.0.0.0:* 6715/perl
udp 0 0 0.0.0.0:111 0.0.0.0:* 600/portmap
Active UNIX domain sockets (only servers)
Proto RefCnt Flags Type State I-Node PID/Program name Path
unix 2 [ ACC ] STREAM LISTENING 1634 929/gpm /dev/gpmctl
unix 2 [ ACC ] STREAM LISTENING 1733 1017/xfs /tmp/.font-unix/fs7100
unix 2 [ ACC ] STREAM LISTENING 20234 6378/master public/cleanup
unix 2 [ ACC ] STREAM LISTENING 20253 6378/master public/flush
unix 2 [ ACC ] STREAM LISTENING 20261 6378/master public/showq
unix 2 [ ACC ] STREAM LISTENING 20241 6378/master private/rewrite
unix 2 [ ACC ] STREAM LISTENING 20245 6378/master private/bounce
unix 2 [ ACC ] STREAM LISTENING 20249 6378/master private/defer
unix 2 [ ACC ] STREAM LISTENING 20257 6378/master private/smtp
unix 2 [ ACC ] STREAM LISTENING 20265 6378/master private/error
unix 2 [ ACC ] STREAM LISTENING 20269 6378/master private/local
unix 2 [ ACC ] STREAM LISTENING 20273 6378/master private/virtual
unix 2 [ ACC ] STREAM LISTENING 20277 6378/master private/lmtp
unix 2 [ ACC ] STREAM LISTENING 20281 6378/master private/cyrus
unix 2 [ ACC ] STREAM LISTENING 20285 6378/master private/uucp
unix 2 [ ACC ] STREAM LISTENING 20289 6378/master private/ifmail
unix 2 [ ACC ] STREAM LISTENING 20293 6378/master private/bsmtp
 
Old 12-30-2003, 08:04 AM   #2
ugob
Member
 
Registered: Nov 2003
Distribution: RH, Fedora, Debian, Knoppix
Posts: 436

Rep: Reputation: 31
Your postfix only listens to the localhost, is that what you want?
 
Old 12-30-2003, 12:01 PM   #3
dholingw
Member
 
Registered: Dec 2003
Distribution: Cent OS 4.1
Posts: 38

Original Poster
Rep: Reputation: 15
I noticed that, but have absolutely no idea of how it ended up that way, or how to change it. From all the reading Iíve done, Postfix, (at least in its vanilla state) should be able to function with a few changes to the defaults, but I wasnít so lucky.

So no, I donít want its listening limited to the local host, but I donít know how to change it. Is this a default thing it does upon install? Any magic fixes would be welcome

Thanks again,

Dave H
 
Old 12-30-2003, 01:45 PM   #4
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
inet_interfaces =
all
mynetworks =
192.168.0.0/24,
192.168.1.0/24,
127.0.0.0/8
 
Old 01-01-2004, 07:29 PM   #5
dholingw
Member
 
Registered: Dec 2003
Distribution: Cent OS 4.1
Posts: 38

Original Poster
Rep: Reputation: 15
Thanks David.

After several days of messing around with no luck, I wimped out and put sendmail back on the system. I was running out of time, and the barrage of anomalies that continued to emerge were beginning to take their toll on my patience. Appreciate the responses just the same.

David H
 
Old 01-01-2004, 07:54 PM   #6
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
That's cool sendmail is a good choice. I use postfix on my home server, but I use sendmail on my laptop.
 
  


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
Postfix - Using for SMTP wfernley Linux - Newbie 3 12-29-2005 09:22 AM
Postfix and SMTP Phaethar Linux - Software 0 03-09-2004 09:29 AM
postfix smtp bas_vdl Linux - Networking 0 10-19-2003 05:24 PM
Postfix - Only SMTP? Thinkgeekness Linux - Software 12 03-11-2003 04:39 PM
Help with Postfix and SMTP????? graystarr Linux - Software 1 03-10-2003 01:55 PM


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

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration