- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: howto modify sendmail.cf
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
08-24-2005 08:29 AM
08-24-2005 08:29 AM
We run sendmail on an HP-UX 11i server. I see /etc/mail/sendmail.cf but can't locate the m4 files used to generate it.
I may not need the m4 files. All I am really after is I want to prevent sendmail (running as a daemon) from trying to connect to the auth facility when hosts connect to deliver mail.
I've found this is possible if you add:
define(`confTO_IDENT', `0')dnl
To the sendmail.m4 file and regenerate the configuration.
Is there a simply way to accomplish the desired change by adding a line or changing a line in /etc/mail/sendmail.cf?
Thank you!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2005 08:32 AM
08-24-2005 08:32 AM
Re: howto modify sendmail.cf
then you will need to restart sendmail by running
/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start
for your changes to take effect
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2005 08:53 AM
08-24-2005 08:53 AM
Re: howto modify sendmail.cf
Do you know what the equivalent sendmail.cf entry for this is?
define(`confTO_IDENT', `0')dnl
I don't think I can just paste that into the sendmail.cf file. Please correct me if I am wrong.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2005 09:04 AM
08-24-2005 09:04 AM
SolutionIf I understand what you are trying to do, you can just edit /etc/mail/sendmail.cf and change (and possibly uncomment)
#O Timeout.ident=30s
to
O Timeout.ident=0s
and then stop and restart sendmail.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2005 05:51 AM
08-25-2005 05:51 AM
Re: howto modify sendmail.cf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2005 06:16 AM
08-25-2005 06:16 AM
Re: howto modify sendmail.cf
I have a little m4 macro script here:
http://www.hpux.ws/buildmail.hpux.text
It is adopted to deal with the hpux way of implementing sendmail.
It allows me to change the m4 script instead of the .cf file, making my changes permanent and easier to manage.
To stop the sendmail daemon from running change the entry in /etc/rc.config.d/mailsvrs, the first variable to 0 (zero)
This will not prevent the sendmail binaries from sending mails, but it will make it difficult to get mail onto the server without shell/ssh access to the server.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com