Using mailx under solaris10


 
Thread Tools Search this Thread
Operating Systems Solaris Using mailx under solaris10
# 1  
Old 09-07-2008
Using mailx under solaris10

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.
# 2  
Old 09-07-2008
First you need to ensure that your sendmail daemon is running.
Then do either of these..
uuencode /tmp/myfile.tar.gz | mail someone@abc.com
Doc for you to go through mailx Basics (Solaris Advanced User's Guide) - Sun Microsystems Smilie
# 3  
Old 09-07-2008
Java Debugging mailx

$ mailx -v -s "subject" address@domain.com < file

Is useful because the -v means you getting debugging info' including the conversation with the smtp mail server (and what smtp server it is talking to).
# 4  
Old 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 ..? Smilie

mailx-s instead of mailx -s
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Solaris10 and pxeLinux

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

2. Solaris

Msktutil on Solaris10

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

3. UNIX for Advanced & Expert Users

OpenLDAP and Solaris10 problems

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

4. Shell Programming and Scripting

Mailx: How to send a attachment using mailx command

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

5. Solaris

Solaris10

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

6. Solaris

Sun Solaris10

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

7. Solaris

Re: Crontab in solaris10

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

8. UNIX for Dummies Questions & Answers

Inst. Solaris10

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

9. UNIX for Dummies Questions & Answers

mailx error message : mailx: NUL changed to @

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

10. Solaris

help,win2003 and solaris10 in a pc?

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
Login or Register to Ask a Question