LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-09-2003, 01:02 PM   #1
WorldBuilder
Member
 
Registered: Mar 2003
Location: Massachusetts, USA
Distribution: RH 8, Solaris, Windoze eXPunged
Posts: 520

Rep: Reputation: 30
Sendmail startup problems, Help!


Hi all,

I have sendmail installed on a RH 8 Pro server. Now, I had to wipe and rebuild the server for reasons I won't get into, but basically, before I wiped it clean, I copied ALL the files from the /etc/mail directory to floppy with the intention of copying them back into the new /etc/mail directory after the OS was reinstalled. Well, I did just that... Now, when sendmail starts at boot, I get this:

Starting sendmail: Makefile:1: warning: NUL character seen; rest of line ignored
Makefile :1: *** missing seperator. Stop.
554 5.0.0 No local mailer defined
554 5.0.0 QueueDirectory (Q) option must be set

Starting sm-client: No local mailer defined
QueueDirectory (Q) option must be set

What does this mean? How can I fix it? Also, I did the same thing for the DNS & DHCP files in /etc, such as named.conf, dhcpd.conf, and so on. Also Samba. All of those services are starting and running fine, except although I am on the internet directly from the server (I am on it now to make this post), none of my Windows machines (which are the network clients) can access the internet. They are getting IP addresses, but not gateway information and such. Does anyone know why this may be?

cat /proc/sys/net/ipv4/ip_forward does show a value of 1, so I believe I am forwarding packets.

I am still somewhat of a so please be gentle and feel free to treat me like a five year old! Thanks a million to anyone who can help!

Chris

Sorry, in other words, I did this:

Installed RH 8.0 with all the network services. They all started just fine at first boot.

I replaced all the files that RH created on its install with the files on floppies that I took from the machine before I wiped it. dhcpd.conf, named.conf, all the files in /etc/mail and /etc/samba were among the files replaced.

Sendmail started fine the first time I booted, but after I replaced all the files in /etc/mail with the files from the floppy, it started giving me the error shown above.

All other services are starting ok, but I have internet access ONLY from this server, not from the Windoze machines on the network.

Thanks, I hope that's a little more clear!

Last edited by WorldBuilder; 05-09-2003 at 01:42 PM.
 
Old 05-10-2003, 05:25 AM   #2
MaximumLinux
LQ Newbie
 
Registered: Dec 2002
Location: Melbourne, Australia
Distribution: OpenSuSE
Posts: 15

Rep: Reputation: 0
All I can say is ensure that the first line in the sendmail.mc specifies the OSTYPE(), and the specified MAILER() is listed. e.g. smtp.

This can be caused by a corrupt sendmail.cf file.

After making necessary changes to the sendmail.mc file use make, the sendmail.cf configuration file is created along with other files and directories.

That is what I can advise.
Good luck.
 
Old 06-22-2003, 12:59 AM   #3
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Yeah, pretty much the same thing as above. Instead of copying the entire /etc/mail directory back over, you could just copy the necessary files (sendmail.cf et al) and one at a time to see which is the culprit.

Cool
 
  


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
Sendmail and sm-client slow on startup! hotpepsi Linux - Newbie 3 10-11-2010 05:17 AM
sendmail slow startup germano-silva Linux - Enterprise 2 09-03-2004 09:19 AM
Disabling Sendmail on startup? BajaNick Linux - Software 3 02-01-2004 09:53 PM
sendmail and startup scripts sopiaz57 Linux - Software 1 05-23-2003 03:56 AM
startup sendmail problem redhat 8.0 omlip Linux - Distributions 5 02-10-2003 07:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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