10 More Discussions You Might Find Interesting
1. Red Hat
Whats the difference between mail and mailx?
I'm trying to troubleshoot a problem where I can send mail from server A with this `echo $MESSAGE | mail -s "$SUBJECT" -r $FROM $RECIPIENTS` command but executing the same command from server B throws me this error (Both servers are RHEL)
... (1 Reply)
Discussion started by: RedSpyder
1 Replies
2. UNIX for Dummies Questions & Answers
How can i send a mail when user login in unix ENV.
How can i know present use mailID??
Moved out of Contact Us Forum - Please Do Not Post Technical Questions in Non-Technical Forum(s) (1 Reply)
Discussion started by: arun508.gatike
1 Replies
3. Shell Programming and Scripting
Hi All,
I have a script that looks like this:
***********
#!/bin/sh -x
cd /u01/app/oracle/diag/rdbms/spdb/spdb/trace
cat alert_spdb.log|grep Archiver >/dev/null
if ;
then
mailx -s "Archiver message in Alert log" user@email.com
fi
************
Im using the -x option to see any... (1 Reply)
Discussion started by: oradba888
1 Replies
4. Shell Programming and Scripting
Hi guys...
I am busy writing a script to notify me via an mail if my application is down. I have done that.
Now I want this script to stop sending mails after five mails were sent but the script should keep on checking the application.
When the application is up again that count should be... (5 Replies)
Discussion started by: Phuti
5 Replies
5. Shell Programming and Scripting
Hi there,
How can I send the automated log file, daily at 7 am to the respective mail .
Thanks in Advance,
Neha (2 Replies)
Discussion started by: NehaKrish
2 Replies
6. Ubuntu
Hi,
I have kubuntu 8.10 and I would like to configure Ubuntu to can send mail from command line with mailx.
I've saw that I need to install a MTA. But I don't know with install and how.
Do you know some howto or url where I find how could I configure it?
Many thanks and sorry for my... (2 Replies)
Discussion started by: mierdatuti
2 Replies
7. HP-UX
Hi..
In Hp ux box,, mails are not being sent. they are getting queued up in mail queue. (3 Replies)
Discussion started by: kkhan
3 Replies
8. Shell Programming and Scripting
Dear all,
how can i send mail using mailx or mail command?do i need to configure anything for sending mail?please help me.Its urgent.
the version i use is
Linux TDM 2.4.21-4.EL #1 Fri Oct 3 18:13:58 EDT 2003 i686 i686 i386 GNU/Linux
Thanks
Regards,
Pankaj (15 Replies)
Discussion started by: panknil
15 Replies
9. UNIX for Advanced & Expert Users
How do I send an email with a subject and an attachment from a command prompt? (3 Replies)
Discussion started by: mskarica
3 Replies
10. UNIX for Dummies Questions & Answers
Hi everyone!
I'm trying to create a database monitoring script that reads an alert file and sends an error message if it can 'grep' a particular string.
Is there a way to send this message to a mail client using SMTP?
Even better, is there any place on this site that has these kinds of... (5 Replies)
Discussion started by: solaris73
5 Replies
HOBBIT-MAILACK(8) System Manager's Manual HOBBIT-MAILACK(8)
NAME
hobbit-mailack - permit acknowledging alerts via e-mail
SYNOPSIS
hobbit-mailack --env=FILENAME [--debug]
DESCRIPTION
hobbit-mailack normally runs as an input mail-filter for the hobbit user, e.g. by being called from the xymon users' procmailrc(5) file.
hobbit-mailack recognizes e-mails that are replies to hobbitd_alert(8) mail alerts, and converts the reply mail into an acknowledge message
that is sent to the Xymon system. This permits an administrator to acknowledge an alert via e-mail.
ADDING INFORMATION TO THE REPLY MAIL
By default, an acknowledgment is valid for 1 hour. If you know in advance that solving the problem is going to take longer, you can change
this by adding delay=DURATION to the subject of your mail reply or on a line in the reply message. Duration is in minutes, unless you add a
trailing 'h' (for 'hours'), 'd' (for 'days') or 'w' (for 'weeks').
You can also include a message that will show up on the status-page together with the acknowledgment, e.g. to provide an explanation for
the issue or some other information to the users. You can either put it at the end of the subject line as msg=Some random text, or you can
just enter it in the e-mail as the first non-blank line of text in the mail (a "delay=N" line is ignored when looking for the message
text).
USE WITH PROCMAIL
To setup hobbit-mailack, create a .procmailrc file in the xymon-users home-directory with the following contents:
DEFAULT=$HOME/Mailbox
LOGFILE=$HOME/procmail.log
:0
| $HOME/server/bin/hobbit-mailack --env=$HOME/server/etc/hobbitserver.cfg
USE WITH QMAIL
If you are using Qmail to deliver mail locally, you can run hobbit-mailack directly from a .qmail file. Setup the xymon-users .qmail file
like this:
| $HOME/server/bin/hobbit-mailack --env=$HOME/server/etc/hobbitserver.cfg
OPTIONS
--env=FILENAME
Load environment from FILENAME, usually hobbitserver.cfg.
--debug
Dont send a message to hobbitd, but dump the message to stdout.
SEE ALSO
hobbitd_alert(8), hobbitd(8), xymon(7)
Xymon Version 4.2.3: 4 Feb 2009 HOBBIT-MAILACK(8)