09-08-2013
Need to send file through mail from Solaris
I have Solaris-10 and some job is writing a log. My client needs this log file every two hour in his mail.
Usually I send manual mail through mailx command, as sendmail is configured with relay server, but I am not sure, how to attach file in a mail and set it in cronjob.
Please give me some pointer on this.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi All,
I am new to unix. I want to know what are the steps to do in order to configure a unix server (Solaris 8) to send mails to the outside world. I also want to send attachments in the mail.
Thanks in advance
Zing (2 Replies)
Discussion started by: zing
2 Replies
2. Solaris
Hello I am new user on solaris...
I need to configure my solaris to be able to send mails...
I know mailx command
mailx -s hello address@address.com
but I get an error...
you have mail in /var/mail/root
# hello... User unknown
/dead.letter... Saved message in /dead.letter
what... (10 Replies)
Discussion started by: amon
10 Replies
3. UNIX for Dummies Questions & Answers
Hi !!
I'm trying to send myself a mail from my Solaris server, i had tryed with this commands:
mail -s "test" irasela@yahoo.com < /monitoring/space/bitacora.txt
mailx -s "test" irasela@yahoo.com < /monitoring/space/bitacora.txt
sendmail -F "test" address "irasela.yahoo.com" -t... (1 Reply)
Discussion started by: irasela
1 Replies
4. Shell Programming and Scripting
Hello,
I am new to perl and need to create a script that will read a file and pull a name from the file and send e-mail.
How can I use the following awk statement in a perl script?
grep UNIXadmins /root/mail.conf | awk '{ print $2}'
and use the output to send a e-mail.
Any help would... (1 Reply)
Discussion started by: DC Heard
1 Replies
5. Shell Programming and Scripting
hi experts,
I m new to the sun solaris.
on our OS (sun solaris 5.8) i m trying to send mail but i not getting any mail, i have tried doing following .
$mailx -s "Test" sivakumars@kesd.com
But no response there no error also...
pls let me know:
1) How can test sending mail through... (3 Replies)
Discussion started by: saisivakumar
3 Replies
6. UNIX for Advanced & Expert Users
Hi All,
I have a requirement to send and email of body html with an attachment.
concatinating uuencode output to the mail body with mailx command works, but as my Email body is of HTML type i use sendmail.
my command to send HTML body is as below:
export MAILTO="recipient@domain.com"... (1 Reply)
Discussion started by: mohan_kumarcs
1 Replies
7. UNIX for Dummies Questions & Answers
Hi
The below script working when we are sending the html as attachment can u please guide how to send thesmae data in table form direct in the mail and not in mail attachment .
cat Employee.sql
SET VERIFY OFF
SET PAGESIZE 200
SET MARKUP HTML ON SPOOL ON PREFORMAT OFF ENTMAP ON -
HEAD... (0 Replies)
Discussion started by: mani_isha
0 Replies
8. Solaris
Dear all,
We have SMTP server in our organization & i want to send e-mails from solaris machine using sendmail ... in which file i need to put the smtp server ip, username & passwd..
kindly help ....... (4 Replies)
Discussion started by: vishwanathhcl
4 Replies
9. Shell Programming and Scripting
taus-itcapp1#powermt display dev=all
Pseudo name=emcpower0a
CLARiiON ID=APM00105201788
Logical device ID=60060160B2202B001094F0E0AF5CE011
state=alive; policy=CLAROpt; priority=0; queued-IOs=0;
Owner: default=SP A, current=SP A Array failover mode: 1
... (6 Replies)
Discussion started by: orafup
6 Replies
10. UNIX for Advanced & Expert Users
I am having trouble getting mail to work on a red hat server. At first I was getting this message.
Diagnostic-Code: X-Postfix; delivery temporarily suspended: connect to :25: Connection refused
Then added the port to my firewall. Then I temporarily turned off selinux. I then copied this file... (1 Reply)
Discussion started by: cokedude
1 Replies
LEARN ABOUT SUSE
mlmmj-send
mlmmj-send(1) General Commands Manual mlmmj-send(1)
NAME
mlmmj-send - send mail to a mailinglist or similar
SYNOPSIS
mlmmj-send [-L /path/to/list | -l listctrl] -m /path/to/mail [-a] [-D] [-F] [-h] [-r] [-R] [-s] [-T] [-V]
-a: Don't archive the mail
-D: Don't delete the mail after it's sent
-F: What to use as MAIL FROM:
-h: This help
-l: List control variable.
-L: Full path to list directory
-m: Full path to mail file
-r: Relayhost IP address (defaults to 127.0.0.1)
-R: What to use as Reply-To: header
-s: Subscribers file name
-T: What to use as RCPT TO:
-V: Print version
DESCRIPTION
This binary is used to send all kinds of mail to mlmmj managed mailinglists, but can potentially be used standalone for sending mails.
The only option that is not self explanatory is the -l list control option:
'1' means 'send a single mail'
This is used together with -F and -T to send one mail to one recipient.
'2' means 'mail to moderators'
Used for sending mails to the moderators of a list.
'3' means 'resend failed list mail'
'4' means 'send to file with recipients'
'5' means 'bounceprobe'
'6' means 'single listmail to single recipient'
BUGS
This manual page is very scarce documentation of the mlmmj-send binary. The reason for this is that it's really not supposed to be used by
any human, but only supposed to be invoked from other mlmmj binaries. So in case more documentation is needed, please read the source.
AUTHORS
This manual page was written by the following persons:
Soren Boll Overgaard <boll@debian.org> (based on html2man output)
Mads Martin Jorgensen <mmj@mmj.dk>
mlmmj-send September 2004 mlmmj-send(1)