Re: .promailrc help

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

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Phil wrote:
> well there is no specific pattern for the emails... they just might
> show up together in the same To: or CC: fileds...
> how does normal mail handle multiple recipients? this must be
> possible?

If it were me I'd look to some other headers first.  You'll often see
in the Received header a line like this:

Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.189])
        by mx3.redhat.com (8.13.1/8.13.1) with ESMTP id k67G9n2Y029875
        for <fedora-list@xxxxxxxxxx>; Fri, 7 Jul 2006 12:09:50 -0400

Also, you could make the procmail rule match either and then in a sub
rule (or nested rule, what procmail calls them) you could more
explicitly test the values in the to and cc headers.  The rules you
gave as examples were a little unspecific.  You could tighten them up
by using something like this as your pattern to match when support was
the only address in the to or cc field:

* ^(To|Cc): *support@domain$

There are probably many ways to solve this.  The procmail users lists
and archives are likely to be of greater assistance.

P.S. please don't top post [1] :)

[1] http://fedoraproject.org/wiki/MailinglistGuidelines#head-a4e45d45241080ebaac69b38af4bc469ca2a57ef

- -- 
Todd        OpenPGP -> KeyID: 0xD654075A | URL: www.pobox.com/~tmz/pgp
======================================================================
About all I can say for the United States Senate is that it opens with
a prayer and closes with an investigation.
    -- Will Rogers

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (GNU/Linux)
Comment: When crypto is outlawed bayl bhgynjf jvyy unir cevinpl.

iG0EARECAC0FAkSujXUmGGh0dHA6Ly93d3cucG9ib3guY29tL350bXovcGdwL3Rt
ei5hc2MACgkQuv+09NZUB1orhgCfZu4Tpa2KpBZ2992Bxh0hZ36ewscAn0x0pTRb
7ehP/O4i6rtLfnFi5ybP
=a8Et
-----END PGP SIGNATURE-----


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux