- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Send Mail
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
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
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
тАО05-17-2007 05:13 PM
тАО05-17-2007 05:13 PM
Anybody can give me the details of configuring SENDMAIL in HPUX.
Regs,
Vinu
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-17-2007 05:49 PM
тАО05-17-2007 05:49 PM
Re: Send Mail
What are you trying to do with sendmail? You are going to have to be more specific as sendmail is very customisable.
Whole (very thick) books have been written about configuring sendmail so we would be able to answer some specific questions if we had some more detail.
Regards
Andrew Y
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-17-2007 06:38 PM
тАО05-17-2007 06:38 PM
Re: Send Mail
I want send mail to send e-mails to some purticular mail id's or mobile numbers(as sms), whenever any error is coming in syslog.conf, or any file system become 100% .
regs,
Vinu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-17-2007 06:43 PM
тАО05-17-2007 06:43 PM
Re: Send Mail
Sendmail will in itself not do this for you, unless you really want it to get fancy.
Do you have a regular email server that sends your email, you may want to send your email through that server. It is possible to configure sendmail relay email from the HP-UX server to that server. This is the recommended route. If this is the case I can assist you with this.
Regards
AY
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-17-2007 06:57 PM
тАО05-17-2007 06:57 PM
Re: Send Mail
What you replied is that is correct for me.
please give me that configuration steps.
Vinu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-17-2007 07:53 PM
тАО05-17-2007 07:53 PM
SolutionAssuming your sendmail is not configured:
Make a copy of /etc/mail/sendmail.cf
Run the following script:
/usr/newconfig/etc/mail/cf/cf/gen_cf
with at least the 9 and 10 options.
Copy the sendmail.cf.gen file to /etc/mail as sendmail.cf
Change the following settings to the sendmail.cf file...
DM
becomes
DMyourmaildomain.com
DS
becomes
DSmailserver.yourdomain.com
The DM macro is for masquerading and will send all outgoing mail as being from that domain and not the servers Fully Qualifeid Domain Name (FQDN) and will make sure there are not problems if mail gets returned or if the recipient checks for a valid sender domain.
Make sure that the user you are sending this email from has a valid return address configured on your mail server.
The DS macro tells sendmail to relay outgoing email through your mail server instead of trying to deliver it itself.
Restart Sendmail.
Use mail or mailx to send a test message.
Note that this is a very basic configuration.
HTH
Andrew Y
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-17-2007 09:13 PM
тАО05-17-2007 09:13 PM
Re: Send Mail
Assuming you are in a corporate environment, the DS configuration above is the way to go.
You will have to write a script to check your filesystems, though I may have one for you sitting at work.
The SMS part is trickier. If the SMS accepts mail to an email address it will work, otherwise you'll need to interface with a GSM system or other SMS type server to get your messages out and will not be using Sendmail for that.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com