* Nathan Cullen ([EMAIL PROTECTED]) [991111 03:45]:
> I am trying to figure out the syntax of the "alternates" option.
> The mutt manual says "A regexp that allows you to
> specify alternate addresses where you receive email".
> My question is, can I have multiple "alternates" (one for each email
> address), or do I have to bunch them all in to one big regex?

The value of "alternates" is a regex.

Here's mine as an example:

set alternates=
        (sven|guckes)(-[a-z]*)?@
        .*(\\.fu-berlin.de|slrn.org|vim.org|
         gmx.net|gmx.de|usa.net|guckes.net)|
         [EMAIL PROTECTED]

(Yes, this is one line, of course. ;-)

The part "(-[a-z]*)?" describes an *optional*
extension to the address before the '@',
eg as in "[EMAIL PROTECTED]".

This should catch most of my addresses:

   [EMAIL PROTECTED]                  my very private address
   [EMAIL PROTECTED]                    free email addresses used for..
   [EMAIL PROTECTED]                   ..making contact with me
   [EMAIL PROTECTED]                  my main address for slrn stuff (new!)
   [EMAIL PROTECTED]                   my main address for vi and vim stuff
   [EMAIL PROTECTED]         my main address at the university
   [EMAIL PROTECTED]    and some of my specialized..
   [EMAIL PROTECTED]    ..addresses used for filtering
   [EMAIL PROTECTED]                   my evil twin on comp.mail.pine

My complete setup is visible (as usual) on
http://www.math.fu-berlin.de/~guckes/setup/#mutt

Btw, mutt would be a LOT more useful for many people
if there was an additional flag for your work addresses.

Example:   set [EMAIL PROTECTED]

"Work mails" would then show up with a 'W'
and would be selectable with "~W".
Then you can easily focus on your work stuff
looking at new work mails with command ",W":

       macro index ,W "l~N ~W\n"

One more for the wishlist, I guess.

Sven  [Where do I apply for [EMAIL PROTECTED]?]

-- 
Sven [EMAIL PROTECTED]        | MUTT - a UNIX mailer with support for
MUTT WOOF!,,  Usenet: comp.mail.mutt | color+threading, IMAP,MIME+PGP+POP
MUTT   (__/'. http://www.mutt.org/   | Heavily documented setup file:
MUTT   /| |\  http://www.math.fu-berlin.de/~guckes/setup/muttrc

Reply via email to