LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-21-2009, 01:05 AM   #1
sherimm
LQ Newbie
 
Registered: Nov 2007
Posts: 27

Rep: Reputation: 15
uuencode


Hi,

We have an issue in sending attachements to gmail id from a linux server.

command is mailing some special characters instead of attaching a file.

we are using "uuencode" command to send the attachments.

pls find below for server info and uuencode version

Red Hat Enterprise Linux ES release 4 (Nahant Update 5)

uuencode version

uuencode - GNU sharutils 4.2.1


pls help us


regds
Sheri
 
Old 01-21-2009, 03:52 PM   #2
NyteOwl
Member
 
Registered: Aug 2008
Location: Nova Scotia, Canada
Distribution: Slackware, OpenBSD, others periodically
Posts: 512

Rep: Reputation: 139Reputation: 139
Not sure I follow what you mean by special characters.

UUENCODE converts a file, ascii or binary into 7 bit ascii and places it in the body of an e-mail for transmission. This obviates the need to "attach" a file since it is infact part of the message. The recipient then runs UUDECODE against the message to retreive the original file form.

RHEL comes with pad support. What did RedHat say?
 
Old 01-21-2009, 04:14 PM   #3
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,461

Rep: Reputation: 7933Reputation: 7933Reputation: 7933Reputation: 7933Reputation: 7933Reputation: 7933Reputation: 7933Reputation: 7933Reputation: 7933Reputation: 7933Reputation: 7933
Quote:
Originally Posted by sherimm View Post
Hi,

We have an issue in sending attachements to gmail id from a linux server.
command is mailing some special characters instead of attaching a file.

we are using "uuencode" command to send the attachments.

pls find below for server info and uuencode version
Red Hat Enterprise Linux ES release 4 (Nahant Update 5)
uuencode version
uuencode - GNU sharutils 4.2.1

pls help us
How about telling us what the actual error is? What are the 'special characters'?? Details about what you're trying to send? Anything?

Just saying the versions of what you're using, doesn't give us alot to go on. I agree with NyteOwl...contact RedHat...you're paying for support, and should use it.

Also, please spell out your words...
 
Old 01-22-2009, 02:19 AM   #4
sherimm
LQ Newbie
 
Registered: Nov 2007
Posts: 27

Original Poster
Rep: Reputation: 15
i found below command to send an attachment to gmail from a unix box.

mutt

i tried to send an attchment with the below syntax

mutt -s "subject" -a attachfile muraliserii14@gmail.com

it did work, but i haven't recieved any email to above gmailid.

could you please expalin how it works

regds
Sheri
 
Old 01-22-2009, 02:47 AM   #5
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
Quote:
Originally Posted by sherimm View Post
it did work, but i haven't recieved any email to above gmailid.
You should look at the mail logs for error messages coming from the mail server. See for example in /var/log/messages or /var/log/maillog.

As alternative to the above commands, you can try uuenview (slightly different from uuencode) coming with the package uudeview-0.5.20-1.el4. Here is an example:
Code:
/usr/bin/uuenview -m "mail.receiver@some.domain" -f "mail.sender@some.domain" -s "subject" -a attachfile << EOF

Greetings!

(see attached file: attachfile)

EOF
This will send a mail from mail.sender@some.domain to mail.receiver@some.domain using sendmail as carrier.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem using uuencode hashbangbinbash Linux - Newbie 2 04-17-2008 09:54 AM
does fedora have uuencode? sorno Linux - Newbie 2 08-07-2005 07:40 AM
uuencode doesn't attach on linux bigearsbilly Programming 1 02-10-2005 09:57 AM
uuencode Berhanie Programming 4 11-27-2004 07:33 PM
where to get : uuencode, uncompress, compress RitaChin Linux - General 3 06-20-2003 11:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:24 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration