[...]

>> - The SieveFactory takes a SieveScript inputstream, and a Mail adapter,
>> and returns a list of Action that results from the sieve script
>> execution against the supplied email.
> 
> +1
> 
> Perhaps provide a “default” MailAdapter? In that case, then the factory could 
> even just take an email and a SieveScript InputStream and apply the default 
> MailAdapter. The method with the MailAdapter signature would only be needed 
> for custom MailAdapters.

JSIEVE (core) don't depend on "mailet-api". For the sake of minimalist
dependencies, I am not sure this is a dependency we want to add. We will
have to "adapt" things all the time then.

Regards,

Benoit

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org

Reply via email to