Customized policy fields for Amavid-new
Mark.Martinec+amavis at ijs.si
Tue Mar 15 17:09:49 CET 2011
> Hi list! Everyone saw an example policy for amavisd-new , so my
> questions are: Can I add my own fields to this table
> (message_size_limit,bounce_message, etc)
> Will Amavisd understand customized fields, or it's impossible without
> code modification ( developing plugins,scripts,sources modification) ?
You may add arbitrary additional filelds to table 'policy',
amavisd will just ignore them - but they are available
through lookups for custom code, as entire SQL records
matching a query are read and cached for later by-field retrieval.
More information about the amavis-users