207
207
$(\fIname\fR) are also recognized. Specify \fB$$\fR where a single
208
208
\fB$\fR is wanted.
210
.IP \fB${\fBclient_address\fR}\fR
210
.IP \fB${client_address}\fR
211
211
This macro expands to the remote client network address.
213
213
This feature is available as of Postfix 2.2.
214
.IP \fB${\fBclient_helo\fR}\fR
214
.IP \fB${client_helo}\fR
215
215
This macro expands to the remote client HELO command parameter.
217
217
This feature is available as of Postfix 2.2.
218
.IP \fB${\fBclient_hostname\fR}\fR
218
.IP \fB${client_hostname}\fR
219
219
This macro expands to the remote client hostname.
221
221
This feature is available as of Postfix 2.2.
222
.IP \fB${\fBclient_port\fR}\fR
222
.IP \fB${client_port}\fR
223
223
This macro expands to the remote client TCP port number.
225
225
This feature is available as of Postfix 2.5.
226
.IP \fB${\fBclient_protocol\fR}\fR
226
.IP \fB${client_protocol}\fR
227
227
This macro expands to the remote client protocol.
229
229
This feature is available as of Postfix 2.2.
230
.IP \fB${\fBdomain\fR}\fR
231
231
This macro expands to the domain portion of the recipient
232
232
address. For example, with an address \fIuser+foo@domain\fR
233
233
the domain is \fIdomain\fR.
235
235
This information is modified by the \fBh\fR flag for case folding.
237
237
This feature is available as of Postfix 2.5.
238
.IP \fB${\fBextension\fR}\fR
238
.IP \fB${extension}\fR
239
239
This macro expands to the extension part of a recipient address.
240
240
For example, with an address \fIuser+foo@domain\fR the extension is
243
A command-line argument that contains \fB${\fBextension\fR}\fR expands
243
A command-line argument that contains \fB${extension}\fR expands
244
244
into as many command-line arguments as there are recipients.
246
246
This information is modified by the \fBu\fR flag for case folding.
247
.IP \fB${\fBmailbox\fR}\fR
248
248
This macro expands to the complete local part of a recipient address.
249
249
For example, with an address \fIuser+foo@domain\fR the mailbox is
252
A command-line argument that contains \fB${\fBmailbox\fR}\fR
252
A command-line argument that contains \fB${mailbox}\fR
253
253
expands to as many command-line arguments as there are recipients.
255
255
This information is modified by the \fBu\fR flag for case folding.
256
.IP \fB${\fBnexthop\fR}\fR
257
257
This macro expands to the next-hop hostname.
259
259
This information is modified by the \fBh\fR flag for case folding.
260
.IP \fB${\fBoriginal_recipient\fR}\fR
260
.IP \fB${original_recipient}\fR
261
261
This macro expands to the complete recipient address before any
262
262
address rewriting or aliasing.
264
264
A command-line argument that contains
265
\fB${\fBoriginal_recipient\fR}\fR expands to as many
265
\fB${original_recipient}\fR expands to as many
266
266
command-line arguments as there are recipients.
268
268
This information is modified by the \fBhqu\fR flags for quoting
269
269
and case folding.
271
271
This feature is available as of Postfix 2.5.
272
.IP \fB${\fBrecipient\fR}\fR
272
.IP \fB${queue_id}\fR
273
This macro expands to the queue id.
275
This feature is available as of Postfix 2.11.
276
.IP \fB${recipient}\fR
273
277
This macro expands to the complete recipient address.
275
A command-line argument that contains \fB${\fBrecipient\fR}\fR
279
A command-line argument that contains \fB${recipient}\fR
276
280
expands to as many command-line arguments as there are recipients.
278
282
This information is modified by the \fBhqu\fR flags for quoting
279
283
and case folding.
280
.IP \fB${\fBsasl_method\fR}\fR
284
.IP \fB${sasl_method}\fR
281
285
This macro expands to the name of the SASL authentication
282
286
mechanism in the AUTH command when the Postfix SMTP server
283
287
received the message.
285
289
This feature is available as of Postfix 2.2.
286
.IP \fB${\fBsasl_sender\fR}\fR
290
.IP \fB${sasl_sender}\fR
287
291
This macro expands to the SASL sender name (i.e. the original
288
292
submitter as per RFC 4954) in the MAIL FROM command when
289
293
the Postfix SMTP server received the message.
291
295
This feature is available as of Postfix 2.2.
292
.IP \fB${\fBsasl_username\fR}\fR
296
.IP \fB${sasl_username}\fR
293
297
This macro expands to the SASL user name in the AUTH command
294
298
when the Postfix SMTP server received the message.
296
300
This feature is available as of Postfix 2.2.
297
.IP \fB${\fBsender\fR}\fR
298
302
This macro expands to the envelope sender address. By default,
299
303
the null sender address expands to MAILER-DAEMON; this can
300
304
be changed with the \fBnull_sender\fR attribute, as described
303
307
This information is modified by the \fBq\fR flag for quoting.
304
.IP \fB${\fBsize\fR}\fR
305
309
This macro expands to Postfix's idea of the message size, which
306
310
is an approximation of the size of the message as delivered.
307
.IP \fB${\fBuser\fR}\fR
308
312
This macro expands to the username part of a recipient address.
309
313
For example, with an address \fIuser+foo@domain\fR the username
310
314
part is \fIuser\fR.
312
A command-line argument that contains \fB${\fBuser\fR}\fR expands
316
A command-line argument that contains \fB${user}\fR expands
313
317
into as many command-line arguments as there are recipients.
315
319
This information is modified by the \fBu\fR flag for case folding.
412
416
.IP "\fBqueue_directory (see 'postconf -d' output)\fR"
413
417
The location of the Postfix top-level queue directory.
414
418
.IP "\fBrecipient_delimiter (empty)\fR"
415
The separator between user names and address extensions (user+foo).
419
The set of characters that can separate a user name from its
420
extension (example: user+foo), or a .forward file name from its
421
extension (example: .forward+foo).
416
422
.IP "\fBsyslog_facility (mail)\fR"
417
423
The syslog facility of Postfix logging.
418
424
.IP "\fBsyslog_name (see 'postconf -d' output)\fR"