Re: Filtering out duplicate messages
Sam Varshavchik <[email protected]> Sun, 31 Aug 2025 08:06:25 -0400
| Newsgroups | gmane.mail.maildrop |
|---|---|
| Message-ID | <[email protected]> |
This is a MIME GnuPG-signed message. If you see this text, it means that
your E-mail or Usenet software does not support MIME signed messages.
The Internet standard for MIME PGP messages, RFC 2015, was published in 1996.
To open this message correctly you will need to install E-mail or Usenet
software that supports modern Internet standards.
--===============3904673181206617325==
Content-Type: multipart/signed;
boundary="=_ripper.email-scan.com-58252-1756641985-0001";
micalg=pgp-sha1; protocol="application/pgp-signature"
This is a MIME GnuPG-signed message. If you see this text, it means that
your E-mail or Usenet software does not support MIME signed messages.
The Internet standard for MIME PGP messages, RFC 2015, was published in 1996.
To open this message correctly you will need to install E-mail or Usenet
software that supports modern Internet standards.
--=_ripper.email-scan.com-58252-1756641985-0001
Content-Type: text/plain; format=flowed; delsp=yes; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
Julian Gilbey writes:
> Hello!
>
> I've just switched to maildrop from mailagent
> (https://github.com/rmanfredi/mailagent) as mailagent has stopped
> working with the latest Perl in Debian (5.40).
>
> One feature that mailagent offered was a UNIQUE filter: if a message
> is addressed to both me and a mailing list I am subscribed to, I get
> two copies of the message. The UNIQUE filter was able to process a
> duplicate copy of a message in a different way from the first copy to
> arrive.
>
> Is there anything similar available in maildrop, or has someone
> written some code to achieve this effect?
This is usually a filter that checks for unique Message-ID: headers.
This can be done by calling out to reformail, and using its -D option.
`reformail -D 10000 $HOME/seen-msgids`
if ($RETURNCODE !=3D 0)
{
=E2=80=A6
}
--=_ripper.email-scan.com-58252-1756641985-0001
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit
-----BEGIN PGP SIGNATURE-----
iHUEABYKAB0WIQRupkKLJP96aW75pIOKYPgoojZS4gUCaLQ6wQAKCRCKYPgoojZS
4tzhAQCFQPhp3Jsyk55aqF4iK7rN+3f6N+ouZHvkM+JfPPttNAEAwN4LfHxPeY00
8f+qimhmh3SVrYB7rqbvz8/1A7oYMgY=
=3nfw
-----END PGP SIGNATURE-----
--=_ripper.email-scan.com-58252-1756641985-0001--
--===============3904673181206617325==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
--===============3904673181206617325==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
Courier-maildrop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/courier-maildrop
--===============3904673181206617325==--