unix mail questions


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers unix mail questions
# 1  
Old 05-01-2006
unix mail questions

Hi All,

Im trying to send a .ZIP file in an email message using mail or mailx. What is the easiest way to do this?

Thanks!

UPDATE: I used the following command which didnt work

mailx -s {my subject} {xxxxx@ssss.com} < /var/tmp/file.zip

Last edited by lewisoco; 05-01-2006 at 05:36 PM..
# 2  
Old 05-01-2006
mail or sendmail.. both will work the same..
I use sendmail..
# 3  
Old 05-01-2006
Hello,

Code:
uuencode file.tar.gz | mail admin@example.com < /dev/null

Try also with mutt:

Code:
mutt -a file.tar.gz admin@example.com < /dev/null

More info and examples at:

http://www.shelldorado.com/articles/...tachments.html

Regards,

--
Santi Saez
# 4  
Old 05-01-2006
Thanks. this worked:

uuencode file.zip | mail someone@somwhere.com
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

How can I send a mail from my outlook or other mail accounts to UNIX server?

Hi all, I want to send a mail for my business needs from outlook account to an unix server (HP-UX) but I don't send any mail. While I can send from the unix server to my outlook account, I can't send from outlook to unix. How can I achieve this ? How can I send a mail from my outlook or other... (2 Replies)
Discussion started by: igelegin
2 Replies

2. UNIX for Advanced & Expert Users

How to relay mail to mail server from Unix ?

Hi, I need to send email notifications from Unix/Linux box to users using mailx. In these Unix/Linux boxes mail is not configured however we are having mail server configured in our LAN. Could you please provide instructions to configure relay in these boxes so that we can relay our mails... (3 Replies)
Discussion started by: sourabhsharma
3 Replies

3. UNIX for Dummies Questions & Answers

Unix mail to personal mail, Strange behavour

Hi. I am running a script on solaris 10 and mailing it to my personal email. the script is ran as user xxx, And i have edited the crontab for user xxx to run the script and mail it to my email account. /network_check.sh | /usr/bin/mailx -s "Network Test" k454@hotmail.com the sript... (2 Replies)
Discussion started by: k00061804
2 Replies

4. UNIX and Linux Applications

Mail Collaboration software compatibility questions

Hi, this is my first post :) I've actually gained alot of help from this forum without even needing to sign up so that's pretty cool :cool: Ok I have a complete dilema and no idea even where this post belongs but I'm guessing this is the right place! I am currently switching my user machines... (0 Replies)
Discussion started by: Johnny SSH
0 Replies

5. UNIX for Dummies Questions & Answers

I have a questions about mail command

Any possibility to send a mail to internal mail using mail command? i am using fedora7. Example: username@192.168.1.1 (1 Reply)
Discussion started by: btech_raju
1 Replies

6. UNIX for Advanced & Expert Users

Mail/DNS problem and questions

It seems that mail from our servers are going through a third party security mail scanner (offsite), due the the mx records specified on our internal and external DNS servers. However, our internal user to user email does not go through the third party security mail scanner. I discovered... (2 Replies)
Discussion started by: xnightcrawl
2 Replies

7. UNIX for Dummies Questions & Answers

I am not able to send mail form unix to other mail accounts.

Using Mailx command i.e mailx -s "subject" chinni@hotmail.com < \tmp\chin this command executed sucessfully but not able to receive the mail in chinni@hotmail.com please help. (1 Reply)
Discussion started by: chinnigd
1 Replies

8. UNIX for Dummies Questions & Answers

.forward and alias mail forwarding questions

I am trying to configure sendmail to forward email to a PHP script. I don't know UNIX and am having trouble figuring out how to forward the mail. I think this is just a bunch of basic questions, but I have had little luck getting help elsewhere on my specific questions and it's driving me nuts. You... (3 Replies)
Discussion started by: bitt3n
3 Replies

9. IP Networking

E-Mail questions

Hi, guys ! I have two questions... and it will be great if someone could give me some clues or a point to start... 1. I have a Linux server (at work) and I'd like to replace it with a FreeBSD. The server is working as a mail server (and a lot of other things) using qmail and vpopmail. I'd like... (1 Reply)
Discussion started by: Sergiu-IT
1 Replies

10. UNIX for Dummies Questions & Answers

can not send mail from unix server to company/yahoo mail

hi, Gurus, I need some help with sending mail out from my UNIX server: It is running Solaris 2.6 and the sendmail version is 8.8. Output of :/usr/lib/sendmail -d0.1 -bt < /dev/null Version 8.8.8+Sun Compiled with: LOG MATCHGECOS MIME7TO8 MIME8TO7 NAMED_BIND NDBM NETINET ... (5 Replies)
Discussion started by: b5fnpct
5 Replies
Login or Register to Ask a Question