[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: help with "nnmail-split-methods", please.

From: Tassilo Horn
Subject: Re: help with "nnmail-split-methods", please.
Date: Tue, 27 Feb 2007 21:50:34 +0100
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.94 (gnu/linux)

Xingang Zhang <> writes:

Hi Xingang,

> Say, for example, If I would like to split all the incoming mails
> which address is *either* "" *or* "" to
> my "mail.buddy" folder, how should I implement it with
> nnmail-split-methods? Any input is very welcome. Please comment a lot
> if possible. :) Thanks.

(setq nnmail-split-methods 'nnmail-split-fancy
      ;; Messages from the mailer daemon are not crossposted to any of
      ;; the ordinary groups.  Warnings are put in a separate group
      ;; from real errors.
      '(| ;; Try all alternatives till one matches
        ;; Split into mail.buddy
        (from ""    "mail.buddy")
        ;; Split into mail.buddy, too.
        (from "" "mail.buddy")
        ;; Unmatched mail goes to the catch all group.

Have a look at (info "(gnus)Fancy Mail Splitting").

          "Emacs is not a development tool but a way of life."
                - David Kastrup in alt.religion.emacs -

reply via email to

[Prev in Thread] Current Thread [Next in Thread]