Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 12-15-2003, 02:53 AM   #1
Registered: Dec 2003
Distribution: RH8.0
Posts: 30

Rep: Reputation: 15
Cant Connect To SMTP On RH8

I'm having a problem connecting to postfix, from anything but localhost.

I have a linksys router, and three hosts on our network, one
Linux box (wynnserv) and tw MS/XP boxes. The goal is to have all boxes
send/recv mail thru wynnserv.

I can send mail out from wynnserv's Ximian MUA, but cannot:
a) connect to wynnserv:25 from the XP boxes (outlook and telnet)
b) connect to wynnserv:25 from the internet (wynnserv:25 IS forwarded
by the linksys router), either by telnet to my static IP, or when other
MTA's try to connect from the internet.

Whenever an attempt to connect to postfix occurs, wether from one
of my XP boxes or from the internet, tcpdump shows a connect
(s flag) followed by a reject (r flag). Simultaneously, there is
NO logging going into /val/log/maillog.

Digging a little, reveals that the postfix master daemon is not running, i.e.

[root@wynnserv postfix]# ps aux | grep postfix
postfix 3336 0.0 0.2 3796 1324 ? S Dec13 0:00 nqmgr -l -n qmgr
postfix 14262 0.0 0.2 3732 1204 ? S 15:58 0:00 pickup -l -t fifo
[root@wynnserv postfix]#

Also, there does not seem to be any attempt to start the master daemon in
script /etc/rc.d/rc5.d/S80postfix, although I am no expert reading shell, and
could be wrong about that.

Can somebody direct me to info on how to start the master daemon? I am primarily
a java/xml developer, rather than a linux system-admin/shell programmer, so
concrete examples rather than general instructions would be really welcome.

Thanks for your attention,

Old 12-15-2003, 04:38 AM   #2
Senior Member
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
How is your firewall/netfilter/iptables on the Linux box configured? Does it allow incoming traffic on port 25 at all? You will probably have to open up access on tcp/25 and also configure postfix to accept and relay messages from the other hosts on your local network.

I suggest you do not allow access from the Internet unless you really know what you're doing. Chances are you would either make your Linux box vulnerable to attack, or turn it in to a spam relay by mistake.

Old 12-21-2003, 01:26 AM   #3
Registered: Dec 2003
Distribution: RH8.0
Posts: 30

Original Poster
Rep: Reputation: 15
Thanks Håkan, I checked all the items you suggested, but eventually found that postfix was only listening to localhost. I commented out the property


and postfix came to life (the default is to listen to all interfaces). Your point about not accidentally relaying spam is duly noted.


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
Takes ages to connect to smtp Swakoo Linux - General 3 08-23-2005 03:32 AM
client cannot connect to sendmail smtp LetoX Linux - Networking 0 07-06-2004 05:47 PM
Can't connect to RedHat 9 SMTP server from XP bper Linux - Networking 1 10-22-2003 09:07 AM
Cannot connect to any SMTP Servers? DiZASTiX Linux - General 13 06-16-2003 01:07 AM
cannot connect to aredshaw Linux - Networking 2 07-19-2002 03:52 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:58 AM.

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