- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Configuring Sendmail for a domain
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
07-18-2001 05:03 AM
07-18-2001 05:03 AM
Configuring Sendmail for a domain
I'm trying to configure sendmail on my HP server to send mail to my Internet email address i.e. user@domain.co.uk
I've tried the following command :
elm -s "File logfile.log" user@domain.co.uk < logfile.log
This does not work.
If I try
elm -s "File logfile.log" username < logfile.log
it works OK but sends it to my UNIX mailbox.
Basically I've got some automated scripts which run each day and I'd like to be emailed at my corporate email address when they finish
running.
Can anyone help ?
Many thanks in advance, peeps :-)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2001 05:14 AM
07-18-2001 05:14 AM
Re: Configuring Sendmail for a domain
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2001 10:47 PM
07-18-2001 10:47 PM
Re: Configuring Sendmail for a domain
2.you can use :
%sendmail -v user@domain.com
for send a test mail
3.To check whether the mail has been sent out,run the command on the mail server
mailq .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2001 10:48 AM
07-19-2001 10:48 AM
Re: Configuring Sendmail for a domain
This will work.
filename is a file that you will be emailed
what ever is in that file will be in the email you get.
just add this line to the end of your script:
cat filename |mailx -s "subject line will read" youremail@atyourdomain.com
to send the same file to your unix user name:
cat file1 |mailx -s "subject" user@localhost
if you want every email that you get in your unix box to go to your email set up a
.forward file in your home dir.
and all it has to have is the email you want all your emails forwarded. one line per email address..
Richard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2001 10:50 AM
07-19-2001 10:50 AM
Re: Configuring Sendmail for a domain
to send the same file to your unix user name:
cat file1 |mailx -s "subject" user@localhost
file1 should be filename if you want to send the same file .. as the first example.
Richard