Re: Procmail Nesting
- To: mutt-users@xxxxxxxx
- Subject: Re: Procmail Nesting
- From: Kyle Wheeler <kyle-mutt@xxxxxxxxxxxxxx>
- Date: Wed, 10 Oct 2007 17:46:58 -0500
- Comment: DomainKeys? See http://domainkeys.sourceforge.net/
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed; d=memoryhole.net; h=date:from:to:subject:message-id:references:mime-version:content-type:in-reply-to; q=dns/txt; s=default; bh=wBhOe/TzYYq5AcRucIsQZYGUghE=; b=Vo6o9/Hja+Eyp9IUiUn7rmKPqqpYnrXT4h14r7hJIJn0fJWcIvAzjgmpWVnIUWfdI2w7ReHLFWP//aKbH07QWxAHJ7Uej+0XGbN+sWpQm3v720FDI1WLsyg2s2uzLwFYkGw4EcbdE04vr9yaj5dEFhcqZzslTMAugNzjPXIaISk=
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=memoryhole.net; b=V+Lew4oGERMRDcUbfeNtkd1OZx7GGTDU0221aK2IbMaqxwHlC5zV33IX4pAHHF64yHC2LyaJQNkEeMtHFSsGCY+jcaMryRX+O3hrtgvMHYE2V/zVyV2fVYgt052cXK48uA5G+wKJg4IbvP2Z0b5Tjxvd9GsnTxTdpLEIZidzqUc=; h=Received:Received:Date:From:To:Subject:Message-ID:Mail-Followup-To:References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To:User-Agent;
- In-reply-to: <20071010222908.GA92256@xxxxxxxxxx>
- List-post: <mailto:mutt-users@mutt.org>
- List-unsubscribe: send mail to majordomo@mutt.org, body only "unsubscribe mutt-users"
- Mail-followup-to: mutt-users@xxxxxxxx
- References: <20071010222908.GA92256@xxxxxxxxxx>
- Sender: owner-mutt-users@xxxxxxxx
- User-agent: Mutt/1.5.16 (2007-09-19)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Wednesday, October 10 at 03:29 PM, quoth Rem P Roberti:
> Is it possible to use curly braces to nest conditions? For example,
> there are two addresses that can be used for the FreeBSD mailing
> list to which I subscribe, and I would like to incorporate them both
> into the same recipe.
This is really a procmail question... which you should probably be
asking on a procmail-users list.
But the short answer is that yes, you can nest conditions, like so:
:0 H
* basecondition
{
:0 H
* subcondition1
deliversomewhere
:0 H
* subcondition2
deliverelsewhere
}
But the situation you describe sounds more like something you'd use
stronger conditions for, like so:
:0 H
* From:.*(address1|address2)
FreeBSDmailbox
~Kyle
- --
No one really listens to anyone else, and if you try it for a while
you'll see why.
-- Mignon McLaughlin
-----BEGIN PGP SIGNATURE-----
Comment: Thank you for using encryption!
iD8DBQFHDVZiBkIOoMqOI14RAlgTAJ97rWNdxWFgsKCZbr+w582zrvvGXgCeIts6
HlaQo2EnOFivws75E9AP7mY=
=Tnkd
-----END PGP SIGNATURE-----