Cameron Simpson | 2 Jan 00:34
Picon
Picon
Gravatar

Re: How to count new emails in mbox format mailbox?

On 25Dec2009 16:24, Christian Ebert <blacktrash <at> gmx.net> wrote:
| * Christian Ebert on Friday, December 25, 2009 at 16:22:34 +0000
| > Ah, you just want to remove empty mailboxes, then perhaps just
| > 
| > save_empty=no
| > 
| > is enough?
| > 
| > Otherwise something like:
| > 
| > # delete all empty file inside $mailhier
| > find $mailhier -type f -size 0 -exec rm -f {} \;
| 
| That's on the command line, in a script you have to escape {}:

No. You do not. { and } are not punctuation. (Versus "(" for example,
which is.)

Have you even tested this assertion?
--

-- 
Cameron Simpson <cs <at> zip.com.au> DoD#743
http://www.cskk.ezoshosting.com/cs/

Would you remember a one-line .sig?     - Paul Thompson, thompson <at> apple.com

Dennis Yurichev | 2 Jan 02:47

sort messages by deletion date/time


Hi.

Are there any possible option to sort messages in Trash folder by
date/time of deletion?
Sometimes, you already have few thousand messages in Trash, you delete
some message and you can't find it in Trash. It is possible to sort it
so to see messages deleted right now?

--

-- 
My PGP public key: http://yurichev.com/dennis.yurichev.asc
Cameron Simpson | 2 Jan 05:10
Picon
Picon
Gravatar

Re: sort messages by deletion date/time

On 02Jan2010 03:47, Dennis Yurichev <dennis <at> conus.info> wrote:
| Are there any possible option to sort messages in Trash folder by
| date/time of deletion?
| Sometimes, you already have few thousand messages in Trash, you delete
| some message and you can't find it in Trash. It is possible to sort it
| so to see messages deleted right now?

Try:
  :sort=mailbox-order
With mbox that should reliably sort by the order in which messages were
appended to the folder. But for IMAP or maildir I would not be so sure.

Anyone know?

Also, don't forget the (l)imit command - very handy for reducing your
view of a folder to make finding things easier.
--

-- 
Cameron Simpson <cs <at> zip.com.au> DoD#743
http://www.cskk.ezoshosting.com/cs/

It takes seven or eight people to send a FAX.   - Anonymous IRS guy

Picon

Re: sort messages by deletion date/time

* Dennis Yurichev <dennis <at> conus.info> [2010-01-02 03:47 +0200]:
> Are there any possible option to sort messages in Trash folder by
> date/time of deletion?
> Sometimes, you already have few thousand messages in Trash, you delete
> some message and you can't find it in Trash. It is possible to sort it
> so to see messages deleted right now?

Either 'o' (sort) or 'O' (reverse sort) then 'u" (unsort) within Mutt.
The following settings are equivalent and could be used within
folder-hooks:

set sort=mailbox-order

set sort=reverse-mailbox-order

Christian Ebert | 2 Jan 15:33
X-Face
Picon
Gravatar

Re: How to count new emails in mbox format mailbox?

* Cameron Simpson on Saturday, January 02, 2010 at 10:34:52 +1100
> On 25Dec2009 16:24, Christian Ebert <blacktrash <at> gmx.net> wrote:
>| * Christian Ebert on Friday, December 25, 2009 at 16:22:34 +0000
>|> Ah, you just want to remove empty mailboxes, then perhaps just
>|> 
>|> save_empty=no
>|> 
>|> is enough?
>|> 
>|> Otherwise something like:
>|> 
>|> # delete all empty file inside $mailhier
>|> find $mailhier -type f -size 0 -exec rm -f {} \;
>| 
>| That's on the command line, in a script you have to escape {}:
> 
> No. You do not. { and } are not punctuation. (Versus "(" for example,
> which is.)

Right.

> Have you even tested this assertion?

I could swear I did, which is why I did it like this in my shell
scripts ... but I take everything back ...

How about:

find $mailhier -type f -size 0 -delete

(Continue reading)

Christian Brabandt | 2 Jan 15:39

Re: How to count new emails in mbox format mailbox?

Hi Christian!

On Sa, 02 Jan 2010, Christian Ebert wrote:

> How about:
> 
> find $mailhier -type f -size 0 -delete

I believe -delete is not portable

regards,
Christian
--

-- 
hundred-and-one symptoms of being an internet addict:
46. Your wife makes a new rule: "The computer cannot come to bed."

Joseph L. Casale | 3 Jan 03:34

Using mutt to send mail w/o a local box

Hi,
Since mutt does mime encoding and allows all the configuration I need for a
daemon to send mail with specific headers I was hoping to use it instead of
mpack. Problem is, since there is no local mail delivery or mail boxes on
the server, how can I configure my muttrc to allow mutt to function w/o?

Thanks,
jlc

Rado S | 3 Jan 04:01
Picon
Picon

Re: Using mutt to send mail w/o a local box

=- Joseph L. Casale wrote on Sun  3.Jan'10 at  2:34:30 +0000 -=

> Since mutt does mime encoding and allows all the configuration I
> need for a daemon to send mail with specific headers I was hoping
> to use it instead of mpack. Problem is, since there is no local
> mail delivery or mail boxes on the server, how can I configure my
> muttrc to allow mutt to function w/o?

Use built-in smtp of latest dev-mutt.
Note mutt is still no MTA or MDA.

--

-- 
© Rado S. -- You must provide YOUR effort for your goal!
EVERY effort counts: at least to show your attitude.
You're responsible for ALL you do: you get what you give.

Joseph L. Casale | 3 Jan 04:05

Re: Using mutt to send mail w/o a local box

>Use built-in smtp of latest dev-mutt.
>Note mutt is still no MTA or MDA.

Hi,
Thanks for the help, Postfix no this box is significantly configured
for various destinations etc, is there no way to allow mutt to simply
avoid using a mailbox, but still use the local mta?

Thanks again!
jlc

Rado S | 3 Jan 04:13
Picon
Picon

Re: Using mutt to send mail w/o a local box

=- Joseph L. Casale wrote on Sun  3.Jan'10 at  3:05:22 +0000 -=

> Thanks for the help, Postfix no this box is significantly
> configured for various destinations etc, is there no way to allow
> mutt to simply avoid using a mailbox, but still use the local mta?

Umm, I don't see the connection there, how "use mailbox"?
Rephrase or elaborate.

And please don't Cc: me, I'm subscribed or else I couldn't have
replied at all, thanks.

--

-- 
© Rado S. -- You must provide YOUR effort for your goal!
EVERY effort counts: at least to show your attitude.
You're responsible for ALL you do: you get what you give.


Gmane