From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/67739 Path: news.gmane.org!not-for-mail From: Seweryn Kokot Newsgroups: gmane.emacs.gnus.general Subject: regexp for nnmail-split-methods Date: Mon, 03 Nov 2008 18:56:01 +0100 Message-ID: <87r65sithq.fsf@poczta.po.opole.pl> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1225734871 25929 80.91.229.12 (3 Nov 2008 17:54:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 3 Nov 2008 17:54:31 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M16190@lists.math.uh.edu Mon Nov 03 18:55:15 2008 connect(): Connection refused Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.50) id 1Kx3d2-0000bS-1v for ding-account@gmane.org; Mon, 03 Nov 2008 18:54:16 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1Kx3be-0004Ky-3b; Mon, 03 Nov 2008 11:52:50 -0600 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1Kx3bd-0004Kn-4I for ding@lists.math.uh.edu; Mon, 03 Nov 2008 11:52:49 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.69) (envelope-from ) id 1Kx3ba-0002I6-D3 for ding@lists.math.uh.edu; Mon, 03 Nov 2008 11:52:49 -0600 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1Kx3bj-00060f-00 for ; Mon, 03 Nov 2008 18:52:55 +0100 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Kx3bT-00049u-VD for ding@gnus.org; Mon, 03 Nov 2008 17:52:39 +0000 Original-Received: from nat-warynskiego.po.opole.pl ([217.173.199.132]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 03 Nov 2008 17:52:39 +0000 Original-Received: from sewkokot by nat-warynskiego.po.opole.pl with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 03 Nov 2008 17:52:39 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 21 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: nat-warynskiego.po.opole.pl X-Operating-System: Debian GNU/Linux User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) Cancel-Lock: sha1:xbgSkzQuPbglWnkCNQMk4gGFdiE= X-Spam-Score: -3.6 (---) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:67739 Archived-At: Hello, I have a problem with setting nnmail-split-methods, namely I want that messages from "foo@domain.com" address go to "nnml:mail.foo" mailbox and all the other messages from ".*@domain.com" (except "foo@domain.com") go to "nnml:mail.others" mailbox. Up to now I have such a regexp: (setq nnmail-split-methods '(("nnml:mail.others" "^From:.*[^f][^o][^o]@domain\\.com") ("nnml:mail.foo" "^From:.*foo@domain\\.com") ("nnml:mail.inbox" ""))) however there are some messages (for example from "bob@domain.com") which end up in "nnml:mail.inbox". How to create a regexp something like "^From:.*NOT(foo)@domain\\.com"? Thanks in advance. -- regards, Seweryn