Skip to main content

SpamTitan

Supported Macros for Notification Templates

The table below describes the macros that can be used in SpamTitan Gateway email notification templates. See Notification Templates for more information modifying email templates.

Macro

Description

%a

Original SMTP session client IP address.

[%A| ]

A list of SpamAssassin report lines.

%d

The timestamp of message reception. RFC 2822 local date-time format.

%F

A list of banned file names.

%g

Original SMTP session client DNS name.

%h

The hostname of this host.

[%H| ]

A list of all header lines (field may be wrapped over more than one line). This does not include the Return-Path: or Delivered-To: headers, which are added (or will be added later) by the local delivery agent if mail is delivered to a mailbox.

%i

SpamTitan unique ID, for example rR9Sc0H5+cnu.

%j

Subject header field body.

%m

Message-ID header field body.

%R

A list of original envelope recipients.

%s

Original envelope sender. RFC 2821 quoted and enclosed in angle brackets.

%t

The first entry in the 'Received' trace of the mail header.

%v

The output of the (last) virus-checking program.

%V

A list of virus names found. It contains at least one (possibly empty) entry if a virus was found, otherwise a null list.

%W

A list of AV scanner names detecting a virus.

%z

Original mail size (in bytes).