mailing-lists-sieve is a utility to generate Sieve scripts (RFC 5228) for listserv mailing lists and upload them with the ManageSieve (RFC5804) protocol. The program can be extended to generate scripts for other mailing list managers or upload them by other means. mailing-lists-sieve can integrate into listserv and upload the scripts for the mailing lists when a new subscriber is added or removed from the list.