09-07-2008
Quote:
Originally Posted by
SnackS
Hello all.
I am a new user Solaris10, on a sunblade100. And I need help.
How to send an e-mail on command line under solaris 10 ?
I try
mailx-s "subject" snacks@yahoo.fr without success.
I would like to know why?
What files do I configure?
Thank you in advance.
best regards.
Did you not leave a space in between the syntaxes ..?
mailx-s instead of mailx -s
10 More Discussions You Might Find Interesting
1. Solaris
sorry,my english is poor.
who can install win2003 and solaris10 in one pc ?
my win2000server in hda1
so
frist install win2003 in hda5
second install solaris10 in hda2
but after install over,the win2003 can't logon in. alway let me press<ctrl>+<alt>+<del>.
why? (1 Reply)
Discussion started by: keyi
1 Replies
2. UNIX for Dummies Questions & Answers
If I use the "Mail" link instead of the "mail" link to ../mailx I get this error.
Mail so-n-so @whatever.com
mailx: NUL changed to @
Unknown command: "postmaster"
The email still goes through but i get the error.
If I use "mail" it goes thru without the error.
Any ideas?? (2 Replies)
Discussion started by: BG_JrAdmin
2 Replies
3. UNIX for Dummies Questions & Answers
I just download solaris 10, from sun.com, I have them ziped in my HD,
How can I install them, so I can run solaris10, my present os is RH9;
THANKS (5 Replies)
Discussion started by: mxlst14
5 Replies
4. Solaris
Hi all,
I wrote a small shell (bash) script and it was executing well. I'm getting problem when I use this in crontab. My script is:
#!/usr/bin/bash
mkdir `date '+%m-%d-%y'`
cd `date '+%m-%d-%y'`
cvs co -r br_name module
cd dir1/dir2/dir3
bash build.sh
this is doing well... (7 Replies)
Discussion started by: gullapalli
7 Replies
5. Solaris
hi to all,
I am newuser can anyone tell me from where i get the sun solaris 10 dumps.
plz mail me at (no email addresses - read the RULES of these forums) (2 Replies)
Discussion started by: quickgun
2 Replies
6. Solaris
Hi All
How can we verify if any of the parameters we have change in Solaris10 after reboot. Like is there any command? Please advice
Thanks (3 Replies)
Discussion started by: imran721
3 Replies
7. Shell Programming and Scripting
Hi All,
Can anyone please provide the command for sending an mail with attachment using mailx command.
Thanks in Advance :)
Regards,
Siram. (3 Replies)
Discussion started by: Sriram.Vedula53
3 Replies
8. UNIX for Advanced & Expert Users
Hi All,
I have configured OpenLDAP sucessfully and set following results indicating that the user is loaded on the LDAP database
test5:/ $ cat /etc/passwd | grep admin777
test5:/ $ getent passwd admin777
admin777:x:5011:1000::/:/bin/bash
test5:/ $ id admin777
uid=5011(admin777)... (0 Replies)
Discussion started by: esawyja
0 Replies
9. Solaris
Technical Prose: Solaris integration with Active Directory - Part I
follow this guide,install solarisgcc,and dev libraries required.
But after configure i get
checking for res_search... yes
checking for krb5_init_context in -lkrb5... yes
checking for ldap_initialize in -lldap... yes... (0 Replies)
Discussion started by: Linusolaradm1
0 Replies
10. Solaris
I want to run solaris10 with my pxelinux server
i put on pxelinux.cfg/default this
LABEL solaris 10
kernel mboot.c32
append -solaris solaris/boot/platform/i86pc/kernel/unix -v -m verbose install dhcp nowin nfs://192.168.0.2/jumpstart/config.tar -B install_media=192.168.0.2:/solaris... (0 Replies)
Discussion started by: Linusolaradm1
0 Replies
LEARN ABOUT OPENSOLARIS
mhmail
MHMAIL(1) [nmh-1.5] MHMAIL(1)
NAME
mhmail - send or read mail
SYNOPSIS
mhmail [addrs ...] [-body text] [-cc addrs ...] [-from addr] [-subject subject] [-version] [-help]
DESCRIPTION
mhmail is intended as a replacement for the standard Berkeley mail program (mail or mailx), which is compatible with nmh. This program is
intended for the use of programs such as cron, which expect to send mail automatically to various users. It is also used by various nmh
commands to mail various error notifications. Although mhmail can be used interactively, it is recommended that comp and send be used
instead to send messages.
When invoked without arguments, it simply invokes inc to incorporate new messages from the user's maildrop. When one or more users is
specified, a message is read from the standard input and spooled to a temporary file. mhmail then invokes post with the name of the tempo-
rary file as its argument to deliver the message to the specified user.
The -subject subject switch can be used to specify the "Subject:" field of the message.
By default, mhmail will read the message to be sent from the standard input. You can specify the text of the message at the command line
with the -body text switch. If the standard input has zero length, mhmail will not send the message. You can use the switch -body "" to
force an empty message.
Normally, addresses appearing as arguments are put in the "To:" field. If the -cc switch is used, all addresses following it are placed in
the "cc:" field.
By using -from addr, you can specify the "From:" header of the draft. Naturally, post will fill-in the "Sender:" header correctly.
FILES
/usr/bin/mh/inc Program to incorporate maildrop into folder
/usr/lib/mh/post Program to deliver a message
/tmp/mhmail* Temporary copy of message
SEE ALSO
inc(1), post(8)
DEFAULTS
None
CONTEXT
If inc is invoked, then inc's context changes occur.
MH.6.8 11 June 2012 MHMAIL(1)