10-26-2010
Stop sending mail after certain number of mail
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 cleared.
Please help!!!!!!!!!!!!!!!!!!!!
10 More Discussions You Might Find Interesting
1. 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
2. UNIX for Dummies Questions & Answers
Please help me out
i want to know how to send email from unix machine to any email-id.
mail to be sent is web based mail. (1 Reply)
Discussion started by: parmeet
1 Replies
3. 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
4. Solaris
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)
Discussion started by: unitipon
2 Replies
5. UNIX for Dummies Questions & Answers
i want to send an email from the unix machine to the windows machine.
now windows dont have any specified folder for the mail. mail has to be sent to the email-id like abc@xyz.com
unix machine itself can not directly send mail.
it has to be transferred via mail server. (11 Replies)
Discussion started by: parmeet
11 Replies
6. 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
7. UNIX for Advanced & Expert Users
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)
Discussion started by: amitranjansahu
2 Replies
8. 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
9. 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
10. UNIX for Advanced & Expert Users
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)
Discussion started by: cokedude
1 Replies
LEARN ABOUT DEBIAN
claws-mail-pgpmime
CLAWS-MAIL-PGPMIME(1) CLAWS-MAIL-PGPMIME Manual CLAWS-MAIL-PGPMIME(1)
NAME
claws-mail-pgpmime - Handling of PGP/MIME signed and/or encrypted mails.
DESCRIPTION
This manual page documents briefly the claws-mail-pgpmime plugin.
This manual page was written for the Debian distribution because the original program does not have a manual page.
claws-mail-pgpmime is a plugin (loadable module) for the Claws Mail mailer.
This plugin allows decrypting mails, verifying signatures and sign or encrypt your own mails using PGP/MIME.
It requires GnuPG and GPGME.
USAGE
Before using a plugin you must instruct Claws Mail to load it on startup.
For this you must go "Configuration" menu on main window toolbar, open "Plugins..." dialog, click on the "Load plugin..." button and
select the plugin file, named pgpmime.so, and press the "Open" button.
FILES
/usr/lib/claws-mail/plugins/pgpmime.so
The loadable module for claws-mail-pgpmime.
~/.gnupg/gpg.conf
Configuration file for GnuPG, read man gpg for details.
BUGS
Please use reportbug claws-mail-pgpmime for reporting Debian bugs for this package.
The upstream BTS can be found at http://www.thewildbeast.co.uk/claws-mail/bugzilla/index.cgi.
SEE ALSO
claws-mail(1), claws-mail-extra-plugins(1), gpg(1)
AUTHORS
The Claws Mail Team <theteam@claws-mail.org>
Wrote the claws-mail-pgpmime plugin.
Ricardo Mones <mones@debian.org>
Wrote this manpage for the Debian system.
COPYRIGHT
Copyright (C) 2008 Ricardo Mones
This manual page was written for the Debian system (but may be used by others).
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 3 or (at
your option) any later version published by the Free Software Foundation.
On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL.
claws-mail-pgpmime September, 2008 CLAWS-MAIL-PGPMIME(1)