--sm4nu43k4a2Rpi4c
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

* Rocco Rutte <[EMAIL PROTECTED]>, 2002-05-11 10:48 -0400:
> Hi,
>=20
> * Michael Seiwert [05/11/02 16:19:05 CEST] wrote:
> > *On Sat, May 11, 2002 at 08:15:56AM -0600, dan radom wrote:
> > > * Michael Seiwert ([EMAIL PROTECTED]) wrote:
> > > > how to define imap mailboxes ???
>=20
> > > mailboxes `ls -1 /home/graffix/mail/* |egrep -v '(gz|drafts|sent)' | =
tr '\012' ' '`
>=20
> > I think that isn't the way you could to with imap mailboxes.
>=20
> Correct, for local (mbox?) only. You could try something like:

I use this for my local Maildirs:

mailboxes ! `ls $HOME/Maildir/ | tr " " "\n"  | tr "/" " " | grep -Ev "(cur=
|tmp|new|Draft|postponed|save|posted|Sent|sent|msgid.cache)" | mawk '{print=
 "+"$1}' | tr "\n" " "`

It's one ugly long line, and I'm sure one could clean the code up -
but it works for me.

>   mailbox imap://server/...
>=20
> ...and have a look at the archives of this list.
>=20
> Cheers, Rocco.

Have fun

-Andre

--sm4nu43k4a2Rpi4c
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE83TNmWkhBtALlJZ0RAlj2AKDsksn9uEn9c+wCjqo/efd2j/qQiQCfbjpK
4o+ADeHeApqTqA5JBlhuyYc=
=qIu9
-----END PGP SIGNATURE-----

--sm4nu43k4a2Rpi4c--

Reply via email to