Mailgen Scripts (formats)¶
For the overall concept of mailgen scripts (also: formats), please see Mailgen Scripts.
Format spec (also: table format)¶
The format spec specifies which parts of the data event will become part of the data sent (usually CSV format) in the notifications (usually e-mail).
This corresponds to the CSV columns in most cases.
The format spec can be set in different ways for the notifications. The order is the following:
The table format specified by the mailgen script:
create_notifications
returningcontext.mail_format_as_csv(table_format, ...)
The parameter passed to
cb.create_notifications
/cb.send_notifications
/cb.start
/cb.mailgen
/intelmqmail.notification.ScriptContext
. IntelMQ Webinput CSV uses this.The internal default, see
intelmqmail.notification.ScriptContext