09-17-2008
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello,
Is there anyway to change the from address in the email sent using mailx command?
I have the following command:
mailx -s $subject xxx@xxxx.com < $mail_mesg
This defaults to the following format "acctname@usserver.companyname.com" as the from address in the email. Problem is this... (5 Replies)
Discussion started by: radhika
5 Replies
2. UNIX for Dummies Questions & Answers
Is there any way i can verify the email address (before sending the mail) using the mailx command ?
I know that
sendmail -bv email@address.com
can do it but there is a compatibility issues with the version of Unix we have. So mailx is the only command we can used at this point.
Any... (1 Reply)
Discussion started by: rak007
1 Replies
3. Shell Programming and Scripting
Hi All,
OS:Red Hat Linux 4 86x64
Below is my shell script which is not sending mail to the mail recipient:
#!/bin/bash
export MAILLIST="xyz@yahoo.com"
cd <path_to_the_script_perf_report.sql>
sqlplus / as sysdba @perf_report.sql
if
then
cat <path_to_the_script/*MONTHLY*REPORT*.lst... (6 Replies)
Discussion started by: a1_win
6 Replies
4. Red Hat
Just having trouble trying to figure out what the option is.
When I do
mail -s "Subject" someuser@example.com
I can't seem to specify "from" or "sender" option as I need it for my task. I tried using --f or -f though it didn't work.
Can someone please tell me what other option... (0 Replies)
Discussion started by: rockf1bull
0 Replies
5. OS X (Apple)
Hi, How can I use "mailx" command to send message to an email address like this?
echo "This email body" | mailx -s "my subject" "email@hostname.com"
There may be some setup required in sendmail or postfix??
OS = Snow Leopard 10.6 (4 Replies)
Discussion started by: FlyingSquirrel
4 Replies
6. Shell Programming and Scripting
Hi,
I need to configure customized from address in mailx command.
Can you pls tell me the option for configuring from address.
Thanks
Latika (9 Replies)
Discussion started by: latika
9 Replies
7. Shell Programming and Scripting
Hi All,
I am trying to send a mail from linux server but could'nt able to send the mail.
I tried the below syntax's so far but no luck.
mail -s “Hello world” abc@xyz.com < /usr/g/txt.log
cat "txt.log" | mailx -s "Hello world" abc@xyz.com
mailx -s “Hello world” abc@xyz.com <... (2 Replies)
Discussion started by: scriptscript
2 Replies
8. Homework & Coursework Questions
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
The function will be called m and it will allow you to send an email to someone using the mail command. The... (1 Reply)
Discussion started by: Drucian
1 Replies
9. UNIX for Beginners Questions & Answers
My company has an email user group email address name that has 35 characters in front of the @ symbol where two of them are dashes. For some reason the mail command fails to send email to this address when I invoke it from the Linux command line. I don't understand the reason for the failure. Below... (5 Replies)
Discussion started by: Phil44
5 Replies
10. Shell Programming and Scripting
Hello All,
I have a requirement to generate report and send them to a distribution list.
The problem I am facing is when sending out the email using mailx.
The email address (DL) we have is starting with # and because of this it's not recognising the email and throwing the below error.
... (2 Replies)
Discussion started by: Pradeep_Raj
2 Replies
LEARN ABOUT CENTOS
reporter-mailx
REPORTER-MAILX(1) LIBREPORT MANUAL REPORTER-MAILX(1)
NAME
reporter-mailx - Sends contents of a problem directory via email.
SYNOPSIS
reporter-mailx [-v] -d DIR [-c CONFFILE]
DESCRIPTION
The tool reads a problem directory, composes an email message from the directory contents, and uses mailx to send the message to specified
recipient.
Properties of email messages can be specified in a configuration file, and via environment variables.
Configuration file
Configuration file contains entries in a format "Option = Value".
The options are:
Subject
The subject of the email message.
EmailFrom
The sender of the email message.
EmailTo
The recipient of the email message.
SendBinaryData
Use yes/true/on/1 to attach all binary files from the problem directory to the email. This can cause the emails to be very large.
Integration with ABRT events
reporter-mailx can be used as a reporter, to allow users report problems via email when they decide to do it. This usage is pre-configured
in /etc/libreport/events.d/mailx_event.conf:
EVENT=report_Mailx reporter-mailx
It can also be used to notify administrator automatically when a problem happens. When this is desired, modify the event configuration file
to run the tool on the post-create event:
EVENT=post-create reporter-mailx
OPTIONS
-d DIR
Path to problem directory.
-c CONFFILE
Path to configuration file. When used in ABRT event system, the file contains site-wide configuration. Users can change the values via
environment variables.
ENVIRONMENT VARIABLES
Environment variables take precedence over values provided in the configuration file.
Mailx_Subject
Subject of the email message.
Mailx_EmailFrom
Sender of the email message.
Mailx_EmailTo
Recipient of the email message. If nor the environment variable nor the corresponding option is defined, the message is send to
"root@localhost".
Mailx_SendBinaryData
Use yes/true/on/1 to attach all binary files from the problem directory to the email.
AUTHORS
o ABRT team
LIBREPORT 2.1.11 06/18/2014 REPORTER-MAILX(1)