- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- sendmail macro
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
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-26-2003 12:52 PM
08-26-2003 12:52 PM
m4. I have located the directories for m4 but
not sure what to do with it. I have browsed the O'Reilly book "Sendmail", but at this point
I need the "Cliff Note" version to get going on
this.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2003 12:57 PM
08-26-2003 12:57 PM
SolutionIf you just want all mail coming out of this host to relay thru that SMTP server, then all you need do is define a SmartHost with the DS macro
Simply add
DSsmtphost.company.com
to the /etc/mail/sendmail.cf file & bounce sendmail
/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start
And that should cover it.
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2003 12:57 PM
08-26-2003 12:57 PM
Re: sendmail macro
DSemail.acme.com
That will send all non-local email to email.acme.com for further handling.
You then cd to /sbin/init.d and
./sendmail stop
./sendmail start
and you should be done assuming you can resolve the hostname of your smart reley.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2003 05:31 AM
08-28-2003 05:31 AM
Re: sendmail macro
So, to get your DS setting via M4, put SMART_HOST in your .mc file:
define(`SMART_HOST', `host.domain.')
A brief intro and sample of a .mc file is at:
http://www.sendmail.org/m4/intro.html
The main config page is:
http://www.sendmail.org/m4/readme.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2003 05:56 AM
08-28-2003 05:56 AM
Re: sendmail macro
1) run gen_cf. I think its a HP add on to sendmail, but it seems to work on my sandbox.
2) The script I'm attaching, which will probably require tweaking.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com