how can i recd error log on my sent mails?


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers how can i recd error log on my sent mails?
# 1  
Old 08-13-2006
how can i recd error log on my sent mails?

I am using the following command to send mail which comprises of a message body (mail_msgbody.txt), Subject(rtf attachment) and a RTF attachment.
Code:
 
uuencode ${FILE_NAME} ${FILE_NAME} >> mail_msgbody.txt
mailx -s"rtf attachement" aaa@yahoo.com < mail_msgbody.txt

When I send mail ...how can I recv Error Messages Log?
Like I send the mail to aaa@yahoo.com ... what if aaa@yahoo.com is an invalid user now, or the inbox is full or for that matter any error whereby my mail doesnt reach him....
Can anyone help????????????????
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

can not see mails

Hi, on AIX 6.1, I want to verify my night batch then I issued mail and : > mail /tmp: No space left on device What does it mean ? How can I see my mails ? What shoud I do ? Also : df -k /dev/hd3 131072 125676 5% 46 1% /tmp Thank you. (5 Replies)
Discussion started by: big123456
5 Replies

2. Shell Programming and Scripting

Storing a log file of delivered mails

Hi, I have a program which creates some report and sends it to the users. There are around 15000 users . I guess because of this huge number the mail exchange server is unable to deliver all the mails. So i want to create a log to see who are all the user to whom the report was delivered. I am... (2 Replies)
Discussion started by: gnagendr
2 Replies

3. SuSE

mails not getting sent ...

Guys I have not much idea on suse or any other linux flavour. This is what i have: cat /etc/issue Welcome to SUSE LINUX Enterprise Server 9 (i586) - Kernel \r (\l). ps -ef |grep postfix |grep -v grep root 18620 1 0 Mar17 ? 00:00:00 /usr/lib/postfix/master postfix ... (0 Replies)
Discussion started by: ak835
0 Replies

4. Linux

Mails group

Ok, i am using backupPC for backup machines, backuppc can send mail to one person, while i cannot get how to configure many users which seems kind of headache, i want to set a group with a mail so when i send to it it sends to all group members, can i do that using sendmail? again i want a group... (0 Replies)
Discussion started by: XP_2600
0 Replies

5. Solaris

Delete email recd

Hello All, For many users, .forward file has been created to forward the emails from UNIX (SUN 5.8) to Exhcnage server. Is there any way to delete the email as soon as it comes to the mailbox on UNIX (without the same being forwarded to the Exchange Server)? Thanks! suismilyadon (2 Replies)
Discussion started by: suismilyadon
2 Replies

6. Shell Programming and Scripting

job generating error mails

Hi Is there any way we can findout which job/process in unix environment is generating error mails. I am continuously getting it with no subject.. I know the hostname. And the error in mail - SQL server timed out. There are hundreds of jobs runing there. How can we find the culprit... (3 Replies)
Discussion started by: manojgarg
3 Replies

7. UNIX for Dummies Questions & Answers

bcc in mails

Hi, how to put some receipients for mail in bcc and some receipients in to. (2 Replies)
Discussion started by: prasee
2 Replies

8. Shell Programming and Scripting

error while sending mails through MKS

#!/bin/ksh email0="dummy@company.com" emails() { # mail Generation echo "Hi" | /mapimail -s "-(Test Mail)From Production- `date`" $email0; } emails i receive the following error IDispatch::new MSMAPI.MAPISession failed: 800401f3 at... (0 Replies)
Discussion started by: Vrgurav
0 Replies

9. Shell Programming and Scripting

undeleiverd mails

Could anyone tell me where the undelivered mails are stored in unix . i m using IBM AIX 3 version. when i give command mail.it shows me all the mail .but where exactly the mails are stored esp undelivered ones (1 Reply)
Discussion started by: ali560045
1 Replies

10. UNIX for Dummies Questions & Answers

sneding mails out

Hi all, I am trying to setup a client (on separate network) to send mail via our local SMTP server. I do have responce when I do #telnet mailhost 25 therefore, I can establish connection between the 2. however, when I try to send out testing mail, the following mail is returned in my... (1 Reply)
Discussion started by: stancwong
1 Replies
Login or Register to Ask a Question
TNEF(1) 						      General Commands Manual							   TNEF(1)

