- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Sendmail server is disabled, how to enable it?
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-18-2006 07:21 PM
06-18-2006 07:21 PM
but i am getting this error:
# swlist -l product | grep -i sendmail
PHNE_31734 1.0 sendmail(1m) 8.11.1 patch
# /sbin/init.d/sendmail stop
No sendmail server running
# /sbin/init.d/sendmail start
Sendmail server is disabled, You cannot start it manually using
sendmail script.
how to enable it?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2006 07:41 PM
06-18-2006 07:41 PM
Re: Sendmail server is disabled, how to enable it?
Follow bwlow steps:
#vi /etc/rc.config.d/mailservs
Change below parameter
SENDMAIL_SERVER=1
#/sbin/init.d/sendmail start
Let me know if this works.
-Amit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2006 07:44 PM
06-18-2006 07:44 PM
Re: Sendmail server is disabled, how to enable it?
export SENDMAIL_SERVER_NAME=
export SENDMAIL_RECVONLY=0
export SENDMAIL_SENDONLY=0
this parameter is one
please suggest
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2006 07:45 PM
06-18-2006 07:45 PM
Re: Sendmail server is disabled, how to enable it?
Sendmail daemon is only needed for accepting mails, not sending them. Its a good idea to leave it off.
/etc/rc.config.d/sendmail
# first variable set to 1.
Also a good idea, due to recent sendmail vulnerabilities to install HP's 8.13 sendmail release.
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-18-2006 08:04 PM
06-18-2006 08:04 PM
Re: Sendmail server is disabled, how to enable it?
# first variable set to 1.
this is already one,
still i am getting:
# /sbin/init.d/sendmail stop
No sendmail server running
# /sbin/init.d/sendmail start
Sendmail server is disabled, You cannot start it manually using
sendmail script.
please suggest
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2006 09:26 PM
06-18-2006 09:26 PM
Re: Sendmail server is disabled, how to enable it?
the error you received should be if the SENDMAIL_SERVER variable is not 1.
Try
. /etc/rc.config
echo $SENDMAIL_SERVER
What is the SENDMAIL_SERVER variable value?
Enrico
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2006 09:41 PM
06-18-2006 09:41 PM
Re: Sendmail server is disabled, how to enable it?
export SENDMAIL_SERVER=1
export SENDMAIL_SERVER_NAME=
export SENDMAIL_RECVONLY=0
export SENDMAIL_SENDONLY=0
#cd /etc/rc.config.d
# echo $SENDMAIL_SERVER
sh: SENDMAIL_SERVER: Parameter not set.
please suggest
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2006 09:58 PM
06-18-2006 09:58 PM
Re: Sendmail server is disabled, how to enable it?
try to run
. /etc/rc.config
to read the variables, and after
echo $SENDMAIL_SERVER
Enrico
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2006 10:08 PM
06-18-2006 10:08 PM
Re: Sendmail server is disabled, how to enable it?
sh: ./etc/rc.config: not found.
# echo $SENDMAIL_SERVER
sh: SENDMAIL_SERVER: Parameter not set.
#
what to do now, please suggest
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2006 10:22 PM
06-18-2006 10:22 PM
Re: Sendmail server is disabled, how to enable it?
. /etc/rc.config
This sintax is for load the variable of the /etc/rc.config.d/ direcory's file (Example for reload the .profile settings you need to use the sintax ". /user_home_dir/.profile")
Enrico
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2006 10:31 PM
06-18-2006 10:31 PM
Re: Sendmail server is disabled, how to enable it?
# . /etc/rc.config
# echo $SENDMAIL_SERVER
sh: SENDMAIL_SERVER: Parameter not set.
while on another server, i am getting:
# . /etc/rc.config
# echo $SENDMAIL_SERVER
1
#
but my entries are in this file is : #vi /etc/rc.config.d/mailservs
export SENDMAIL_SERVER=1
export SENDMAIL_SERVER_NAME=
export SENDMAIL_RECVONLY=0
export SENDMAIL_SENDONLY=0
please suggest
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2006 10:44 PM
06-18-2006 10:44 PM
Re: Sendmail server is disabled, how to enable it?
. /etc/rc.config.d/mailservs
echo $SENDMAIL_SERVER
Enrico
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2006 11:00 PM
06-18-2006 11:00 PM
Re: Sendmail server is disabled, how to enable it?
# . /etc/rc.config.d/mailservs
# echo $SENDMAIL_SERVER
1
#
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2006 12:33 AM
06-19-2006 12:33 AM
Re: Sendmail server is disabled, how to enable it?
Is the file permission correct?
-r--r--r-- 1 bin bin 1146 Jun 19 14:10 mailservs
Check for other setting or unsetting of the SENDMAIL_SERVER variable in the /etc/rc.config.d/ directory:
grep SENDMAIL_SERVER /etc/rc.config.d/*
Enrico
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2006 12:49 AM
06-19-2006 12:49 AM
Re: Sendmail server is disabled, how to enable it?
sh -x ". /etc/rc.config" 2> output_file
and check in the output file if this run the mailservs script correctly or set the variable.
Enrico
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2006 04:05 AM
06-19-2006 04:05 AM
Re: Sendmail server is disabled, how to enable it?
# ll rc.config
-r--r--r-- 1 bin bin 3768 Feb 7 14:43 rc.config
# cd /etc/rc.config.d/
# ll mailservs
-r--r--r-- 1 bin bin 1172 Jun 19 04:39 mailservs
# grep SENDMAIL_SERVER /etc/rc.config.d/*
/etc/rc.config.d/mailservs:# SENDMAIL_SERVER: Set to 1 if this is a mail server and should
/etc/rc.config.d/mailservs:# SENDMAIL_SERVER_NAME: If this is not a mail server, but a client being
/etc/rc.config.d/mailservs:# are in the order SENDMAIL_SERVER, SENDMAIL_SERVER_NAME,
/etc/rc.config.d/mailservs:#export SENDMAIL_SERVER=1
/etc/rc.config.d/mailservs:export SENDMAIL_SERVER=1
/etc/rc.config.d/mailservs:export SENDMAIL_SERVER_NAME=
#
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2006 04:10 AM
06-19-2006 04:10 AM
SolutionYou can send mail without the daemon.
If you are subject to security audits, one of the items they look at is sendmail. If the daemon is off and the server is not receiving mail, they audits folks are happy.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2006 05:55 PM
06-19-2006 05:55 PM
Re: Sendmail server is disabled, how to enable it?
i am able to send the mails,
thanks