LinuxQuestions.org
Visit Jeremy's Blog.
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, 07:44 PM   #1
WorldBuilder
Member
 
Registered: Mar 2003
Location: Massachusetts, USA
Distribution: RH 8, Solaris, Windoze eXPunged
Posts: 520

Rep: Reputation: 30
Sendmail, DNS help please!!


Hi all,

I already posted this once and apologize for posting again, but I really need help. I had 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!
 
Old 05-10-2003, 12:14 AM   #2
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
what are the file permissions on the files you replaced?

check your log files..
 
Old 05-10-2003, 05:21 AM   #3
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.
 
  


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 DNS tonyr321 Linux - Networking 1 06-24-2005 09:55 AM
sendmail dns lookups davidsrsb Linux - Networking 1 06-09-2005 09:35 PM
sendmail without dns gregm Linux - Networking 0 03-30-2004 08:43 PM
sendmail and dns issue? rchilakapati Linux - Newbie 1 10-02-2003 05:14 AM
DNS for sendmail? puzz_1 Linux - Networking 3 06-02-2003 04:54 AM

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

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