LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 12-15-2003, 02:53 AM   #1
ombill
Member
 
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 192.168.1.0 network, one
Linux box (wynnserv) and tw MS/XP boxes. The goal is to have all boxes
send/recv mail thru wynnserv.

Symptoms
--------
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.

Question
---------
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,

Bill.
 
Old 12-15-2003, 04:38 AM   #2
hw-tph
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.

Håkan
 
Old 12-21-2003, 01:26 AM   #3
ombill
Member
 
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 main.cf property

inet-interfaces=localhost,

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


Reply



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 smtp.myhost.com aredshaw Linux - Networking 2 07-19-2002 03:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:18 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