- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Sendmail Configuration
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
03-10-2008 04:43 AM
03-10-2008 04:43 AM
Sendmail Configuration
I have been facing a /dead.letter error issue while sending a mail from server to my ID.
I have checked with the resolv.conf and hosts file and nsswitch.conf. if i was able to send mail to my ID then the DNS is not working properly.
But either way i was not able to send mail to my remote host ID.Below is the nsswitch.
conf setting
passwd: files
group: files
hosts: files
#hosts: files
#hosts: files [NOTFOUND=CONTINUE] nis [NOTFOUND=CONTINUE] dns
services: files
protocols: files
networks: files
rpc: files
netgroup: files
aliases: files
automount: files
is any changes need to be done.so that it doesn't affect the DNS as well as able to mail to local/remote mail ID's.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2008 05:00 AM
03-10-2008 05:00 AM
Re: Sendmail Configuration
mail server in which OS? Does it relay through MS exchange?
what do u mean by ID? is it domain user or OS user?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2008 05:09 AM
03-10-2008 05:09 AM
Re: Sendmail Configuration
yes it was really through the MS exchange server and os is HP-UX. Domain user ID is what i tried.
Thing is if i give
#/usr/lib/sendmail -v genu@abc.com
testmail
.
../....saving to ./dead.letter
I changed my nsswitch.conf to Comment hosts except "hosts files [NOTFOUND=Continue] DNS" entry.
then i was able to get mail to my ID but not to remote user ID.also the DNS was not working.
if i revert DNS is fine but i'm not able to sendmail as it automatically goes to dead.letter
Thanks
Ganzsp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2008 05:20 AM
03-10-2008 05:20 AM
Re: Sendmail Configuration
did you specify your "Smart" relay host in your sendmail.cf?
revert
kind regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2008 05:24 AM
03-10-2008 05:24 AM
Re: Sendmail Configuration
I have clearly made the entry in relay host entry of sendmail.cf.
then stop/start /init.d/senmail as well and updated the aliases.db by running newaliases.
Thanks
Ganzsp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2008 05:51 AM
03-10-2008 05:51 AM
Re: Sendmail Configuration
Post the output.
Also, from your nsswitch.conf you posted DNS is not being used. Only files, the rest are commented out.
Also FYI, you do not need to stop and restart sendmail for sendmail.cf client changes. Sendmail as a client starts up each time you send email. Sendmail as a server ( to receive ) is a different story.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2008 06:04 AM
03-10-2008 06:04 AM
Re: Sendmail Configuration
fixing this is actually pretty simple.
1) Set up the exchange server to permit relay by IP address or host name from the hpux system. That be windoze, talk to someone who likes playing with gui.
2) edit sendmail.cf
change
DS
to
DSexchangeserver
save the file
/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start
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
03-10-2008 06:57 PM
03-10-2008 06:57 PM
Re: Sendmail Configuration
Add an entry in /etc/resolv.conf file of your domain name and name server IP like
domain abc.com
nameserver x.x.x.x (primary)
nameserver x.x.x.x (secondary if any)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2008 09:02 PM
03-10-2008 09:02 PM
Re: Sendmail Configuration
Ashan,
The resolv.conf file is similar to what you have provided.
Tim,
Have attached the output of
# echo test|senmail -v someone@abc.com
Steve,
I checked it to be DSxxx.x.x.x in relay host entry.
Thanks
Ganesh S P
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2008 09:36 PM
03-10-2008 09:36 PM
Re: Sendmail Configuration
Seen this many times and that's where I'd start first.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2008 09:50 PM
03-10-2008 09:50 PM
Re: Sendmail Configuration
check with your exchange admin that he allows your HP-UX host for relay mail and also chek the domain user is not blocked
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2008 10:08 PM
03-10-2008 10:08 PM
Re: Sendmail Configuration
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2008 08:17 PM
03-11-2008 08:17 PM
Re: Sendmail Configuration
The email administrator is not blocking and i have made no changes in Dj$w macro in sendmail.cf file.
Is that we can set only mailing option to one domain only?!
Any other ideas to solve this issue??
looking forward
Thanks
Ganzsp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2008 08:20 PM
03-11-2008 08:20 PM
Re: Sendmail Configuration
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2008 08:27 PM
03-11-2008 08:27 PM
Re: Sendmail Configuration
I checked it as well below fyr
#nslookup xxx.x.xxx.xxx
Using /etc/hosts on: hostname
looking up FILES
Name: asd
Address: xxx.x.xxx.xxx
Aliases: x.x.x.com
-Ganzsp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2008 09:08 PM
03-11-2008 09:08 PM
Re: Sendmail Configuration
configure macro Dj$w. to Dj$w.
Example:
Dj$w.abc.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2008 09:03 PM
03-12-2008 09:03 PM
Re: Sendmail Configuration
I have created a file relay-domain and entered domain host names in that.
added the same in DS and then updated an entry of that in /etc/hosts file.
now i'm able mail to both domains as a root but not as a user.
Please guide on this
Thanks
Ganzsp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2008 09:14 PM
03-12-2008 09:14 PM
Re: Sendmail Configuration
I have attached the configi=uration of mail server to relay through the MS excahnge. In my scenario it has worked.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2008 09:23 PM
03-12-2008 09:23 PM
Re: Sendmail Configuration
configure macro Dj$w. to Dj$w.
so is that $W is for permitting users to sendmail?!
Thnx
Ganzsp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2008 09:27 PM
03-12-2008 09:27 PM
Re: Sendmail Configuration
it will relay the mail to domain user.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2008 12:25 AM
03-15-2008 12:25 AM
Re: Sendmail Configuration
If so assign points for supports and identifying problem is resolved.