- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to start the sendmail in boot in hpux
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
Discussions
Discussions
Forums
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
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-02-2009 09:10 AM
тАО06-02-2009 09:10 AM
I want to start the sendmail in boot time in hpux.
what is the configuration file to do this?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-02-2009 09:17 AM
тАО06-02-2009 09:17 AM
Re: How to start the sendmail in boot in hpux
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-02-2009 09:22 AM
тАО06-02-2009 09:22 AM
Re: How to start the sendmail in boot in hpux
Like all 'rc' script in HP-UX you need to look in the '/etc/rc.config.d' directory for configuration variables and then in '/sbin/init.d' for the actual startup and shutdown script.
In the case of 'sendmail' the '/etc/rc.config.d/mailservs' contains the configuration settings and '/sbin/init.d/sendmail' is the actual startup/shutdown script.
Hint:
# ls /etc/rc.config.d/* /sbin/init.d/*|grep mail
...will tell you this :-)
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-02-2009 09:28 AM
тАО06-02-2009 09:28 AM
Re: How to start the sendmail in boot in hpux
# grep sendmail /etc/rc.config.d/*
/etc/rc.config.d/mailservs:# Mail configuration. See sendmail(1m) #
/etc/rc.config.d/mailservs:# run the sendmail deamon.
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-02-2009 09:37 AM
тАО06-02-2009 09:37 AM
Re: How to start the sendmail in boot in hpux
Set the start variable (name is obvious) in /etc/rc.config.d/mailservs to 1
/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
тАО06-02-2009 10:15 AM
тАО06-02-2009 10:15 AM
Re: How to start the sendmail in boot in hpux
below statement is correct?
#vi /etc/rc.config.d/mailsvrs
export SENDMAIL_SERVER=1
is it enough to start the sendmail at boot time.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-02-2009 10:45 AM
тАО06-02-2009 10:45 AM
Solution> export SENDMAIL_SERVER=1
is it enough to start the sendmail at boot time.
To start 'sendmail' as a daemon, yes. You do _NOT_ need to set this to send outbound mail, though. Read the comments in '/sbin/init.d/sendmail' for more information.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-02-2009 11:17 AM
тАО06-02-2009 11:17 AM
Re: How to start the sendmail in boot in hpux
when we are setting this. to which runlevel it will goes to effect that is runlevel 2 or runlevel 3.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-02-2009 11:20 AM
тАО06-02-2009 11:20 AM
Re: How to start the sendmail in boot in hpux
dont we need to run sendmail for just sending the mails to another mailserver in our network.
Actually we have to run sendmail server in redhat linux even if we want to send the mails to another mail server.
pls clarify me.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-02-2009 11:25 AM
тАО06-02-2009 11:25 AM
Re: How to start the sendmail in boot in hpux
whatever rcX.d is showing up in the path is what you are looking for. The run level is the X value, in which sendmail will be started.
UNIX because I majored in cryptology...