- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Sendmail configuration problem?
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2003 08:11 AM
02-11-2003 08:11 AM
Sendmail configuration problem?
I'm trying to use sendmail on a Mandrake installation.
The "sendmail" command itself takes a long time but provides no response.
"mailq -v" returns "no requests".
/var/log/mail errors contains:
Feb 11 11:43:45 newdell sendmail[9971]: My unqualified host name (newdell) unknown; sleeping for retry
Feb 11 11:44:45 newdell sendmail[9971]: unable to qualify my own domain name (newdell) -- using short name
/var/log/syslog reveals the same
This hints at a configuration problem.
Which file must be setup / altered?
(Or am I on a wrong track altogether?)
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2003 05:19 PM
02-11-2003 05:19 PM
Re: Sendmail configuration problem?
If it is just 'newdell', then this is what sendmail is complaining about.
I'm unsure where Mandrake stores the host name, but on older systems it was stored in /etc/HOSTNAME.
Newer systems put it in different places, for example a modern RedHat system stores it in /etc/sysconfig/network under the line 'HOSTNAME='.
Executing the command 'hostname newdell.somedomain.com' will temporariliy set it for you, but if you want to make it permenant you'll have to find out where Mandrake stores these details.
If you look at the "System Init" script, you'll get a good idea of where. (See the 'si' line in /etc/inittab, and walk through the script).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2003 01:52 AM
02-12-2003 01:52 AM
Re: Sendmail configuration problem?
You can also configure Dj
stop/start sendmail, and check if you have steal this error...
hth
Benoit
_____________
"Les femmes, comme l'a dit un fran??ais plein d'esprit, nous inspirent le d??sir de r??aliser des chefs-d'oeuvre et nous emp??chent toujours de les mener a bout."
Oscar Wilde
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2003 04:58 AM
02-12-2003 04:58 AM
Re: Sendmail configuration problem?
Fw/etc/mail/local-hostnames
or
Fw/etc/mail/sendmail.cw
or the like. It should contain lines like:
localhost
localhost.domain
newdel
newdel.
HTH
Kasper
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2003 12:54 PM
02-12-2003 12:54 PM
Re: Sendmail configuration problem?
In my opinion, you have name resolving problem.
You may try different things. Let's put them in 2 categories :
=> first, you can try to setup the name resolver properly.
=> second, you can by-pass this and forward your e-mails directly to a specific mail server.
The first method is the best one, but it only applies if your server is on a network with a DNS server properly configured (with MX records).
If this is the case, you just need to edit /etc/resolv.conf and add :
search your.domain.com
nameserver you_dns_srv_ip
Another point : make sure that your /etc/hosts file contains :
your_srv_ip your_srv_name.your.domain.com
Last point : it may be necessary to edit /etc/sendmail.cf and replace :
Dj$w.
by
Dj$w.your.domain.com.
(don't forget the dot "." at the end of domain name).
Restart sendmail to apply this change.
The second method (the simplest one) consist in using a relay server.
Just edit /etc/sendmail.cf and change :
DSyour_mailsrv.your.domain.com.
(don't put space between DS and the server name. Another point, don't forget the dot "." at the end of domain name).
Restart sendmail to apply changes.
Good luck.
Kodjo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2003 01:13 PM
02-12-2003 01:13 PM
Re: Sendmail configuration problem?
Kodjo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2003 02:42 PM
02-13-2003 02:42 PM
Re: Sendmail configuration problem?
I checked all these config files and still cannot send a message.
Currently using a redhat linux implementation on an old server. We used Mandrake on the new implementation in order to improve / modernize it.
Mail works from the old implementation but not from he new one. All config files are identical.
The old implementation does not use a .com domain name but rather local with RELAY.
Thanks again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2003 04:35 PM
02-13-2003 04:35 PM
Re: Sendmail configuration problem?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2003 08:16 PM
02-17-2003 08:16 PM
Re: Sendmail configuration problem?
look at /etc/resolv.conf
and makes changes until the following command works....
dig yahoo.com
Don't change any mail configuration until DNS resolution works.
Alternatively you can add a DS directive to sendmail.cf
DS
[IP address of relay server]
save sendmail.cf
service sendmail stop
service sendmail start
You'd better be sure that the relay server can resolve dns.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2003 12:11 AM
02-18-2003 12:11 AM
Re: Sendmail configuration problem?
is this machine going to be on the internet and send mails? if so, then u need to configure your dns. else, just add the smart host entry (DS) and restart sendmail.
hth
-balaji