- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Sendmail confusion and am I patched
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
04-09-2003 09:25 AM
04-09-2003 09:25 AM
Amoung all the recient flury about the problem with sendmail I upgraded from 8.9.3.1 (PHNE_2419+JAGae58098) to 8.11.1 Revision 1.2 - 2003/03/03 on one of the systems. Yet in this link
http://forums.itrc.hp.com/cm/QuestionAnswer/0,,0x82599c196a4bd71190080090279cd0f9,00.html
it appears that it may not be patched as it doesn't mat the output by Berlene. Does this mean that I'm missing something still?
In other sections of the same link Patrick Wallek talks about "turning sendmail off", and Jeff Schussele talks about "stopped accepting mail on servers that don't need to."
There is no reason that we want to "recive" email to our servers, but how/where do you set something so that it doesn't start at bootup. Testing this morning,I found out that I did not need sendmail to use mailx to send out email.
Questions:
1) Is the 8.11.1 patched on the one system, or do I need something.
2) How do you prevent sendmail from starting up at boot time.
3) If I let it startup at boot time it appears that I can set it to a "send only" situation. Is this correct?
Points awarded within 24 hours of posting.
Thanks.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2003 09:51 AM
04-09-2003 09:51 AM
SolutionIf you wish to stop 'sendmail' from running at bootup, edit '/etc/rc.config.d/mailservs' and set SENDMAIL_SERVER=0.
Remember that startup scripts are found in the '/sbin/init.d/' directory; the sequencer scripts for these in the '/sbin/rc?.d/' directories; *and* the configurtion variables which control them in '/etc/rc.config.d/'.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2003 10:38 AM
04-09-2003 10:38 AM
Re: Sendmail confusion and am I patched
set your /etc/rc.config.d/mailservs
like this:
# more mailservs
#########################################
# Mail configuration. See sendmail(1m) #
#########################################
#
# @(#)B.11.11_LR
#
# 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.
#
export SENDMAIL_SERVER=0
export SENDMAIL_SERVER_NAME=
this will prevent it from starting at boot.
To stop it do the following as root:
cd /sbin/init.d
./sendmail stop
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2003 11:46 AM
04-09-2003 11:46 AM
Re: Sendmail confusion and am I patched
And, I wonder about doing that, because my root account received mail all the time from legato, cron, etc.
So I don't think you want to limit sendmail to send only, because you want roo to receive mail.
Let me know if I'm wrong about this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2003 12:11 PM
04-09-2003 12:11 PM
Re: Sendmail confusion and am I patched
So, to summarize, stopping sendmail does not effect sending mail to local users on a machine, nor does it effect sending mail outside that machine. It just keeps that machine from RECEIVING mail from others.
There is no way I know of to run sendmail in a "send only" mode. What you CAN do is put a job in cron to run "sendmail -q" occasionally to clear out the sendmail queue (you can see this by running the command 'mailq'). This queue though should only have something in it if the machine or domain you are sending to is not available. Normally this queue should be empty.
I stand by my recommendation in the other thread. If you don't need to receive mail from outside sources (other machines, internet) on a machine, disable sendmail!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2003 02:33 PM
04-09-2003 02:33 PM
Re: Sendmail confusion and am I patched
In addition to what Patrick said you can still use a smart relay ( the DS option) without sendmail running to send email to a smart relay.
Richard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2003 10:45 AM
04-10-2003 10:45 AM
Re: Sendmail confusion and am I patched
and reference pages 15-16. This is where I came up with the "send only". Apparently new feature in version 8.11.1. Haven't had many answers on item 1 so guess I'll just have to give up on that.
Thanks to all those who replied.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2003 12:57 PM
04-10-2003 12:57 PM
Re: Sendmail confusion and am I patched
To check your sendmail do
what /usr/sbin/sendmail
it should say:
Copyright (c) 1998 HEWLETT PACKARD COMPANY and its licensors,
including Sendmail, Inc., and the Regents of the
University of California. All rights reserved.
version.c 8.11.1 (Berkeley) - Revision 1.3_binary - 03/04/2003
That includes the latest revision that was posted on the forum.
Richard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2003 04:45 AM
04-11-2003 04:45 AM
Re: Sendmail confusion and am I patched
version.c 8.11.1 (Berkeley) - Revision 1.2 - 2003/03/03
where do I obtain your version
version.c 8.11.1 (Berkeley) - Revision 1.3_binary - 03/04/2003
If I go to
http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProductInfo.pl?productNumber=SMAIL811
which is where I downloaded the last version from... missed the part about having to follow up with "PHCO_22076 or a superseding patch".
But it talks about a "Version 2 (B.11.00.01.002) released in March 2003".
Anyone's thoughts are appreciated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2003 05:11 AM
04-11-2003 05:11 AM
Re: Sendmail confusion and am I patched
You don't appear to be patched for the latest vulnerability -
see
http://www1.itrc.hp.com/service/cki/docDisplay.do?docId=HPSBUX0304-253
for patch retrieval.
>2) How do you prevent >sendmail from starting up at >boot time.
Earlier solutions in posts are correct.
>3) If I let it startup at >boot time it appears that I >can set it to a "send only" >situation. Is this correct?
Yes. "send only" is
sendmail -qNm
where N is the periodicity of queue processing in minutes.
To set at startup, edit /sbin/init.d/sendmail
or
you can run the command from the command line.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2003 05:12 AM
04-11-2003 05:12 AM
Re: Sendmail confusion and am I patched
As reported in the security bulletin, ff a fix has been installed the following command will list a 'version.c" line:
what /usr/sbin/sendmail | grep JAGae58098
For example,
what /usr/sbin/sendmail | grep JAGae58098
version.c 8.9.3.1 (Berkeley) 4/10/2002
PHNE_26305+JAGae58098).
Berlene
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2003 05:13 AM
04-11-2003 05:13 AM
Re: Sendmail confusion and am I patched
As to the send or receive only, that is available with 8.11.1. You would generate a sendmail.cf.gen with either option 23 (send only - This option will generate a sendmail.cf file without check_compat ruleset.
This will allow only sending of mails and will not receive any mails.) or 24 (Receive_only: This option will generate a sendmail.cf file with check_compat ruleset. This will allow only reception of mails and not sending mails or even
queue processing.) However, you need to copy over another version of the /etc/rc.config/mailservs file from /usr/contrib/sendmail/usr/newconfig/etc/rc.config.d
and make appropriate changes.
export SENDMAIL_SERVER=1
export SENDMAIL_SERVER_NAME=
export SENDMAIL_RECVONLY=0
export SENDMAIL_SENDONLY=0
Berlene
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-23-2003 10:45 AM
06-23-2003 10:45 AM
Re: Sendmail confusion and am I patched
Use ftp site hprc.external.hp.com
user: sendmail
pw: sendmail