- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- One more Sendmail newbie 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
06-15-2000 03:41 PM
06-15-2000 03:41 PM
One more Sendmail newbie problem...
We want to use the current Novell Groupwise email engine for paging and email relayed from our local HP Unix machine. Local mail works fine.
I have modified /etc/mail/sendmail.cf as follows:
# my official domain name
Dj$w.sd81.k12.wa.us
# "Smart" relay host (may be null)
DSmail.sd81.k12.wa.us
stop and start sendmail...
then from the command line:
mail dougf@sd81.k12.wa.us
blah blah
.
No luck! What idiot error am I committing or omitting?
tia
Doug
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2000 05:39 PM
06-15-2000 05:39 PM
Re: One more Sendmail newbie problem...
Perhaps you may want to try some troubleshooting commands to identify the problem:
1) mailq -v
2) sendmail -dX where X is the debugging value or depth
3) Check your /var/log/maillog or any other log file customised for sendmail
Regards.
Steven Sim.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-16-2000 01:18 AM
06-16-2000 01:18 AM
Re: One more Sendmail newbie problem...
if you are on the same machine and the
fq hostname is in sendmail.cw, mail gets handled locally.
check logfiles, as said before, maybe you can post a messages
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-16-2000 04:44 AM
06-16-2000 04:44 AM
Re: One more Sendmail newbie problem...
# "Smart" relay host (may be null)
DS
and set to
DSyour.mailrelay.com << this is the name of your Exchange mail server.
Then stop and restart sendmail to re-read the sendmail.cf file
#/sbin/init.d/sendmail stop
#/sbin/init.d/sendmail start
You can test by issuing
#sendmail -v bherren@www.atl.hp.com
test
.
It should connect to the exchange server and go out it's merry way to the internet.
NOTE: 8.8.6, sendmail automatically assumes that you are using DNS and be returning fully qualified hostnames. If you are not, you MUST do the following workaround to trick it.. At sendmail 8.8.6, service.switch IS NOT USED AT ALL, regardless of whether you've uncommented it in sendmail.cf..
If you are not using dns (you do not have a fully-qualified domain name), you MUST:
a) Set the Dj$w macro in sendmail.cf to Dj$w. (as opposed to Dj$w without a dot at the end) AND (and here's where if differs from previous versions)
b) Add an alias to /etc/hosts that ends with a "." (for example, a pre- 8.8.6 host file line might look like this:
1.1.1.1 hello
to make things work at 8.8.6, change it to
1.1.1.1 hello hello.
Berlene
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-16-2000 06:13 AM
06-16-2000 06:13 AM
Re: One more Sendmail newbie problem...
sendmail 8.9.3 uses /etc/nsswitch.conf, uou can copy this from /usr/newconfig/etc and modify the line to read host: files
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-16-2000 01:00 PM
06-16-2000 01:00 PM
Re: One more Sendmail newbie problem...
sorry folks, i either am executing GOR (gross op error) or ???
Q: not being a sendmail type of guy, how do i determine the version of sendmail?
local host name is sd81hp9k
domain name is sd81.k12.wa.us
FQDN is: sd81hp9k.sd81.k12.wa.us
the only msgs relevant are:
using "sendmail -v dougf@sd81.k12.wa.us"
dougf@sd81.k12.wa.us... sd81.k12.wa.us: Name server timeout
dougf@sd81.k12.wa.us... Transient parse error -- message queued for future deliv
ery
using "mail dougf@sd81.k12.wa.us" and the results from mail.log:
Jun 16 13:19:25 sd81hp9k sendmail[23247]: NAA23247: to=dougf@sd81.k12.wa.us, delay=00:00:00, mailer=relay, stat=queued
my sendmail.cf looks like this:
Dj$w.sd81.k12.wa.us
DSmail.sd81.k12.wa.us
where sd81.k12.wa.us is the fully qualified domain name, the hp is not running dns. I tried it with the dot (w.sd81) and without (wsd81). I even tried it with the IP instead of the short and long name.
sendmail.cw does not have the fqhn or fqdn (sd81hp9k.sd81.k12.wa.us) but instead has the local host name of sd81hp9k.
I tried adding this to etc/hosts per berlene's recommendations:
10.1.0.16 sd81hp9k.sd81.k12.wa.us sd81hp9k.
10.1.0.16 sd81hp9k.sd81.k12.wa.us sd81hp9k sd81hp9k.
as well as the standard IP FQDN
I stop and start the service, run newalias just for kicks, etc.
OK, what am I missing, this is so simple and stupid...one last plea for help before I log the dreaded hp tech support call (not that i dread calling them or that they don't help, i just hate calling on such a minor and probably obviously simple quick fix).
Thanks for everyone who has responded. It is nice to have all of your assistance.
pre P.S. hope everyone had a good friday and a better weekend.
Doug
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-16-2000 01:07 PM
06-16-2000 01:07 PM
Re: One more Sendmail newbie problem...
I meant to re-post these comments to all the helpful folks from the original 6-15 post!
I either am executing GOR (gross op error) or ???
Q: not being a sendmail type of guy, how do i determine the version of sendmail?
local host name is sd81hp9k
domain name is sd81.k12.wa.us
FQDN is: sd81hp9k.sd81.k12.wa.us
the only msgs relevant are:
using "sendmail -v dougf@sd81.k12.wa.us"
dougf@sd81.k12.wa.us... sd81.k12.wa.us: Name server timeout
dougf@sd81.k12.wa.us... Transient parse error -- message queued for future deliv
ery
using "mail dougf@sd81.k12.wa.us" and the results from mail.log:
Jun 16 13:19:25 sd81hp9k sendmail[23247]: NAA23247: to=dougf@sd81.k12.wa.us, delay=00:00:00, mailer=relay, stat=queued
my sendmail.cf looks like this:
Dj$w.sd81.k12.wa.us
DSmail.sd81.k12.wa.us
where sd81.k12.wa.us is the fully qualified domain name, the hp is not running dns. I tried it with the dot (w.sd81) and without (wsd81). I even tried it with the IP instead of the short and long name.
sendmail.cw does not have the fqhn or fqdn (sd81hp9k.sd81.k12.wa.us) but instead has the local host name of sd81hp9k.
I tried adding this to etc/hosts per berlene's recommendations:
10.1.0.16 sd81hp9k.sd81.k12.wa.us sd81hp9k.
10.1.0.16 sd81hp9k.sd81.k12.wa.us sd81hp9k sd81hp9k.
as well as the standard IP FQDN
I stop and start the service, run newalias just for kicks, etc.
OK, what am I missing, this is so simple and stupid...one last plea for help before I log the dreaded hp tech support call (not that i dread calling them or that they don't help, i just hate calling on such a minor and probably obviously simple quick fix).
Thanks for everyone who has responded. It is nice to have all of your assistance.
pre P.S. hope everyone had a good friday and a better weekend.
Doug
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-16-2000 01:07 PM
06-16-2000 01:07 PM
Re: One more Sendmail newbie problem...
sendmail -bs will tell you the version of the binary and the configuration version you are running. They should be the same.
Berlene
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2000 06:16 AM
06-19-2000 06:16 AM
Re: One more Sendmail newbie problem...
Check out the solution I found in sendmail/proxy.
--Scott
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2000 01:49 PM
06-19-2000 01:49 PM
Re: One more Sendmail newbie problem...
You should be able to leave your Smart relay (DS) setting null if mail.sd81.k12.wa.us is configured with an MX record on your DNS. If this is not the case, set the option TryNullMXList in your sendmail.cf file. Also, make sure your sendmail.cw is configured to recognize the possible names your host might be known as (i.e. hostname, hostname.sd81, hostname.sd81.k12.wa.us, etc.). The comments in sendmail.cw provide a good description of what to do.
I hope this helps.