I have been trying to resolve this issue refering to all your previous post..... but had a hard luck. Below is the code which is when run from command prompt sends the mail taking the mail related crediantials ( email id where to send the mail ) from a xml file whose path is mentioned in RUNTIME_OPTIONS as -Dconfig.file=$CONFIG_HOME/batch.xml.
Please see the code :
Now above script when run as ./startBatchPolicy.sh sends the mail refering to batch.xml file ( looks for email id to which mail has to be sent ) .
Now what I did is, instead of declaring the variables in the same script , I made a common script & invoked this common script in other script.
Following is the common script ( batch_settings.sh that contais all common variable settings ):
Below is the script that envokes the above script ie batch_settings.sh.
Now with this optimized code evrything is ok except that it is not sending mail as the uppermost code used to....... I am really confused....... Any help will be highly appreciated..........
Thanks
Pankaj
Last edited by vino; 08-09-2006 at 02:32 AM..
Reason: Always put your code within the code tags.
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)
Hello!
I have to servers with Solaris 2.7.
I mail from first to second ( mailx user@dev < letter ).
But mail not arrive to second. It return by daemon with explanation:
....
--- Transcript of session follows ---
550 5.1.2 user@dev... Host unknown (Name server: mailhost.serv.dom: host not... (2 Replies)
Discussion started by: Colf
2 Replies
3. Post Here to Contact Site Administrators and Moderators
I have been a member for almost a year now. I have always recieved email notifications when I select "subcribe to this thread" at the bottom of posts that I reply to.
However, over the last month or so, I have not been recieving email notification of replys to posts I respond to.
I have... (6 Replies)
Discussion started by: Kelam_Magnus
6 Replies
4. Forum Support Area for Unregistered Users & Account Problems
Hello,
I registered an account several hours ago, and never recieved the email
registration link in my email account. Read the instructions posted here, and
requested to resend registration link, and this one also has not shown up in
my email acccount.
yes, I've checked the bulk folder as... (1 Reply)
Hi all,
I just setup postfix on my server thats running Centos 5.x with webmin. Now I can send email out of the server but I cant receive email. Server side I can telnet into the 110 and 25 port but coming from the outside of the box I can only telnet into the 110 port but not port 25. The... (1 Reply)
Hi
I am getting undeliverable reciepts for what look like spam emails coming from my domain. Here is an example:
Your message did not reach some or all of the intended recipients. Subject:Attack your baby, she wants
Sent:02/12/2008 01:45
The following recipient(s) cannot be reached:... (4 Replies)
Hi,
i've a redhat linux 9 upadated by redhat from 7 version to 9 version. A couple of days ago i was a problem with my mail, in other words i'm not able to get any email nor to send any email. I've a proxy configuration and i tried to set iptables in order to verify the port. The 110,255 and 995... (1 Reply)
I have to run a script provided by a vendor. Its an executable so I can't change it.
basically after I call it it prompts me for a password. The script does not provide a way for me to pass a password with the command that calls the script.
I would like to automate running this script from... (5 Replies)
Hi,
I have a script which recieves 3 variables.
#!/bin/bash
Directory=$1
Archive=$2
Log_File_Path=$3
...
...
...
gzip -l *.xml.gz |awk '{print $1"^"$2"^"$4}'|sed '$d'
In awk instead of $1 which should be Compressed size its recieving Directory name.
How should this be... (1 Reply)
I have a very strange problem occurring with a Net2FTP site.
I've setted up a VSFTPD with SSL/TLS enabled and it works just fine for almos all archives, however, if someone put a .msg file (Outlook messages), if I download via Net2FTP, the file arrives different (different MD5) and it doesn't... (3 Replies)