Here is a question I have, maybe someone can help me out. I am new to this UNIX thing. :)
I have a file called elist. In this file is a list of 25 email adresses. How can I write a simple command line for that will read the names of the file and send it to each of the email addys. Can I... (2 Replies)
Hi,
I have tried to sent a mail with body and attachment. But the shell script got hanging while executing that command. The command is
"(cat body;uuencode att1.csv)|mailx -s "Production Monitoring Report(Unix Side)" milton.yesusundaram@patni.com"
where body is a file having a single line.... (2 Replies)
Update: Problem solved with this command: /opt/soc/bin/postfix-setup
================================
Hi,
I am trying the following mailx command:
sadm@edwardwi-z:/etc$ mailx ewijaya@gmail.com
Subject: test
foo .
.
EOT
But it gives the following error
... (0 Replies)
I get the below error message when I try to CC recipients in the mailx command. Can someone help.
---------------------------------------------------------------
Can't create transcript file ./xfm0SD2kY24649: Permission denied
Cannot create ./dfm0SD2kY24649: Permission denied
queueup:... (0 Replies)
Hi,
I have problems with the cc option in mailx command. Just went through some of the similar threads but none provides a satisfactory explanation.
I have a script using the mailx command in the following way:
(echo `cat mailsub.txt` ; uuencode attachment.csv attachment.csv) | mailx -s... (2 Replies)
Hi,
I am using mailx command to send a mail with attachment. It's working fine, but with attachment I am getting one extra attachment like (ATT00131.txt). I have tried to use unix2dos command also. But still I am getting the extra attachment.
I am using the following code:
subject="temp... (5 Replies)
Hi,
I have written down a script and in that im using mailx command in Unix.
Such that i have taken the reciepent that would be in "To" using read command i.e from standard input and echoed the reciepients in cc into a file .Now im not able to use the mailx -r ie which sends the sender... (1 Reply)
Hi All,
Can anyone please provide the command for sending an mail with attachment using mailx command.
Thanks in Advance :)
Regards,
Siram. (3 Replies)
Hi,
i am using fgrep command with following syntax
fgrep -v -f pattern_file_name file
file contains few line and have the pattern which i am giving in pattern file.
My Problem is :
its is not giving any output.
while i am using fgrep -f pattern_file_name file
it is showing all... (4 Replies)
Hello Guys ,
I am trying to run below in one of my script but unable to get it succeed .
Can anyone help me on this?
I am using HP-UX.
if
then
write_log " Both files are present . Mail will be send to respective teams."
EMAIL_SUBJECT="MGCA - File Extraction Process COMPLETED"... (12 Replies)
Discussion started by: himanshu sood
12 Replies
LEARN ABOUT REDHAT
rcvpack
RCVPACK(1) [nmh-1.5] RCVPACK(1)NAME
rcvpack - append message to file
SYNOPSIS
/usr/lib/mh/rcvpack file [-mbox] [-mmdf] [-version] [-help]
DESCRIPTION
The rcvpack program will append a copy of the message to the file listed on its command line.
If the -mbox switch is given (the default), then the messages are separated using mbox (uucp) style delimiters. This is the format used by
most mail clients (elm, mailx, etc.).
If the -mmdf switch is given, then the messages are separated by mmdf style delimiters. Each message in the file is separated by four
CTRL-A's and a newline.
rcvpack will correctly lock and unlock the file to serialize access to the file, when running multiple copies of rcvpack .
In general, its use is obsoleted by the file action of slocal, although it might still have occasional uses in various shell scripts.
FILES
/etc/nmh/mts.conf nmh mts configuration file
SEE ALSO rcvdist(1), rcvstore(1), rcvtty(1), slocal(1)BUGS
Only two return codes are meaningful, others should be.
MH.6.8 11 June 2012 RCVPACK(1)