The Ihave extension permits a sieve script to test whether an extension is available before using it. This is intended to allow wider distribution of ready-made scripts.
This example uses the ereject command to reject a message, and falls back to discarding the message if ereject is not supported at runtime:
if ihave "ereject" { ereject "You're a spammer, Bob, and I don't want spam"; } else { discard; }
Archiveopteryx's behaviour is based on the final draft of RFC 5463; the RFC should be identical (possibly except for wording changes)
The Ihave support was added in Archiveopteryx 3.1.0.
In case of questions, please write to info@aox.org.
Last modified: 2010-11-19
Location: aox.org/sieve/ihave