Email files


 
Thread Tools Search this Thread
Operating Systems HP-UX Email files
# 1  
Old 05-13-2010
Email files

How to delete old Emails from HP UX system?
Thanks
# 2  
Old 05-16-2010
Your post is somewhat vague and warrants a vague response.

In general unix mail successfully received by sendmail on HP-UX is held in named files in directory /var/mail where the filename is the username. It is usually safe to null a mail file with ">mailfilename". Providing that you avoid filenames which are the same as unix usernames it is usually safe to copy a mailfile within /var/mail prior to nulling the original file.

Of you are talking about undelivered mail stuck in directory /var/spool/mailq it becomes more complicated.
# 3  
Old 05-31-2010
ELM

Quote:
Originally Posted by ldaliosmane
How to delete old Emails from HP UX system?
Thanks
After login:
You have Mail !
ELM
"d" for delete (On each mail you want to delete)
"q"
Answer "Delete messages?" with yes

Regards
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Files availability with count in email

Hi all, we have a requirement , we need to check the files availability in the unix folder and their record counts need to be emailed as attached format Files Count File_1 123 File_2 1898 File_3 29 File_4 456 File_5 123 (2 Replies)
Discussion started by: KK230689
2 Replies

2. UNIX for Dummies Questions & Answers

Send Files as Attachments through email

Dear Members, I am trying to send a file as an attachment from the command prompt in Linux. I am using the following: (echo "Find attached Exception Report"; uuencode $DATA_TOP/out/data/$err_rpt_file $err_rpt_file)|/bin/mailx -s "***Exceptions Found" davidk@xyz.com Here err_rpt_file... (2 Replies)
Discussion started by: sandeep_1105
2 Replies

3. UNIX for Dummies Questions & Answers

Zipping files and sending email

Hi, I need to zip 4 files and send an email attaching the zipped files... Pls help.. Win ---------- Post updated at 10:49 AM ---------- Previous update was at 10:36 AM ---------- Hi, I need to convert 4 text files into xls,zip these 4 files and send an email attaching the... (2 Replies)
Discussion started by: win4luv
2 Replies

4. Shell Programming and Scripting

need to send files to an email id

Hi,I would like to send all the files in a particular folder to an e-mail id .I am able to send a particular file via email but that gets displayed in the email as content using the mailx option. I just want to view it in the mailbox as an attached file. Could you please help me out in... (1 Reply)
Discussion started by: arunkumarmc
1 Replies

5. Shell Programming and Scripting

zip and email files

Hi, New to Unix and trying to do something - I am trying to zip bunch of file and email - /sbin/sh If i use mail then I can not specify subject - uuencode file.zip file.zip | mail -s "testfile" mailadd@group.com Error is - mail: illegal option -- s If i use mailx then I can specify... (7 Replies)
Discussion started by: bhush782003
7 Replies

6. Shell Programming and Scripting

Notifying changes in files through email

Hey folks Thank you for helping me.I find this website so useful and handy.My latest issue is about notifying change in files say file.txt,file2.sh ...etc to a group of people using sendmail.We are using bash here. --CoolKid (4 Replies)
Discussion started by: coolkid
4 Replies

7. UNIX for Dummies Questions & Answers

where are my email log files

I am trying to find the email log file that would have info on users downloading their pop mail. Our email is hosted on a unix server running apache. I am not sure the exact version of mail software running, but when I telnet to the mail server the response I get is this "+OK POP3 v2003.83rh... (3 Replies)
Discussion started by: mstarcom
3 Replies

8. Shell Programming and Scripting

Sending an email with more than one files

Hi, I would like to send an email with more than one attachement. I am using uuencode. I want to achive by suing uuencode. Also please let me know other ways. -Thambi (7 Replies)
Discussion started by: thambi
7 Replies

9. UNIX for Dummies Questions & Answers

Email multiples attachment files

I have a program the will split a large file into smaller files. It works great. I, however, have problem of email these file out to other people: I may have 1 or more files afer SPLIT datafileaa datafileab datafileac manually: mailx -s "data" email@email.com<datafileaa mailx -s... (5 Replies)
Discussion started by: bobo
5 Replies

10. UNIX for Dummies Questions & Answers

Email files with files - wild character

Dear friends: I have these data files: fileaa fileab fileac filead I want to email these file to someone. How can I email EACH SINGLE FILE with a wild card character? mail john@mail.com<fileaa mail john@mail.com<fileab ...............................ac... (4 Replies)
Discussion started by: bobo
4 Replies
Login or Register to Ask a Question