- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: 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
01-02-2004 05:27 PM
01-02-2004 05:27 PM
sendmail configuration.
My objective is to send email from my HP-UX Box (10.20) to my mailbox in exchange server, residing on the same network.
first, when i treid to send the mail from my hp-ux box through mailx, it had been giving the error: "unable to qualify my own domain name (
after this error, based on some body's recomendation, i put two entries in /etc/hosts which are,
10.8.1.2 hps.mydomain.com hps hps exs
10.8.1.100 exs.mydomain.com exs
hps: is my HP UX Server and
exs: is my exchange server
now after these changes, when i try to send the mail through mailx, it is not giving any error, no mail return to problem in /var/adm/syslog/mail.log . but no mail in my exchage's mailbox.
i can see files in /var/spool/mqueue.
Please suggest me what to do????
thanks in advance,
Yasir.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2004 06:11 PM
01-02-2004 06:11 PM
Re: sendmail configuration.
Refer to the foll. link for configuring sendmail on your HP-UX 10.20 box.
http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B2355-90110/B2355-90110_top.html&con=/hpux/onlinedocs/B2355-90110/00/00/47-con.html&toc=/hpux/onlinedocs/B2355-90110/00/00/47-toc.html&searchterms=configuration%7csendmail&queryid=20040103-000709
Check out the chapter "Installing and Administering Sendmail".
HTH.
Regards,
Hemanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2004 07:12 AM
01-03-2004 07:12 AM
Re: sendmail configuration.
I'm sure you probably checked this, but try pinging the exchange server to make sure that the HP-UX server can see it through the host file.
-Hazem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2004 07:47 AM
01-03-2004 07:47 AM
Re: sendmail configuration.
"sendmail" does not use "/etc/hosts" actually, not even if you include it in your "/etc/nsswitch.conf". "sendmail" uses its own config file for that purpose in "/etc/mail/"...
Happy new year,
Wodisch
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2004 10:54 AM
01-03-2004 10:54 AM
Re: sendmail configuration.
sendmail -v -d8.99 -d38.99 someone@yourdomain.com
Type a little text
.
You will get diagnostics pointing to one or more of the following causes:
1) networking can not use files first(/etc/nsswitch.conf) see prior post
2) Not using the DS directive in sendmail.cf
3) The Exchange server is not configured to accept relay mail. This should be done by ip address. The 10.20 server must have a fixed ip address
4) Mail relay is being blocked locally in the /etc/mail/access file.
Post up the results of my diagnostic command for further assistance.
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
01-03-2004 04:16 PM
01-03-2004 04:16 PM
Re: sendmail configuration.
For Wodisch: in the /etc/mail/sendmail.cw I configured the aliases as suggested.
For SEP:
Okhay, I got the problem. here is some text from that diagnostic command:
getcanonname(mydomainname.com), trying dns
dns_getcanonname(mydomainname.com, trymx=1)
dns_getcanonname: trying mydomainname.com. (ANY)
NO: errno=239, h_errno=2
getcanonname(mydomainname.com), failed, stat=75
me@mydomainname.com... mydomainname.com: Name server timeout
me@mydomainname.com... Transient parse error -- message queued for future delivery
So, now what i must do to resolve this problem???
related to this, i've some more questions:
Is there a way to put MX record in hosts?
How to restart sendmail daemon?
thanks in advance and regards,
Yasir.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2004 05:42 PM
01-03-2004 05:42 PM
Re: sendmail configuration.
Thanks for everybody's help. the problem has been resolved.
I didn't has the DNS server defined for my box. i created the /etc/resolv.conf and put the domain and name servers. and then everythings has started working :) ...
thanks alot and regards,
Yasir.
PS: how can i restart sendmail ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2004 02:34 AM
01-05-2004 02:34 AM
Re: sendmail configuration.
/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start
You might also want to add the DS macro in your /etc/mail/sendmail.cf
# Relay all non-local mail to the "Smart" relay host (DS) via UUCP: #
# make two chnages to this file. First, set macro S (DS) to the name #
DSyourexchangeserver
You may also want to set the DM macro as well:
# who I masquerade as (null for no masquerading) (see also $=M)
DMyourdomain.com
Rgds...Geoff