Sponsored Content
Top Forums UNIX for Dummies Questions & Answers How to delete all email messages at ONE time? Post 302079909 by yamiear on Thursday 13th of July 2006 03:56:06 PM
Old 07-13-2006
Not sure

Works on AIX 5.2

Mail [5.2 UCB] [AIX 5.X] Type ? for help.
"/var/spool/mail/maestro": 2 messages 2 new
>N 1 MAILER-DAEMON Tue Jul 11 20:29 83/2771 "Warning: could not send mess"
N 2 MAILER-DAEMON Wed Jul 12 00:29 83/2773 "Warning: could not send mess"

? d *
? quit
(maestro@)/usr/local/tivoli/maestro>mail
No mail for maestro
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

How do we delete spam email on mmdf

Please advise on how to delete spam email from mmdf email, and The Unix spec below: System = SCO_SV Release = 3.2v5.0.5 (2 Replies)
Discussion started by: esh
2 Replies

2. UNIX for Dummies Questions & Answers

Delete All email

If I have thousands of email to delete on the mail server POP3, is there a quick way to delete it all in one command instead of going into pine and deleting them one at a time?:cool: (2 Replies)
Discussion started by: foothillnet
2 Replies

3. Programming

How to delete email addresses

I need to delete old email addresses and can't them them out of my address I have a dell and am served by MSN? (Email address removed... Neo) (4 Replies)
Discussion started by: Deede
4 Replies

4. UNIX for Dummies Questions & Answers

How to delete old email addresses?

Help! Need to delete old email addresses from address book on Dell Windows 98............. -------- The subject line was one long string - I inserted spaces - oombera (1 Reply)
Discussion started by: Deede
1 Replies

5. UNIX for Dummies Questions & Answers

Cron to delete email help needed

I would like to know if I can place a cron job (and what it might be of course) to delete all the mail in an inbox? Here are the servers specs: Operating systemLinuxService StatusClick to ViewKernel version2.6.28.9Machine Typei686Apache version2.2.11 (Unix)PERL version5.8.8Path to... (2 Replies)
Discussion started by: markmatu
2 Replies

6. Shell Programming and Scripting

ftp, archive, email and delete from shell script

Hello, I found the forum’s information very helpful and informative. I am relatively new to UNIX programming. I am researching how to write a UNIX shell script to ftp all files from specific host folder to a client server. Also need to archive all transferred files, send a message (email) if any... (4 Replies)
Discussion started by: Lenora2009
4 Replies

7. 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

8. Shell Programming and Scripting

Sent output to email and empty folder at same time

Hi all, i want to sent output to email and folder at same time. This is my code : echo "Hello" | mailx -s "${SUBJECT}" "${email_add}" >> ${file} I only can sent output to my email but cannot sent to my empty folder....can i know how to done it? (1 Reply)
Discussion started by: proghack
1 Replies

9. Debian

sendmail taking too much time to send a email

Hi , I'm using sendmail command to send a email. To send a email sendmail taking 3minutes to complete the process. Is there any configuration needs to be done in server or another solution is there to resolve this issue. Thanks in Advance. Regards Latika (1 Reply)
Discussion started by: latika
1 Replies

10. Shell Programming and Scripting

MAILX too much time to send email

Hello, I am using heirloom-mailx on UBUNTU 11.04 to create a bash script that sends an e-mail with an attachment. The command invoked is : echo $BODY | mailx -v \ -S smtp=smtps://$smtpmailserver:465 \ -S from=$MITTENTE \ -S ssl-verify=ignore \ -S smtp-auth=login \ -S smtp-auth-user=$USER \... (8 Replies)
Discussion started by: occhiverdi1987
8 Replies
VACATION(1)						    BSD General Commands Manual 					       VACATION(1)

NAME
vacation -- return ``I am not here'' indication SYNOPSIS
vacation -dIi [-f databasefile] [-m messagefile] [-r interval] [-t interval] vacation -dj [-a alias] [-F F|R|S] [-f databasefile] [-m messagefile] [-s sender] [-T A|D] login DESCRIPTION
vacation returns a message to the sender of a message telling them that you are currently not reading your mail. The intended use is in a .forward file. For example, your .forward file might have: eric, "|/usr/bin/vacation -a allman eric" which would send messages to you (assuming your login name was eric) and reply to any messages for ``eric'' or ``allman''. Available options: -a alias Handle messages for alias in the same manner as those received for the user's login name. -d Turn debugging on; don't send an actual message, but print it on stdout. -f database_file Use the specified database_file prefix and append .db to it instead of $HOME/.vacation.db. -F F|R|S Make vacation additionally look in From: (F), Return-Path: (R), or Sender: (S) headers to determine the From: field. -i -I Initialize the vacation database files. It should be used before you modify your .forward file. -j Do not check if the recipient is present in the To: or Cc: lines. Usage of this option is strongly discouraged because it will result in vacation replying to mailing lists or other inappropriate places (e.g., messages that you have been Bcc to). -m message_file Use message_file instead of $HOME/.vacation.msg. -s sender Reply to sender instead of the value read from the message. -r interval -t interval Set the reply interval to interval days. If the interval number is followed by w, d, h, m, or s then the number is interpreted as weeks, days, hours, minutes, or seconds respectively. The default interval is one week. An interval of ``0'' means that a reply is sent to each message, and an interval of ``infinite'' (actually, any non-numeric character) will never send more than one reply. It should be noted that intervals of ``0'' are quite dangerous, as it allows mailers to get into ``I am on vacation'' loops. -T A|D Make vacation additionally look in Apparently-To: (A) or Delivered-To: (D) headers to determine the To: field. No message will be sent unless login (or an alias supplied using the -a option) is part of either the ``To:'' or ``Cc:'' headers of the mail. No messages from ``???-REQUEST'', ``Postmaster'', ``UUCP'', ``MAILER'', or ``MAILER-DAEMON'' will be replied to (where these strings are case insensitive) nor is a notification sent if a ``Precedence: bulk'' ``Precedence: list'' or ``Precedence: junk'' line is included in the mail headers. The people who have sent you messages are maintained as a db(3) database in the file .vacation.db in your home directory. vacation expects a file .vacation.msg, in your home directory, containing a message to be sent back to each sender. It should be an entire message (including headers). If the message contains the string $SUBJECT then it will will be replaced with the subject of the original mes- sage. For example, it might contain: From: eric@CS.Berkeley.EDU (Eric Allman) Subject: I am on vacation Delivered-By-The-Graces-Of: The Vacation program Precedence: bulk I am on vacation until July 22. Your mail regarding "$SUBJECT" will be read when I return. If you have something urgent, please contact Keith Bostic <bostic@CS.Berkeley.EDU>. --eric vacation reads the first line from the standard input for a UNIX ``From'' line to determine the sender. sendmail(8) includes this ``From'' line automatically. Fatal errors, such as calling vacation with incorrect arguments, or with non-existent logins, are logged in the system log file, using syslog(3). FILES
~/.vacation.db database file ~/.vacation.msg message to send SEE ALSO
syslog(3), sendmail(8) HISTORY
The vacation command appeared in 4.3BSD. BUGS
Adding -t A or -t D should only be done for misconfigured or non-compliant MTAs. Doing so may auto-respond to messages that were not sup- posed to be replied to. BSD
August 19, 2004 BSD
All times are GMT -4. The time now is 12:43 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy