Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Servers & Networking
FedoraForum Search

Forgot Password? Join Us!

Servers & Networking Discuss any Fedora server problems and Networking issues such as dhcp, IP numbers, wlan, modems, etc.

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 19th September 2007, 08:55 AM
SorC Offline
Registered User
 
Join Date: Sep 2007
Posts: 3
Question Sendmail not listening on any ports on Fedora Core 7

Hi,

First off this is a repost of a post I made on LinuxQuestions.org.

I have a fresh build of the latest sendmail release on a Fedora Core 7 box.

I have had no problems, compiling, installing and putting everything in place. However, after running sendmail I've found that it isn't listening for any incoming smtp connections what so ever. I've kept my sendmail.mc file down to the bare minimum and it follows:



Quote:
VERSIONID(`$Id: generic-linux.mc,v 8.1 1999/09/24 22:48:05 gshapiro Exp $')dnl
OSTYPE(linux)dnl
DOMAIN(generic)dnl
define(`DATABASE_MAP_TYPE', `hash')dnl
FEATURE(`virtusertable', `hash /etc/mail/virtusertable')dnl
MAILER(local)dnl
MAILER(smtp)dnl
The above worked to generate a cf file that got sendmail working perfectly on my previous RedHat 9 box. I have rebuilt and reinstalled the .cf files at least a dozen times with various minor changes, restarting sendmail every time.

I have tried using various recommendations of the DAEMON_OPTIONS definition none of which have made any difference.

The reason I know sendmail isn't listening is that when I run:


Quote:
netstat -a | grep LISTEN
I get:

Quote:
tcp 0 0 *:mysql *:* LISTEN
tcp 0 0 *:ftp *:* LISTEN
tcp 0 0 localhost.localdom:postgres *:* LISTEN
tcp 0 0 *:pop3 *:* LISTEN
tcp 0 0 *:http *:* LISTEN
tcp 0 0 *:ssh *:* LISTEN
tcp 0 0 *:telnet *:* LISTEN
unix 2 [ ACC ] STREAM LISTENING 6649 /tmp/.s.PGSQL.5432
unix 2 [ ACC ] STREAM LISTENING 6557 /var/lib/mysql/mysql.sock
unix 2 [ ACC ] STREAM LISTENING 6264 /var/run/dbus/system_bus_socket
unix 2 [ ACC ] STREAM LISTENING 6936 @/var/run/hald/dbus-fi0qSqDJgZ
unix 2 [ ACC ] STREAM LISTENING 6939 @/var/run/hald/dbus-Q4EGBjjoWD
The sendmail processes running when I restart sendmail are:


Quote:
3510 ? Ss 0:00 sendmail: Queue runner@01:00:00 for /var/spool/mqueue
3517 ? Ss 0:00 sendmail: Queue runner@01:00:00 for /var/spool/clientmqueue
I have also done the following:

Telneting to port 25 from the machine itself gives:

Quote:
[root@server cf]# telnet server.domain.com 25
Trying [ipaddress]...
telnet: connect to address [ipaddress]: Connection refused

where [ipaddress] is the address of the external ethernet connection (i.e direct connection to the internet).
Running lsof -i :25 yields no result

Inspecting the mail log immediately after starting sendmail gives:

Quote:
Sep 19 11:05:25 server sendmail[30037]: alias database /etc/mail/aliases rebuilt by simon
Sep 19 11:05:25 server sendmail[30037]: /etc/mail/aliases: 1 aliases, longest 5 bytes, 10 bytes total
Sep 19 11:05:25 obiwan sendmail[30044]: starting daemon (8.14.1): queueing@01:00:00
Sep 19 11:05:25 server sm-msp-queue[30051]: starting daemon (8.14.1): queueing@01:00:00
Sep 19 11:05:25 server sm-msp-queue[30052]: l8I6tQgb026691: to=root, delay=18:09:59, xdelay=00:00:00, mailer=relay, pri=211353, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]

My latest efforts to solve the problem follow:

First, I tried building an older version of sendmail on my FC7 box. This version of sendmail is one I had successfully compiled and run on a Redhat 9 box. This yielded the same results as above.
Second, I scratch built a second FC7 box with an older machine. With this I kept the absolute most basic generic linux configs that come with the sendmail source. This also yielded the same result as above.
Third, I used the sendmail 8.14.1 source to build sendmail on an FC5 box, both with and without Berkeley db. Both builds worked first time without a problem.


None of the above has brought me any closer to solving my problem, other than to draw the conclusion that there is something to do with Fedora Core 7 that I have missed.

Thankyou for your help in advance.

Cheers,
SorC
Reply With Quote
 

Tags
core, fedora, listening, ports, sendmail

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Why are these ports listening? newhelpeeps Security and Privacy 0 31st January 2009 04:45 AM
VNC not listening on ports 5900-5903 / browser support eliashickman Using Fedora 11 13th July 2008 11:58 AM
Iptables rules for listening on two ports pirast Servers & Networking 0 4th August 2007 02:01 PM
Changing Sendmail or Postix listening ports gctech Servers & Networking 3 3rd July 2006 09:57 PM
Listening on Ports? teknowiztx Servers & Networking 8 7th July 2005 09:36 PM


Current GMT-time: 21:51 (Tuesday, 18-06-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat