Sponsored Content
Top Forums Shell Programming and Scripting mailx for red hat version 5.4 Post 302486743 by methyl on Monday 10th of January 2011 07:34:22 AM
Old 01-10-2011
Quote:
1) mailx -s "testing" user@ipaddress
Assuming that there is only one computer involved here, shouldn't this be:
Code:
mailx -s "testing" user <mail_body

It is well worth testing that local mail is working.

Even if the the mail is destined for another computer we would expect the syntax:
Code:
mailx -s "testing" user@domain < mail_body

 

8 More Discussions You Might Find Interesting

1. Linux

Red Hat Enterprise Linux Version 3

Hello there guys, i'm new in this linux world and i'm having problems with telnet session. I enabled telnet login but it wont let me login as root. is there a file that i need to take a look to make sure that root could telnet to the system. Thanks a lot guys for your help. (2 Replies)
Discussion started by: josramon
2 Replies

2. Cybersecurity

Does any hunk knows how to block ultrasurf in squid proxy red hat version 4

Does any one knows how to block ultrasurf in squid proxy ? I have one shell script i.e blocking all ultrsurf version except ultrasurf 8.9 i f any one knows pls share the documents with me. Please read the rules: No double posting! Thank you - site moderator (0 Replies)
Discussion started by: vishwanathhcl
0 Replies

3. Linux

Does any hunk knows how to block ultrasurf in squid proxy red hat version 4

Does any one knows how to block ultrasurf in squid proxy ?:) I have one shell script i.e blocking all ultrsurf version except ultrasurf 8.9 if any one knows pls share the documents with me. (1 Reply)
Discussion started by: vishwanathhcl
1 Replies

4. Red Hat

Virtual Red Hat version

Hello, Is there a Virtual Red hat that will work with Windows Vista? I would like to become more familiar with it and a virtual version will help me with a hands on approach. Nov_User (3 Replies)
Discussion started by: nov_user
3 Replies

5. Red Hat

finding exact version of Red Hat Linux

Hi, I would like to know how to find out exact version of linux on the basis of kernel level, uname -a 2.6.18-238.1.1.el5 from above command how to find out exact version of redhat linux? it is showing that version of redhat is 5.0 but it comes under which update like 1,2,3,4,5,6 ... (1 Reply)
Discussion started by: manoj.solaris
1 Replies

6. Red Hat

How to Install Red Hat Linux Desktop version 4?

I want to install Red Hat Linux Desktop version 4. Please tell me the step-by-step installation and which file system will be best for this O/S? Like in windows, we have NTFS file system(which has very security features). Is there any such file system in Linux? Which file system should i use? (2 Replies)
Discussion started by: Anna Hussie
2 Replies

7. Red Hat

How to Install Red Hat Linux Desktop version 4?

I want to install Red Hat Linux Desktop version 4. Please tell me the step-by-step installation and which file system will be best for this O/S? Like in windows, we have NTFS file system(which has very security features). Is there any such file system in Linux? Which file system should i use?... (0 Replies)
Discussion started by: Anna Hussie
0 Replies

8. UNIX for Dummies Questions & Answers

Red Hat 5.10 repository issue - desktop version

this is proving to be a real pain to set up. i recently installed red hat 5.10 desktop version. install went well. i've registered my system, but i cant seem to yum install simple packages. i can install some packages, but many others i cant. for instance, i cant do a: yum install php ... (2 Replies)
Discussion started by: SkySmart
2 Replies
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)
All times are GMT -4. The time now is 06:48 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy