10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I am currently try to write a simple script with the following condition, but so far not having luck as the exit code would always be 0.
Run remote command to read a file and grep for test word.
if test word is in the file, send email.
if not, do nothing
also possible to ssh to multiple... (3 Replies)
Discussion started by: jaapar
3 Replies
2. UNIX for Dummies Questions & Answers
On both Solaris 10 and RHEL, we would like to configure sendmail in such a way that the email sent from the server should only go to a particular domain. For eg. We want our server to ONLY send the mail to <user_name>@abc.com. All other domains should be blocked/restricted. The server should not... (0 Replies)
Discussion started by: sk2code
0 Replies
3. Red Hat
Assuming i have /usr/local/psa/var/log/mail.log on client server.
What are the configuration on rsyslog (server) and rsyslog (client)?
on rsyslog (server) i would also want it to be put on a separate log file for example: /var/log/client-server-hostname01/mail.log ,... (2 Replies)
Discussion started by: timmywong
2 Replies
4. Red Hat
HI Gurus,
I have a RHEL (5.5) VM. I am able to send email to a particular domain abc.com but when I am trying to send a different domain(xyz.com) it is not working can you please throw some light on how to start debugging this issue.
Thanks in advance.
RK (0 Replies)
Discussion started by: rama krishna
0 Replies
5. AIX
Hi,
I need to send alert mail from AIX to mail server.
My mail server IP is 192.168.0.10
so I've add /etc/hosts as below
192.168.0.10 mydomain1.com
the I try to send mail to myname@mydomain1.com it's OK
Then I need to send mail to myname@mydomain2.com too.
so I've... (1 Reply)
Discussion started by: oakmojo
1 Replies
6. UNIX for Dummies Questions & Answers
Hello,
I'm having a problem with my mail. When I send mail, it takes a long time for the send to complete.
In the below, datestamp is just a simple script to put in a no-white-space date/time stamp.
$ datestamp ; mail woodnt; datestamp
02-05-10@193844
Subject: test
timer
Cc: ... (0 Replies)
Discussion started by: Narnie
0 Replies
7. Shell Programming and Scripting
Suppose i have a txt file that is the list of the addresses,something like:
lala0045 john james
lala0234 george james
and i want to send an email to lala0045@blabla.com and lala0234@blabla.com,the same domain...what is the exact syntax i should use in my script?
there is a command... (10 Replies)
Discussion started by: bashuser2
10 Replies
8. UNIX for Dummies Questions & Answers
Hi all,
I am a newbie to unix.
I need to send an email with an attachment in unix to some id like abc@some_company.com
Code i have used is
------------Code---------------------------
#!/bin/ksh
set -x
#set -n
#cript: unix_mail_withattachments.ksh
# Aurthor: Ravin Maharaj
#... (1 Reply)
Discussion started by: samuelc
1 Replies
9. UNIX for Dummies Questions & Answers
We have 2 UNIX machines,
1.HP-UX 11i where oracle database running on it.
2.AIX 5 with Ultrium LTO3 tape drive connected.
My query is, i want to send oracle database archive files from HP machine to the tape drive which connected on AIX machine, everyday.
These files should be appended.
I... (3 Replies)
Discussion started by: yashdbad
3 Replies
10. UNIX for Dummies Questions & Answers
I am analyzing snoop output and want to send "Hello world" to a remote system. I want to see if the message received is encrypted or not.
can I use ping to send a text message?
like ping "helloworld" <IP Addr>
Please help.
Thank you (5 Replies)
Discussion started by: rakeshou
5 Replies