Discard an email from Custom module
carsten at wolffcarsten.de
Thu Feb 26 10:09:17 CET 2015
On Wednesday 25 February 2015 17:12:19 Giovanni Mancuso wrote:
> i tried to write a Amavis::Custom module and i have a question.
> Can i DISCARD an email from Custom module?
> I tried to use delivery_method but there isn't a "transport" that can do it.
> Which is the right way?
I guess the best way is probably to assign a Contents Category like so:
and replace CC_CHOOSEONE by a Category that fits your case and is configured
to D_DISCARD (%final_destiny_maps_by_ccat).
More information about the amavis-users