-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Friday, 2009-02-06 at 17:51 +0100, Roger Oberholtzer wrote:
On Fri, 2009-02-06 at 10:00 -0500, Patrick Shanahan wrote:
procmail solution:
...
D*mn you procmail scripters! Always a solution. :) :)
:-)
I am thinking I would put them in a dup directory as a start. But I will
have to try this. After I understand it.
Another one, without dups database:
:0f
* ^X-Mailinglist: opensuse-es
| /usr/bin/formail -bfi 'Reply-To: "OS-es" '
:0 a:
$HOME/Mail/lists/os-es
... more opensuse lists
# -- must be the last opensuse rule
:0f
* ^X-Mailinglist: opensuse
| /usr/bin/formail -bfi 'Reply-To: "OS-en" '
:0 a:
$HOME/Mail/lists/os-en
# ······ duplicates
:0
* ^TO_((opensuse-es|opensuse)@opensuse.org)
$HOME/Mail/lists/in_dups
# -- the rest is direct mail
:0
$HOME/Mail/lists/in_rst
The working is easy: first send to separate folders the mail that comes
from the opensuse server. Then, if you get another mail that has in the
TO, CC, or equivalent, the address of one of the lists, as it was not sent
from the list server (or the previous rule would have catched it) it is a
CCed email. It does not catch duplicates, only emails sent both to the
list and to you - which is enough and very safe.
Note that the above rules also add (locally!) a reply-to header. If your MUA
doesn't need it, then the rules become even easier.
- --
Cheers,
Carlos E. R.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
iEYEARECAAYFAkmMtf8ACgkQtTMYHG2NR9WjuwCcDavEZYIsPgYiFHWh2bEkWrTK
F+EAn3yQao6rGGRaL25rSYpezmXIiUre
=x7xl
-----END PGP SIGNATURE-----