- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- how to configure mail service on HP-UX (B.11.23)
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
11-10-2005 12:30 AM
11-10-2005 12:30 AM
Please let me know
how to configure mail service on HP-UX (B.11.23).
Please tell me step by step commands,
I am very much thankful to all of you
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2005 12:44 AM
11-10-2005 12:44 AM
Re: how to configure mail service on HP-UX (B.11.23)
http://docs.hp.com/en/5991-0707/ch02s01.html
Rejecting unsolicited mail:
http://docs.hp.com/en/5991-0707/ch02s08.html
Configuring and administering sendmail
http://docs.hp.com/en/5991-0707/ch02.html
Good Luck and good reading.
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
11-10-2005 01:18 AM
11-10-2005 01:18 AM
Re: how to configure mail service on HP-UX (B.11.23)
In a nutshell, at a minimum, you need to do four things:
1) Configure the sendmail.cf files for your fully qualified domain name. That's the Dj parm & you'll enter
Dj$w.company.com. The $w is an alias for hostname & you define your domain here
2) Define the smart relay to send outgoing mail to. That's the DS parm & you'll enter
DSmailhost.subnet.company.com
3) Edit the /etc/rc.config.d/mailservs file to enable auto-starting sendmail
export SENDMAIL_SERVER=1
4) Start sendmail
/sbin/init.d/sendmail start
That'll will get it going for sending & receiving mail.
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2005 06:35 AM
11-10-2005 06:35 AM
Re: how to configure mail service on HP-UX (B.11.23)
Can you please tell me the step by step commands to configure the sendmail(SMTP) server.
Even I am not able to find sendmail.cf and what does DS & Dj means? So please tell me the commands to do it.
Thanks
Vipin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2005 07:03 AM
11-10-2005 07:03 AM
Re: how to configure mail service on HP-UX (B.11.23)
nobody can spoonfeed you on sendmail. this is huge and definitely need some time for you to study something about sendmail.
Okay, here is the question:
1. Did you have sendmail installed on your system?
2. What do you mean by mail service? Do you want to send email to another hosts from HP system only?
3. Do you want to receive email if remote host sends email?
rgrds
Vijay Chinnasamy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2005 07:16 AM
11-10-2005 07:16 AM
Re: how to configure mail service on HP-UX (B.11.23)
1&2) vi /etc/mail/sendmail.cf
Then search for Dj - specifically the line starting with Dj then add the info following the Dj. Do the same for the line starting with DS
3) vi /etc/rc.config.d/mailservs
change
export SENDMAIL_SERVER=0
to
export SENDMAIL_SERVER=1
4) simply run
/sbin/init.d/sendmail start
And it should be noted that the mail relay server needs to allow sendmail connections from your server to accept it's mail.
And as stated there is more, MUCH more that can be done with sendmail. But the above will get you going.
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2005 07:17 AM
11-10-2005 07:17 AM
Re: how to configure mail service on HP-UX (B.11.23)
These are the answers of your questions:
1. I dont have sendmail installed on my server
2. I just need to configure sendmail to send mails from my server
3. No, I dont want to receive email if remote host sends email
Please try 2 help me
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2005 07:36 AM
11-10-2005 07:36 AM
Re: how to configure mail service on HP-UX (B.11.23)
But note that if the relay does not or cannot receive mail on the first attempt then the mail will sit in the queue - literally forever.
Unless the SA maually reattempts delivery OR you set up a cron job to periodically flush the queue.
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2005 08:13 AM
11-10-2005 08:13 AM
Re: how to configure mail service on HP-UX (B.11.23)
Before you follow Jeff's steps, you need to install sendmail depots in your HP systems.
Search "install depot" in ITRC, you will find plenty of answers.
rgds
Vijay Chinnasamy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2005 08:26 AM
11-10-2005 08:26 AM
Re: how to configure mail service on HP-UX (B.11.23)
test the mail with mailx -v your_email_address. If you receive relay denied by the relay server then you will have to add the IP address of this server to the relay host. This depend on the security in place on your mail server.
Let me know if you receive the relay denied and I can help you further.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2005 09:10 AM
11-10-2005 09:10 AM
Re: how to configure mail service on HP-UX (B.11.23)
Windows Exchange and other mail servers require explicit authorization for relay. If this is not properly granted the mailq command will show the mail start to pile up.
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
11-11-2005 05:18 AM
11-11-2005 05:18 AM
Re: how to configure mail service on HP-UX (B.11.23)
1.Download the software depot to any directory. For example: /tmp.
2. #swinstall -s /tmp/Sendmail-811_11.00.depot
3. #vi /etc/mail/sendmail.cf
then I will change in "#Dj$w.Foo.COM"
I will do it "Djserver_name.company_name.COM"
Then
I will change in "DS"
I will do it "DSserver_name.company_name.COM"
4. vi /etc/rc.config.d/mailservs
change
export SENDMAIL_SERVER=0
to
export SENDMAIL_SERVER=1
5. simply run
/sbin/init.d/sendmail start
6. mailx -v vipin@yahoo.com
then i will get a mail on my yahoo ID.
Please give me your feedbacks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-11-2005 06:12 AM
11-11-2005 06:12 AM
Re: how to configure mail service on HP-UX (B.11.23)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-11-2005 06:29 AM
11-11-2005 06:29 AM
Re: how to configure mail service on HP-UX (B.11.23)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-11-2005 06:37 AM
11-11-2005 06:37 AM
Re: how to configure mail service on HP-UX (B.11.23)
2.are all my these steps are correct?
3. If suppose, sendmail is already installed in my system,
I do all these my steps. Is there will be any problem ?
4. here is the output of
#swlist | grep sendmail
#
I couldnot find any output, i think , no sendmail is installed on my system
please update
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-11-2005 08:44 AM
11-11-2005 08:44 AM
Re: how to configure mail service on HP-UX (B.11.23)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-11-2005 09:03 AM
11-11-2005 09:03 AM
Solutionlet me know if you see the files listed there
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-11-2005 03:46 PM
11-11-2005 03:46 PM
Re: how to configure mail service on HP-UX (B.11.23)
Please update
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-11-2005 04:02 PM
11-11-2005 04:02 PM
Re: how to configure mail service on HP-UX (B.11.23)
1) Qmail 2) Postfix also, installing Webmin on your server will allow you to configure these server (including sendmail) via browser.
http://www.faqs.org/faqs/hp/hpux-faq/section-233.html
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-11-2005 04:14 PM
11-11-2005 04:14 PM
Re: how to configure mail service on HP-UX (B.11.23)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-11-2005 05:07 PM
11-11-2005 05:07 PM
Re: how to configure mail service on HP-UX (B.11.23)
sendmail already be there.
swlist would not really show it to you.
e.g. on my system, when i run swlist, this is what i get:
# swlist -l product|grep -i sendmail
PHNE_29774 1.0 sendmail(1m) 8.9.3 patch
man sendmail also show me the man page...
also,
# ll /sbin/init.d/sendmail
-r-xr-xr-x 1 bin bin 3688 Nov 14 2000 /sbin/init.d/sendmail
hope this helps!
kind regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-11-2005 07:59 PM
11-11-2005 07:59 PM
Re: how to configure mail service on HP-UX (B.11.23)
Sendmail is already present in your system. You can read this chpater for Installing and Administering sendmail http://docs.hp.com/en/B2355-90685/ch04.html
Also, make sure you have applied PHNE_29774 on your server. You can get it from,
http://www2.itrc.hp.com/service/patch/patchDetail.do?BC=patch.breadcrumb.main|patch.breadcrumb.search|&patchid=PHNE_29774&context=hpux:800:11:11
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2005 06:42 AM
11-17-2005 06:42 AM
Re: how to configure mail service on HP-UX (B.11.23)
i will see it and update you
vipin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2007 11:44 PM
08-29-2007 11:44 PM
Re: how to configure mail service on HP-UX (B.11.23)
Thanks a lot for your query. I also have similar requirement to configure the SMTP server on HP Unix.
All the necessary files are present and also
send mail is configured. But when i trying to send mail to yahoo mail i am not getting any mail. But command is executing successfully. Can you please suggest or forward it to some one who can help?
Thanks in Advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2007 11:54 PM
08-29-2007 11:54 PM
Re: how to configure mail service on HP-UX (B.11.23)
welcome. ettiqute requests you write your own question so you can assign points and direct the discussion.
Post a link to this thread in your question.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com