- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Regarding sendmail error
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
тАО02-16-2010 07:15 AM
тАО02-16-2010 07:15 AM
Whenever I am trying to start sendmail by executing below command on my Client server (HP-UX11.31) then its giving following error. Please suggest
# /sbin/init.d/sendmail start
Sendmail server is disabled, You cannot start it manually using
sendmail script.
# more /etc/rc.config.d/mailservs
#########################################
# Mail configuration. See sendmail(1m) #
# @(#) mailservs version 8.11
#########################################
#
# BSD's popular message handling system
#
# SENDMAIL_SERVER: Set to 1 if this is a mail server and should
# run the sendmail deamon.
# SENDMAIL_SERVER_NAME: If this is not a mail server, but a client being
# served by another system, then set this variable
# to the name of the mail server system name so that
# site hiding can be performed.
# SENDMAIL_RECVONLY: If set to 1, then sendmail perform "receive only"
# function. In other words, users are not allowed
# to send mail from this domain or process the mail
# queue.
# SENDMAIL_SENDONLY: If set to 1, then sendmail perform "send only"
# function. In other words, users are not allowed
# to receive mails in this domain.
#
#
# The priority(from high to low) set for the above mentioned flags
# are in the order SENDMAIL_SERVER, SENDMAIL_SERVER_NAME,
# SENDMAIL_RECVONLY, SENDMAIL_SENDONLY.
#
SENDMAIL_SERVER=0
export SENDMAIL_SERVER_NAME=
export SENDMAIL_RECVONLY=0
export SENDMAIL_SENDONLY=0
Thanks & regards,
Kavita
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-16-2010 07:54 AM
тАО02-16-2010 07:54 AM
Re: Regarding sendmail error
In your /etc/rc.config.d file the "SENDMAIL_SERVER" is set to '0'. To start sendmail you need to set this to '1', just as it says in the file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-16-2010 07:56 AM
тАО02-16-2010 07:56 AM
Re: Regarding sendmail error
You don't need 'sendmail' running as a daemon in order to send mail from your server.
Does that answer your question?
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-16-2010 08:15 AM
тАО02-16-2010 08:15 AM
Re: Regarding sendmail error
@James: Yes, I know sendmail is not necessary to run to send mails but why I have all the emails sent from this server are in deferred state.
Thanks & regards,
Kavita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-16-2010 08:38 AM
тАО02-16-2010 08:38 AM
SolutionNo, but that's not what was asked. :)
>>"...but why I have all the emails sent from this server are in deferred state."
Have a look at /var/adm/syslog/mail.log and see what errors are being reported when trying to send mail.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-16-2010 08:41 AM
тАО02-16-2010 08:41 AM
Re: Regarding sendmail error
To get mail off the server try a cron job that does this:
sendmail -q
That runs the queue runner, which if all other things are correctly configured, such as DS (smart relay) will get mail off your server.
When a program tries to send an email, it will queue, but it should process out with your cron job.
As noted. No reason at all to run the sendmail deamon if mail is outgoing only.
export SENDMAIL_SENDONLY=0
That does however indicate that there is a send only mode to sendmail as reconfigured by HP. It might save you some hassle.
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
тАО02-16-2010 09:01 AM
тАО02-16-2010 09:01 AM
Re: Regarding sendmail error
#-> telnet 10.35.55.204 25
Trying...
Connected to 10.35.55.204.
Escape character is '^]'.
Connection closed by foreign host.
[root@prdbea01:
# more /var/adm/syslog/mail.log |grep -i error
Feb 14 06:32:56 prdbea01 sendmail[7766]: o1EBWa7f007766: to=ncsunixia@NCSUS.JNJ.com, delay=00:00:20, mailer=relay, pri=0, relay=smtp.na.jnj.com:nc...aexmea2.na.jnj.com, dsn=4.4.3, stat=Transient parse error -- message queued for future delivery
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-16-2010 09:06 AM
тАО02-16-2010 09:06 AM
Re: Regarding sendmail error
The server accepting the relay must be running some kind of daemon to accept mail.
Microsoft Exchange and sendmail both require explicit configuration, usually by IP address of the server being permitted to relay and a restart of the daemons that accept mail.
Also see that firewalls on HP-UX and the mail server permit the traffic on port 25.
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
тАО02-17-2010 03:31 AM
тАО02-17-2010 03:31 AM
Re: Regarding sendmail error
>The server accepting the relay must be running some kind of daemon to accept mail.
I believe I have found the same mistake on another post too.
It is not enough to run sendmail -q on regular bases, because there will be no queued messages to deal with.
Horia.
Horia.