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)
I am not getting the Subject Title when sending mail from a Solaris server to the Outlook recipient.
Example:
#mail -s "Testing Subject title" xxx@mymail.com
Test
.
#
Here's what it shows in Microsoft Outlook (lil bit altered, but similar to it)
-----Original Message-----... (2 Replies)
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)
Hi,
How would one send an email from the command line. Just a simple email. I used mailx -s "test" address@server.domain then hit enter.
Nothing happens then, I hit Ctrl + C twice, then I can start a new command again.
Any help? Tips? I did read up on this, but the examples is much more... (2 Replies)
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)
I have mail:
cat /home/oracle/scripts/dbsizedaily.txt | mail -s "$TODAY: PROD DB Size" $RECIPIENTS
I like to get and put USED_GB and %USED of the very last row from /home/oracle/scripts/dbsizedaily.txt.
/home/oracle/scripts/dbsizedaily.txt has :
DATE TIME TOTAL_GB USED_GB ... (6 Replies)
I am running a mailx command as follows in Linux:
mailx -s "Elapsed Time: " ora_dbas < $RUNDIR/sql_timings.out
I am trying to parse the file "sla_local_sql_timings.out" for the word Elapsed Time: and get the time from that file stored in a variable and display that variable in the subject... (4 Replies)
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)
hi ,
i have written below piece of code to meet the requirement but i am stuck in the logic here.
the requirement are:
1) to send the sql out put to email body with proper formatting.
2) if count_matching = Yes then mail should triggered with the subject line ... (10 Replies)
Discussion started by: itzkashi
10 Replies
LEARN ABOUT DEBIAN
sendmailconfig
SENDMAILCONFIG(8) System Manager's Manual SENDMAILCONFIG(8)NAME
sendmailconfig - configure sendmail for Debian systems
SYNOPSIS
sendmailconfig [--no-reload]
DESCRIPTION
sendmailconfig is used to simplify the configuration of sendmail(8) for use on Debian systems.
In the simplest case, you may run this program to (re)configure sendmail for your Debian system at any time. It will modify the file
/etc/mail/sendmail.mc in order to create a working sendmail configuration which will be written to the file /etc/mail/sendmail.cf.
For advanced configurations, you can modify the sendmail.mc file before generating sendmail.cf. Future invokations of sendmailconfig will
preserve these changes provided they are made at the end of the file.
Normally sendmailconfig will ask if you want to reload sendmail after making changes to its configuration. The --no-reload option will
avoid this question.
FILES
/etc/mail/sendmail.mc
sendmail m4 input to generate sendmail.cf
/etc/mail/sendmail.cf
actual sendmail configuration file
/etc/mail/sendmail.cw
names for which we will accept mail in the standard configuration
/etc/mail/sendmail.ct
names of trusted users in the standard configuration
SEE ALSO sendmail(8)AUTHOR
Robert Leslie <rob@mars.org>
21-Jan-1997 SENDMAILCONFIG(8)