hi
can i know how to use mailx to send email to my lotus email account?
i wan to send a file in a directory as an attachment and then email to lotus.
can show me the command line to do it? thanks a lot (1 Reply)
while trying to send a mail, though the output file doesn't contain any exclamatory mark(!), i am getting that in the mail with an extra line. please help me out from this ASAP. (3 Replies)
Hi All,
Please help me regarding sending mails using mailx command in unix.
I will be glad if some one give me the sintax of this. I tried using the below but vain.
mailx -s 'Hi' 'xyz@abc.com'
Regards,
Manas (5 Replies)
hi All,
i am trying to send a mail from perl using mailx.
the script runs fine if i hard code the file path which is to be attached to the mail. but when i give a variable containing the path of the file , perl is not able to send the file.
ex:
system('uuencode /attach/test.txt... (3 Replies)
Hi
I tried reading docs from this forum and googled it...but i couldnt get the answer for attaching a document in mail.
I need it to be the actual attachement not adding the content of the file to the body of the mail..
i used uuencode ...to encode the file but it is coming as a junk... (4 Replies)
How can I check to see how/why my mailx program is not sending?
/var has enough room.
-Thanks
---------- Post updated at 08:48 AM ---------- Previous update was at 08:35 AM ----------
I tested the mailx to send with this command:
echo "This is going to be body of the mail" |mailx... (1 Reply)
Hi
I need help to send mail through mailx command . Currenlt my program is like
#!/bin/ksh -x
echo " " >> path.lst
MAIL_LIST='someone1@gamil.com someone2@gamil.com someone3@gamil.com'
cat path.lst | mailx -s "path loaction" $MAIL_LIST
echo "End"
exit 0
Its work fine . But i... (3 Replies)
Hi All,
I have a unix server on which mailx is configured . Earlier i was getting proper mails but now some mails are getting stuck and i am not receiving the emails from the server.
I can see the mails in mailq.
Can you please help me with this . How can i receive these emails? (2 Replies)
Hi,
I need help with mailx. When I run the below mailx command, it works fine because the exit code is fine, and the message is sent to /usr/mail/<id>
echo "This is a test message" | mailx -s "Test" <my email address>
My question is, how do I get it to reach my email address (on outlook... (2 Replies)
Hello, I am new to the Unix thing, and I am having trouble sending attachments via shell client putty through mailx.
The command I use is
$ mailx -s "Subject" user@blah.com < attachment.txt
but everytime I do that it would say Cannot open attachment.txt
I have the file save to my computer... (5 Replies)
Discussion started by: mrobin20
5 Replies
LEARN ABOUT DEBIAN
fence_node
FENCE_NODE(8) cluster FENCE_NODE(8)NAME
fence_node - a utility to run fence agents
SYNOPSIS
fence_node [OPTIONS] nodename
DESCRIPTION
This utility runs a fence agent against nodename. The agent and args are taken from the running cluster configuration based on clus-
ter.conf(5).
fence_node is a wrapper around the libfence functions: fence_node() and unfence_node(). These libfence functions use libccs to read the
node fencing configuration, which means that corosync (with cman and ccs) must be running to use fence_node(8).
The fenced(8) daemon is the main user of libfence:fence_node(), and the configuration details for that function are given in the fenced(8)
man page.
Fencing vs. Unfencing
The main use for unfencing is with storage/SAN (non-power) agents.
When using power-based fencing agents, the fencing action itself is supposed to turn a node back on after first turning the power off (this
happens automatically with a "reboot" action, and needs to be configured explicitly as "off" + "on" otherwise.)
When using storage-based fencing agents, the fencing action is not allowed to re-enable a node after disabling it. Re-enabling a fenced
node is only safe once the node has been rebooted. A natural way to re-enable a fenced node's access to storage, is for that node to re-
enable the access itself during its startup process. The cman init script calls fence_node -U (nodename defaults to local nodename when
unfencing). Unfencing a node without an <unfence> configuration (see below) is a no-op.
The basic differences between fencing and unfencing:
Fencing
1. libfence: fence_node(), command line: fence_node nodename
2. Turns off or disables a node.
3. Agents run with the default action of "off", "disable" or "reboot".
4. Performed by a cluster node against another node that fails (by the fenced daemon).
Unfencing
1. libfence: unfence_node(), command line: fence_node -U nodename
2. Turns on or enables a node.
3. Agents run with the explicit action of "on" or "enable".
4. Performed by a cluster node "against" itself during startup (by the cman init script).
OPTIONS -U Unfence the node, default local node name.
-v Show fence agent results, -vv to also show agent args.
-h Print a help message describing available options, then exit.
-V Print program version information, then exit.
FILES
The Unfencing/unfence_node() configuration is very similar to the Fencing/fence_node() configuration shown in fenced(8). Unfencing is only
performed for a node with an <unfence> section:
<clusternode name="node1" nodeid="1">
<fence>
</fence>
<unfence>
</unfence>
</clusternode>
The <unfence> section does not contain <method> sections like the <fence> section does. It contains <device> references directly, which
mirror the corresponding device sections for <fence>, with the notable addition of the explicit action of "on" or "enable". The same
<fencedevice> is referenced by both fence and unfence <device> lines, and the same per-node args should be repeated.
<clusternode name="node1" nodeid="1">
<fence>
<method name="1">
<device name="myswitch" foo="x"/>
</method>
</fence>
<unfence>
<device name="myswitch" foo="x" action="on"/>
</unfence>
</clusternode>
SEE ALSO fenced(8)cluster 2009-12-21 FENCE_NODE(8)