Hello Bastian, Thanks for the advice, I will consider it. I am pretty sure to know how to do this.
However, because the CardDav server is on the same host, I think it should not be an issue. I made a few tests, and the performances are even better than some anti-spam milters like SpamAssassin... The other reason is I want to add headers to the email, and let the users decide how they want to process personal emails. Perhaps I can add headers with a global sieve filter as well, and have the same result. André. On 12 March 2018 05:20:00 GMT+00:00, Bastian Blank <bastian+postfix-users=postfix....@waldi.eu.org> wrote: >On Fri, Mar 09, 2018 at 11:53:00AM +0000, André Rodier wrote: >> I would like to know if there is any milter for postfix that would >let >> me query a CardDav server? > >Well, don't. Milter is latency sensitive and it will break mail >delivery if you don't manage to get it right. > >If you use the correct Sieve implementation you can ask it to run stuff >for you: > >https://raw.githubusercontent.com/dovecot/pigeonhole/master/doc/rfc/spec-bosch-sieve-extprograms.txt > >Bastian -- André Rodier