Sending msg From Unix Server to an E-mail Address


 
Thread Tools Search this Thread
Operating Systems HP-UX Sending msg From Unix Server to an E-mail Address
# 1  
Old 08-30-2006
Question Sending msg From Unix Server to an E-mail Address

Dear Brothers in Unix

I would like to change some HP-UX settings in order that the system send a message to root it should be copied to my e-mail address in Microsoft Exchange Server.

Please can you help me.

Best Regards and thanks in advance
Gege
# 2  
Old 11-15-2006
setup root to have a mail alias or create $HOME/.forward file ... check here for help/hints ...

good luck!
# 3  
Old 12-04-2006
Ask the MS administrator to accept emails from your machine [ relay domains is the term in sendmail , I don;t know the MS term ].

One done , vi /etc/sendmail.cf on the HPUX machine and Amend the "DS" macro to point to the hostname / ip address of the exchange server.

Once done, you can send emails. Follow then above given procedure to setup a .forward.

Regards,

Kaps
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Issues sending emails using PostFix Mail Server

I'm unable to send email from my Linux server despite SMTP port 25 Active and Listening. # hostname TechX I checked the mail log ( /var/log/maillog ) and found the below error. I'm sharing all the ".cf" files seen in the error log. 1. # more /etc/postfix/main.cf # postfix... (0 Replies)
Discussion started by: mohtashims
0 Replies

2. Shell Programming and Scripting

php code - Sending mail with external SMTP server

Here is the code: <?php //new function function loadini($path) { $fp = fopen($path, "r"); $fpcontents = fread($fp, filesize($path)); fclose($fp); return $fpcontents; } $to = "test@test.com"; $nameto = "notme"; $from = "test"; $namefrom = "Who From"; ... (0 Replies)
Discussion started by: galford
0 Replies

3. HP-UX

[Solved] How do I configure Unix Mail Server to use another Mail Exchange Server

We have configured our mail unix server and can send out emails automatically from applications running on unix to different people in our company as well as outside our company. However there is an outside client who is not receiving these emails because the settings on their mail server cannot... (4 Replies)
Discussion started by: Tenyhwa
4 Replies

4. Shell Programming and Scripting

mailx -s not sending the file to mail address

Hi All, OS:Red Hat Linux 4 86x64 Below is my shell script which is not sending mail to the mail recipient: #!/bin/bash export MAILLIST="xyz@yahoo.com" cd <path_to_the_script_perf_report.sql> sqlplus / as sysdba @perf_report.sql if then cat <path_to_the_script/*MONTHLY*REPORT*.lst... (6 Replies)
Discussion started by: a1_win
6 Replies

5. Linux

help sending mail on linux server

Hi, I coded a bash script.I m trying to use this command in the script mail -s "test" user@abc.com I tried this command on prompt.however it hangs.I check /var/log/maillog/ stat=Deferred: Connection timed out with mail.rdmedia.com. sendmail: n0M8lscO014303: localhost did not issue... (2 Replies)
Discussion started by: sunsail
2 Replies

6. Programming

Sending mail in C/C++ in unix server

Hi Frnds, I have a task in my project wherein i have to send out a mail from my C++ code.With some file attachements.Please help me in this. At a higher level wat i can tell is my code generated 3 csv file and i have to send these files as attachement. My code is executed in unix... (6 Replies)
Discussion started by: electroon
6 Replies

7. UNIX for Advanced & Expert Users

sending email via mail server

hi everyone i am facing one problem. there is one unix server in our organisation which stores daily routine backup, and one mail server which is on windows 2k3, they are on one intranet. now i want that a mail should be generated and sent to the e-mail id of employees like nitin@hotmail.com... (1 Reply)
Discussion started by: parmeet
1 Replies

8. UNIX for Dummies Questions & Answers

block certain domain from sending mail to server

hi currently i have a server that is able to send out and receive mail. is there a way to configure the server such that mails can be sent to a certain domail like abc@yahoo.com but block mails from this domain abc@yahoo.com. the server is running on solaris 10. thanks in advance :) (2 Replies)
Discussion started by: legato
2 Replies

9. Shell Programming and Scripting

Sending an Ip/web address from Unix

I would like to be able to send a link address from a unix script. So for example I have web address "www.xyzrunreport.com" that I want to execute, for lack of a better word, from a unix script. When this web address is hit, it starts some automated report processing. In the unix script I dont need... (4 Replies)
Discussion started by: marksy99
4 Replies

10. HP-UX

Sending Error msg from HP-UX to E-mail address

Sometimes, for any reason, the UX System sends messages to /var/mail/root and/or to Error Log of the guardian. I'll appreciating if you help me to configure so that those messages are also sent to the System Administrator's e-mail address. Regards Gege (1 Reply)
Discussion started by: cgege
1 Replies
Login or Register to Ask a Question