Send mail from dead.letter

 
Thread Tools Search this Thread
Homework and Emergencies Emergency UNIX and Linux Support Send mail from dead.letter
# 1  
Old 09-15-2010
Send mail from dead.letter

Hi,
Can someone pls tell me how do i mail the contents of my dead.letter to my mail id. The problem is that the content is a multi-part message in MIME format. How do i get the original message mailed to me.

i used uuencode, but that does not work, says "uuencode not found"

Any help is greately appriciated..
# 2  
Old 09-15-2010
is it not already encoded?
have you tried sending as is?

Code:
mailx -s dead.letter you@host < dead.letter

# 3  
Old 09-15-2010
What Operating System and version do you have?

Where physically is the mailbox for "my mail id"? Is it on the server where you see "dead.letter" or somewhere else?

Can your normal mail reading software read the mailbox on the unix server directly and process the attachments? If so it is just a case of copying "dead.letter" to a mailbox which your mail reader can see.

If not, the issue is how to forward the message from a unix mailbox to the final destination mailbox. I've not been successful in reading attachments after manually forwarding a mail with the "mailx" "~F" command. Others may know better techniques.
# 4  
Old 09-15-2010
Code:
cat /usr/spool/mail/dead.letter >> /usr/spool/mail/raghu

Or maybe 'var' instead of 'usr'
# 5  
Old 09-16-2010
I am trying to forward the mail in the dead.letter to my outlook mailbox.
I am pretty sure the mail is encoded, says its in multi-part mime format.
i tried to send the mail as is to my mailbox in outlook, it does come, but in the same format that it is in already.
# 6  
Old 09-16-2010
What about "cat dead.letter | sendmail addess@example.com" ? I'm just making a wild guess so please, those of you who know better, feel free to throw ripe fruit at my head.
# 7  
Old 09-16-2010
Sorry to throw a pile of ripe lemons into the debate.

The format of unix delivered mail in a unix mailbox is suitable for reading by a unix-compatible mail reader. Forwarding the raw file to a Microsoft email reader does not seem to work (I've tried it) and extracting the encoded attachment and trying to decode it with "uudecode" also does not seem to work (I've tried it).

I believe that an email which ends up in "dead.letter" originates from that computer but has been sent to an incorrect local email address (or a mistyped external email address which has been interpreted as a local email address). Perhaps the O/P can re-send the email?

As the O/P is keeping quiet about the O/S environment we really cannot explore this further.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Client was not authenticated to send anonymous mail during MAIL FROM (in reply to MAIL FROM comm

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

2. Ubuntu

Not able to send mail out of UbuntuBox in send mail

Hi Guys.. yesterday i purchased a VPS server and installed sendmail on ubuntu 12.4 with Webmin & Apache runing webserver problem is.. i can send mail via webmin user interface account to anybody to out side to any domain and able to recieve any mail from any domain.. Now main... (2 Replies)
Discussion started by: cmdman
2 Replies

3. Shell Programming and Scripting

Solaris Server dectects EMC dead path and send mail immediately

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

4. UNIX for Advanced & Expert Users

need to configure mail setting to send mail to outlook mail server

i have sun machines having solaris 9 & 10 OS . Now i need to send mail from the machines to my outlook account . I have the ip adress of OUTLOOK mail server. Now what are the setting i need to do in solaris machines so that i can use mailx or sendmail. actually i am trying to automate the high... (2 Replies)
Discussion started by: amitranjansahu
2 Replies

5. UNIX for Dummies Questions & Answers

How to send html file in a mail not as an attachment but it should display in the mail in table for

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

6. Shell Programming and Scripting

dead.letter issue

Hi, I have created a script that has some sql queries in it. It seem to work fine and e-mails me the output file but when i use this command 'col email format a20' it creates a dead.letter file and i never get the e-mail I am using mailx -s command to send out the e-mail. Any help would... (0 Replies)
Discussion started by: shawnk
0 Replies

7. UNIX for Dummies Questions & Answers

Sending mail in the dead.letter file

Sorry for this one ladies and gents, it's probably very easy but I don't know how to, sound familiar :-) I'm using sendmail on a web server that sends some mail through forms, not many. I've got sendmail configured to use our networks relay host and everything was working well. The power... (4 Replies)
Discussion started by: mjdavies
4 Replies

8. Shell Programming and Scripting

what is dead.letter ??

Hi all can you please help me what is dead.letter file ? when it is created ? for the first time i have seen this file getting created in my current directory? I am using SunOs. Any IDEA ?? (2 Replies)
Discussion started by: jambesh
2 Replies

9. Shell Programming and Scripting

The shell of send letter

hi: I want to send a letter to all user of my server,and how to realize?(shell program) thanks! :) (3 Replies)
Discussion started by: main1984
3 Replies

10. UNIX for Dummies Questions & Answers

dead.letter

HI, I am pretty new to Unix...but here is 1 serious problem...atleast for me..:-) now..the dead.letter file in /var/tmp has been growin continuously..n i dont know why..I ve even killed the sendmail process..but the dead.letter file keeps on increasin..Can anyone tell me where do I start... (6 Replies)
Discussion started by: unisam
6 Replies
Login or Register to Ask a Question