You didn't provide any further documentation of your script (or whatever it is you execute from cron), so can give you only a sketch of a solution. It implies that the (fictitous) program "do_file_transfer" returns 0 (success) or 1 (failure) and there is a (fictitous) program "mail_to_customer", which handles the mail:
When I try to use the CLI mail, I get the following error. What's wrong?
Welcome to Darwin!
% mail root
Subject: test
test
.
EOT
% /etc/mail/sendmail.cf: line 81: fileclass: cannot open /etc/mail/local-host-names: Group writable directory
Do I just need to change the... (1 Reply)
Dear All,
Now I use solaris 10 and I try to forward mail from /var/mail/username to their external mail so what should I do?
thank u in advance (2 Replies)
Hi Friends,
I tried to mail from my sun solaris 5.8 by:
$mailx -v sridha_151086@yahoo.co.in
Subject: Test mail
This is the test mail!!
.
EOT
The error message I got is:
land% Sri... forward: /export/home/Sri/.forward.+: World writable directory
Sri... forward:... (1 Reply)
Hi ,
I tried to mail from my sun solaris 5.8 by:
$mailx -v sridha_151086@yahoo.co.in
Subject: Test mail
This is the test mail!!
.
EOT
The error message I got is:
land% Sri... forward: /export/home/Sri/.forward.+: World writable directory
Sri... forward:... (7 Replies)
I need to send invoke a script that sends out a mail, whenever a box fails (i.e., one or more of the jobs in the box fail). The key point is that this job should start on failure of box, but it should be able to find out the jobs in the box that have failed and pass them to the script.
Please... (1 Reply)
Hello All,
i have configured sendmail and trying to set a limit on mail
Ex: If i have send any mail to a email-if that doesn'e exists, i want that after trying for 3 days it should stops sending that mail to user and send a mail to the sender that " sending mail failed , any messaged... (1 Reply)
Hi
The below script working when we are sending the html as attachment can u please guide how to send thesmae data in table form direct in the mail and not in mail attachment .
cat Employee.sql
SET VERIFY OFF
SET PAGESIZE 200
SET MARKUP HTML ON SPOOL ON PREFORMAT OFF ENTMAP ON -
HEAD... (0 Replies)
i have sun machines having solaris 9 & 10 OS . Now i need to send mail from the machines to my outlook account . I have the ip adress of OUTLOOK mail server. Now what are the setting i need to do in solaris machines so that i can use mailx or sendmail.
actually i am trying to automate the high... (2 Replies)
dear all,
i have script rsync like this :
#!/bin/sh
RSYNC=/usr/bin/rsync
SSH=/usr/bin/ssh
RUSER=root
RHOST=123.123.123.1
INTRPATH=/home/jargo/log/internasional/
INTHPATH=/var/www/international/
IIXRPATH=/home/jargo/log/iix/
IIXHPATH=/var/www/iix/
TTLRPATH=/home/jargo/log/total/... (2 Replies)
I am having trouble getting mail to work on a red hat server. At first I was getting this message.
Diagnostic-Code: X-Postfix; delivery temporarily suspended: connect to :25: Connection refused
Then added the port to my firewall. Then I temporarily turned off selinux. I then copied this file... (1 Reply)