02-07-2007
Script to delete mails from maildir
Hi buddies,
Anybody has any script to delete mails from Maildir/cur???
I mean is it possible to delete mails from Maildir/cur matching a particular subject like spam or fax???
Thanks in advance
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
I was wondering if someone can tell me what the difference is exactly between maildir and mbox.
We have a few solaris 9 systems here and would like to get an imap server running on them. I have setup fetchmail so that it retrives remote pop3 mail into an account, and that mail is then... (3 Replies)
Discussion started by: sugarat
3 Replies
2. UNIX for Dummies Questions & Answers
Hi,
I had a server hosting my website which kept all of my mail in a folder of my home dir called "mail". In that folder was "cur", "new", "tmp"... Which as I understand is the maildir format.
I just recently switched to a new server, and am attempting to transfer all my mail over, however,... (0 Replies)
Discussion started by: patrick99e99
0 Replies
3. Shell Programming and Scripting
Hi , ?im a newbie using shell scripts.
Is there any way to write a script that will delete all mails from my mailbox using mail or mailx command
Thanks for your time
E. Festas (2 Replies)
Discussion started by: ninjanesto
2 Replies
4. UNIX for Dummies Questions & Answers
How do I delete all my mails in the mailbox on Solaris?
$mail
? d *
Illegal numeric
?
d * does not work. Also I want to retain the mailbox.
Thanks,
Rahul. (3 Replies)
Discussion started by: rahulrathod
3 Replies
5. Red Hat
Friends,
I am new to the postfix mail servers. My setup was configured with the below
Mail Server(MTA,MRA) Postfix, Courier-IMAP
Operating System Redhat Enterprise Linux 5.4 .
SPAM Protection/Content Filter IMSS 7.1
DNS,LDAP BIND,OPENLDAP
WebMail ... (0 Replies)
Discussion started by: kmvinay
0 Replies
6. Solaris
My clientmqueue directory is almost 6.7GB. There are like a thousands of e-mail that are present. Is there any way to delete them or just delete them normally. Also while deleting them, do i need to shutdown my sendmail service?
Root FS is almost at 100%. Please help in this.
Thanks in... (1 Reply)
Discussion started by: aksijain
1 Replies
7. Shell Programming and Scripting
Hi,
when i run the mailx command it gives me the least of mails . suppose there are 1- 150 mails and i want to delete 30 to 145 mails . then what command i have to use here?
Thanks (6 Replies)
Discussion started by: aish11
6 Replies
8. Windows & DOS: Issues & Discussions
hi,
some of my email are going into the junk box. so i have stopped the email junk filtering as per the below link
Outlook 2013 Junk Email Filter - Litmus
but now the mails are going into delete box instead of my inbox.
so any idea how can i stop the junk emails going into delete box and... (2 Replies)
Discussion started by: mallikarjun7777
2 Replies
9. Shell Programming and Scripting
Hello Gurus,
I am facing some issues while doing the automation of some progs.
The requirement is if any prog fails with error automatically the script will send alert for such failed progs.
Below is the table structure:-
PROG_NAME Description... (1 Reply)
Discussion started by: pokhraj_d
1 Replies
10. Shell Programming and Scripting
I have a script which checks for swap usage of the unix server.
A cron job has been created to execute this script every hour and send the output via mail.
This output is only required for a particular duration and it can range anywhere from 6 hours to 10 hours. So we are commenting out the... (1 Reply)
Discussion started by: kiran1112
1 Replies
LEARN ABOUT XFREE86
git-mailsplit
GIT-MAILSPLIT(1) Git Manual GIT-MAILSPLIT(1)
NAME
git-mailsplit - Simple UNIX mbox splitter program
SYNOPSIS
git mailsplit [-b] [-f<nn>] [-d<prec>] [--keep-cr] [--mboxrd]
-o<directory> [--] [(<mbox>|<Maildir>)...]
DESCRIPTION
Splits a mbox file or a Maildir into a list of files: "0001" "0002" .. in the specified directory so you can process them further from
there.
Important
Maildir splitting relies upon filenames being sorted to output patches in the correct order.
OPTIONS
<mbox>
Mbox file to split. If not given, the mbox is read from the standard input.
<Maildir>
Root of the Maildir to split. This directory should contain the cur, tmp and new subdirectories.
-o<directory>
Directory in which to place the individual messages.
-b
If any file doesn't begin with a From line, assume it is a single mail message instead of signaling error.
-d<prec>
Instead of the default 4 digits with leading zeros, different precision can be specified for the generated filenames.
-f<nn>
Skip the first <nn> numbers, for example if -f3 is specified, start the numbering with 0004.
--keep-cr
Do not remove
from lines ending with
.
--mboxrd
Input is of the "mboxrd" format and "^>+From " line escaping is reversed.
GIT
Part of the git(1) suite
Git 2.17.1 10/05/2018 GIT-MAILSPLIT(1)