10-13-2010
don't want to have a looping solution. Already doing that in the mean time and am trying to move to something a little more real time. How would i set the cron to check if the script is running or not?
@nneo
found something else on procmail another post stated
'got the result i'm looking for through .procmailrc in the ~/ directory of the user'
if that is what you are referring to then i can not find ~/ dir.
Just a reminder that i am using a cheepo web host. so i dont have root access.
I found this post that might be in the right direction
though i am not aloud to post the URL at the moment
this is the there sugestion
Look at using the /etc/aliases file - you can pipe the incoming message to a specific user into a program (or script)
looking @ my /etc/aliases is not there. So not sure how i would continue to use the above solution
Last edited by iKris; 10-13-2010 at 05:15 PM..
10 More Discussions You Might Find Interesting
1. Forum Support Area for Unregistered Users & Account Problems
hi I did not received any such email for account activation nor i am able to see any status in my profile.
Am i missing anything?? :confused:
Please help
Appreciated. (0 Replies)
Discussion started by: bhush782003
0 Replies
2. UNIX for Advanced & Expert Users
Hi,
I tried running mailx command like this:
sadm@bioinfo-z:~$ mailx foobar@gmail.com
Subject: testgmail
Some content.
.
EOT
As you can see although it is successfuly executed.
But still I can't receive email at my foobar@gmail.com
account.
What is the cause? (9 Replies)
Discussion started by: monkfan
9 Replies
3. UNIX for Dummies Questions & Answers
hi
I have a bit of a problem i need help with.
I have a script that runs no problems when i run it manually. as soon as i stick in
tester: /app/scripts/run.pl
into /etc/aliases & try to run it by sending a mail it doesnt work.
the output files are owned by daemon, which i dont like & think... (7 Replies)
Discussion started by: jojo77
7 Replies
4. Forum Support Area for Unregistered Users & Account Problems
I have tried to register and got a message saying an email would be sent but no email has turned up. Could you try again please? (1 Reply)
Discussion started by: lookingfor help
1 Replies
5. UNIX for Advanced & Expert Users
hi..
I have the porblem where the email was sent but not received by users.. The message as below:-
Dec 16 11:42:04 isp postfix/smtp: A80042B4B: to=<user_name@example.com.my>,
relay=smtp.example.com.my:25, delay=890, delays=0.17/0.02/31/859, dsn=2.0.0,
status=sent (250 2.0.0 Ok: queued... (1 Reply)
Discussion started by: bh_hensem
1 Replies
6. Shell Programming and Scripting
Hi expert
I wish to start a shell script when I receive an email.
I modified the aliases file and I add this string
as400nag: "|/home/nag-script/startstop/AS400-Boot.sh
The solution works .
When the as400nag user receive an email the
/home/nag-script/startstop/AS400-Boot.sh starts .but... (3 Replies)
Discussion started by: emi65
3 Replies
7. Forum Support Area for Unregistered Users & Account Problems
I have tried to register today with the username BatterBits, but have not received the activation email
I do not live in any of the restricted countries - unless the UK has suddenly become a threat!
I'd be grateful if you would assist.
many thanks
Ian (2 Replies)
Discussion started by: unregistered
2 Replies
8. Shell Programming and Scripting
Hello Guys,
Here is the requirement!!
I want to check the mail with attachment received or not through unix scripting.
And send an notification email when mail with attachment already received.
Any thoughts on this is much appreciated!!
Regards,
Harry (0 Replies)
Discussion started by: dharry2017
0 Replies
9. Shell Programming and Scripting
Hi Guys,
I am stuck in between and seeking help here.
Requirement: A script that will run every morning which will connect to Mysql database and run the query to inform us about the holidays (it will also check if there were any holidays during last 2 business days). So the three queries are... (11 Replies)
Discussion started by: Sambit Sahu
11 Replies
10. Shell Programming and Scripting
Linux System having all Perl, Python, PHP (and Ruby) installed
From a Shell script, can call a Perl, Python, PHP (or Ruby ?) file
eg
eg
a Shell script run in a case statement call to run a php file, also Perl or/and Python file???
Like
#!/usr/bin/bash
....
....
case $INPUT_STRING... (1 Reply)
Discussion started by: hoyanet
1 Replies
LEARN ABOUT DEBIAN
bb-findhost.cgi
BB-FINDHOST.CGI(1) General Commands Manual BB-FINDHOST.CGI(1)
NAME
bb-findhost.cgi - Xymon CGI script to find hosts
SYNOPSIS
bb-findhost.cgi?host=REGEX
DESCRIPTION
bb-findhost.cgi is invoked as a CGI script via the bb-findhost.sh CGI wrapper.
bb-findhost.cgi is passed a QUERY_STRING environment variable with the "host=REGEX" parameter. The REGEX is a Posix regular expression (see
regex(7) ) describing the hostnames to look for. A trailing wildcard is assumed on all hostnames - e.g. requesting the hostname "www" will
match any host whose name begins with "www".
It then produces a single web page, listing all of the hosts that matched any of the hostnames, with links to the Xymon webpages where they
are located.
The output page lists hosts in the order they appear in the bb-hosts(5) file.
A sample web page implementing the search facility is included with bbgen, you access it via the URL /bb/help/bb-findhost.html.
OPTIONS
--env=FILENAME
Loads the environment from FILENAME before executing the CGI.
FILES
$BBHOME/web/findhost_header
HTML header file for the generated web page
$BBHOME/web/findhost_footer
HTML footer file for the generated web page
$BBHOME/web/findhost_form
Query form displayed when bb-findhost.cgi is called with no parameters.
ENVIRONMENT VARIABLES
BBHOSTS
bb-findhost.cgi uses the BBHOSTS environment variable to find the bb-hosts file listing all known hosts and their page locations.
BBHOME Used to locate the template files for the generated web pages.
SEE ALSO
bbgen(1), bb-hosts(5), hobbitserver.cfg(5)
Xymon Version 4.2.3: 4 Feb 2009 BB-FINDHOST.CGI(1)