Custom notification template question
Mark Martinec
Mark.Martinec+amavis at ijs.si
Wed Apr 4 20:15:02 CEST 2012
Antoine,
> I'd like to be able to put the 'secret_id' value into a custom
> notification template. I've looked at the README.customize file but
> can't find a built-in macro that would expose it.
There isn't any, but is easy to add.
> I understand it must be a normal restriction but how can I achieve that?
> By defining a custom macro?
Try the attached trivial patch, it makes a macro 'secret_id'
available. Use a syntax [:secret_id] in a template to evaluate it.
Mark
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0.patch
Type: text/x-patch
Size: 420 bytes
Desc: not available
URL: <http://lists.amavis.org/pipermail/amavis-users/attachments/20120404/43683fd6/attachment.bin>
More information about the amavis-users
mailing list