02-08-2007
Depending on where the maildir is, you can always write a small script to delete them as per predefined RegExp - there are a lot of scripts in the net.
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 DEBIAN
smd-translate
smd-translate(1) Sync Mail Dir (smd) documentation smd-translate(1)
NAME
smd-translate - translates mailbox names according to predefined patterns
SYNOPSIS
smd-translate [-m mode] [-d direction] endpoint mailbox
DESCRIPTION
smd-translate translates mailbox names according to predefined patterns. It is designed to be used in the configuration file of smd-
push(1) and smd-pull(1).
Refer to smd-config(5) for a longer discussion on translators.
Supported modes follow.
oimap-dovecot
This mode is designed to make the transition of offlineimap users to smd simpler. It assumes remote mailboxes are named like in the follow-
ing:
Maildir/cur
Maildir/.sub.folder/new
The corresponding local mailboxes are named like in the following:
Mail/cur
Mail/sub.folder/new
nodots
This mode simply gets rid of all dots. It assumes remote mailboxes are named like in the following:
Maildir/cur
Maildir/.sub.folder/new
The corresponding local mailboxes are named like in the following:
Mail/cur
Mail/sub/folder/new
move
This mode just replaces the root of the mailbox, i.e. substitutes MAILBOX_LOCAL for MAILBOX_REMOTE and viceversa.
USAGE IN CONFIGURATION FILE
Assuming the MAILBOX_LOCAL configuration variable is set to Mail and the MAILBOX_REMOTE is set to Maildir, one can use the following con-
figuration file snippet in ~/.smd/config.endpoint:
TRANSLATOR_RL="smd-translate -m oimap-dovecot -d RL endpoint"
TRANSLATOR_LR="smd-translate -m oimap-dovecot -d LR endpoint"
To test your setup use the smd-check-conf(1) utility.
OPTIONS
-m mode
One of the supported modes listed above
-d direction
One of RL or LR
endpoint
Is the suffix for the name of the configuration file to use
mailbox
The mailbox name to translate
FILES
~/.smd/config.*
SEE ALSO
smd-push(1), smd-pull(1), smd-config(5), smd-check-conf(1)
AUTHOR
Enrico Tassi <gares@fettunta.org>
11 June 2012 smd-translate(1)