NAME
tnef - decode Microsoft's Transport Neutral Encapsulation Format SYNOPSIS
tnef [options] [FILE] tnef {--help | --version} DESCRIPTION
This manual page documents the tnef filter. tnef decodes e-mail attachments encoded in Microsoft's Transport Neutral Encapsulation Format (hereafter, TNEF), which "wraps" Microsoft e-mail attachments. Unfortunately, these "wrapped" attachments are inaccessible to any e-mail client that does not understand TNEF. Fortunately, the tnef fil- ter can be used by any MIME-aware client to unpack these attachments. OPTIONS
-f FILE, --file=FILE use FILE as input ('-' denotes stdin). When this option is omitted, tnef reads data from stdin. -C DIR, --directory=DIR unpack file attachments into DIR. -x SIZE, --maxsize=SIZE limit maximum size of extracted archive (bytes) -t, --list list attached files, do not extract. -w, --interactive, --confirmation ask for confirmation for every action. --overwrite when extracting attachments, overwrite existing files. --number-backups when extracting attachments, if file FOO will be overwritten, create FOO.n instead. --use-paths honor file pathnames specified in the TNEF attachment. For security reasons, paths to attached files are ignored by default. --save-body FILE Save message body data found in the TNEF data. There can be up to three message bodies in the file, plain text, HTML encoded, and RTF encoded. Which are saved is specified by the --body-pref option. By default the message bodies are written to a file named message with an extension based upon the type (txt, html, rtf). --body-pref PREF Specifies which of the possibly three message body formats will be saved. PREF can be up to three characters long and each charac- ter must be one of 'r', 'h', or 't' specifying RTF, HTML or text. The order is the order that the data will be checked, the first type found will be saved. If PREF is the special value of 'all' then any and all message body data found will be saved. The default is 'rht'. --save-rtf FILE DEPRECATED. Equivalent to --save-body=FILE --body-pref=r -h, --help show usage message. -V, --version display version and copyright. -v, --verbose produce verbose output. --debug enable debug output. EXAMPLE
The following example demonstrates typical tnef usage with a popular Unix mail client called "mutt". Step 1 -- Configure ~/.mailcap Mutt can't use tnef for its intended purpose until an appropriate content type definition exists in ~/.mailcap . Here's a sample defini- tion: application/ms-tnef; tnef -w %s This mailcap entry says that whenever the MIME content type: application/ms-tnef is encountered, use this command to decode it: tnef -w %s The latter command string invokes tnef, specifying both the -w option and the attachment (created as a temporary file) as command line arguments. Step 2 -- Add The Filter To $PATH Mutt can't invoke tnef if the filter isn't accessible via $PATH. Step 3 -- Test Mutt Use mutt to read a message that includes a TNEF attachment. Mutt will note that an attachment of type "application/ms-tnef is unsup- ported". Press the "v" key to open mutt's "view attachment" menu. Move the cursor over the TNEF attachment and press the enter key to "view" the attachment. Mutt will launch tnef and invoke it using the command line syntax specified in ~/.mailcap (step 1). tnef then decodes all file(s) included in the TNEF attachment, prompting for confir- mation prior to creating an individual file (refer to -w option above). -w is useful here because it gives the end user a chance to view the filename(s) included in the mail message. Note that Mutt's attachment menu also supports a pipe option, which permits the user to pipe attachments to an external filter (how conve- nient). So, to list the contents of a TNEF attachment prior to decoding it, press the "|" key and enter this command: tnef -t SEE ALSO
metamail(1), mailcap(4), mutt(1), other email clients. AUTHOR
Mark Simpson. REPORTING BUGS
Report bugs to Mark Simpson <verdammelt@users.sourceforge.net> OTHER REFERENCES
This web page: http://support.microsoft.com/support/kb/articles/Q136/2/04.asp describes how to configure Microsoft email clients so that the TNEF format is disabled when sending messages to non-TNEF-compatible clients. Filter TNEF MIME Decoder TNEF(1)