.\" Automatically generated by Pod::Man 4.10 (Pod::Simple 3.35) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" Set up some character translations and predefined strings. \*(-- will .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left .\" double quote, and \*(R" will give a right double quote. \*(C+ will .\" give a nicer C++. Capital omega is used to do unbreakable dashes and .\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff, .\" nothing in troff, for use with C<>. .tr \(*W- .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' .ie n \{\ . ds -- \(*W- . ds PI pi . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch . ds L" "" . ds R" "" . ds C` "" . ds C' "" 'br\} .el\{\ . ds -- \|\(em\| . ds PI \(*p . ds L" `` . ds R" '' . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" .\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2). .\" Fear. Run. Save yourself. No user-serviceable parts. . \" fudge factors for nroff and troff .if n \{\ . ds #H 0 . ds #V .8m . ds #F .3m . ds #[ \f1 . ds #] \fP .\} .if t \{\ . ds #H ((1u-(\\\\n(.fu%2u))*.13m) . ds #V .6m . ds #F 0 . ds #[ \& . ds #] \& .\} . \" simple accents for nroff and troff .if n \{\ . ds ' \& . ds ` \& . ds ^ \& . ds , \& . ds ~ ~ . ds / .\} .if t \{\ . ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u" . ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u' . ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u' . ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u' . ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u' . ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u' .\} . \" troff and (daisy-wheel) nroff accents .ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V' .ds 8 \h'\*(#H'\(*b\h'-\*(#H' .ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#] .ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H' .ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u' .ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#] .ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#] .ds ae a\h'-(\w'a'u*4/10)'e .ds Ae A\h'-(\w'A'u*4/10)'E . \" corrections for vroff .if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u' .if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u' . \" for low resolution devices (crt and lpr) .if \n(.H>23 .if \n(.V>19 \ \{\ . ds : e . ds 8 ss . ds o a . ds d- d\h'-1'\(ga . ds D- D\h'-1'\(hy . ds th \o'bp' . ds Th \o'LP' . ds ae ae . ds Ae AE .\} .rm #[ #] #H #V #F C .\" ======================================================================== .\" .IX Title "EXIPICK 8" .TH EXIPICK 8 "2021-05-01" "perl v5.28.1" "EXIM4" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH "NAME" exipick \- selectively display messages from an Exim queue .SH "SYNOPSIS" .IX Header "SYNOPSIS" exipick [] [ [ ...]] .SH "DESCRIPTION" .IX Header "DESCRIPTION" exipick is a tool to display messages in an Exim queue. It is very similar to exiqgrep and is, in fact, a drop in replacement for exiqgrep. exipick allows you to select messages to be displayed using any piece of data stored in an Exim spool file. Matching messages can be displayed in a variety of formats. .SH "QUICK START" .IX Header "QUICK START" Delete every frozen message from queue: exipick \-zi | xargs exim \-Mrm .PP Show only messages which have not yet been virus scanned: exipick '$received_protocol ne virus\-scanned' .PP Run the queue in a semi-random order: exipick \-i \-\-random | xargs exim \-M .PP Show the count and total size of all messages which either originated from localhost or have a received protocol of 'local': exipick \-\-or \-\-size \-\-bpc \e '$sender_host_address eq 127.0.0.1' \e '$received_protocol eq local' .PP Display all messages received on the \s-1MSA\s0 port, ordered first by the sender's email domain and then by the size of the emails: exipick \-\-sort sender_address_domain,message_size \e '$received_port == 587' .PP Display only messages whose every recipient is in the example.com domain, also listing the \s-1IP\s0 address of the sending host: exipick \-\-show\-vars sender_host_address \e '$each_recipients = example.com' .PP Same as above, but show values for all defined variables starting with sender_ and the number of recipients: exipick \-\-show\-vars ^sender_,recipients_count \e '$each_recipients = example.com' .SH "OPTIONS" .IX Header "OPTIONS" .IP "\-\-and" 4 .IX Item "--and" Display messages matching all criteria (default) .IP "\-b" 4 .IX Item "-b" Display messages in brief format (exiqgrep) .IP "\-bp" 4 .IX Item "-bp" Display messages in standard mailq format (default) .IP "\-bpa" 4 .IX Item "-bpa" Same as \-bp, show generated addresses also (exim) .IP "\-bpc" 4 .IX Item "-bpc" Show a count of matching messages (exim) .IP "\-bpr" 4 .IX Item "-bpr" Same as '\-bp \-\-unsorted' (exim) .IP "\-bpra" 4 .IX Item "-bpra" Same as '\-bpa \-\-unsorted' (exim) .IP "\-bpru" 4 .IX Item "-bpru" Same as '\-bpu \-\-unsorted' (exim) .IP "\-bpu" 4 .IX Item "-bpu" Same as \-bp, but only show undelivered messages (exim) .IP "\-C | \-\-config " 4 .IX Item "-C | --config " Use to determine the proper spool directory. (See \f(CW\*(C`\-\-spool\*(C'\fR or \f(CW\*(C`\-\-input\*(C'\fR for alternative ways to specify the directories to operate on.) .IP "\-c" 4 .IX Item "-c" Show a count of matching messages (exiqgrep) .IP "\-\-caseful" 4 .IX Item "--caseful" Make operators involving '=' honor case .IP "\-\-charset" 4 .IX Item "--charset" Override the default local character set for \f(CW$header_\fR decoding .IP "\-f " 4 .IX Item "-f " Same as '$sender_address =~ //' (exiqgrep). Note that this preserves the default case sensitivity of exiqgrep's interface. .IP "\-\-finput" 4 .IX Item "--finput" Same as '\-\-input\-dir Finput'. 'Finput' is where exim copies frozen messages when compiled with \s-1SUPPORT_MOVE_FROZEN_MESSAGES.\s0 .IP "\-\-flatq" 4 .IX Item "--flatq" Use a single-line output format .IP "\-\-freeze " 4 .IX Item "--freeze " Save queue information in an quickly retrievable format .IP "\-\-help" 4 .IX Item "--help" Display this output .IP "\-i" 4 .IX Item "-i" Display only the message IDs (exiqgrep) .IP "\-\-input\-dir " 4 .IX Item "--input-dir " Set the name of the directory under the spool directory. By default this is \*(L"input\*(R". If this starts with '/', the value of \-\-spool is ignored. See also \-\-finput. .IP "\-l" 4 .IX Item "-l" Same as \-bp (exiqgrep) .IP "\-\-not" 4 .IX Item "--not" Negate all tests. .IP "\-o " 4 .IX Item "-o " Same as '$message_age > ' (exiqgrep) .IP "\-\-or" 4 .IX Item "--or" Display messages matching any criteria .IP "\-R" 4 .IX Item "-R" Same as \-\-reverse (exiqgrep) .IP "\-r " 4 .IX Item "-r " Same as '$recipients =~ //' (exiqgrep). Note that this preserves the default case sensitivity of exiqgrep's interface. .IP "\-\-random" 4 .IX Item "--random" Display messages in random order .IP "\-\-reverse" 4 .IX Item "--reverse" Display messages in reverse order .IP "\-s " 4 .IX Item "-s " Same as '$shown_message_size eq ' (exiqgrep) .IP "\-\-spool " 4 .IX Item "--spool " Set the path to the exim spool to use. This value will have the argument to \-\-input or 'input' appended, or be ignored if \-\-input is a full path. If not specified, exipick uses the value from \f(CW\*(C`exim [\-C config] \-n \-bP spool_directory\*(C'\fR, and if this call fails, the \fI/opt/exim/spool\fR from build time (\fILocal/Makefile\fR) is used. See also \-\-config. .IP "\-\-show\-rules" 4 .IX Item "--show-rules" Show the internal representation of each criterion specified .IP "\-\-show\-tests" 4 .IX Item "--show-tests" Show the result of each criterion on each message .IP "\-\-show\-vars [,...]" 4 .IX Item "--show-vars [,...]" Show the value for for each displayed message. will be a regular expression if it begins with a circumflex. .IP "\-\-size" 4 .IX Item "--size" Show the total bytes used by each displayed message .IP "\-\-thaw " 4 .IX Item "--thaw " Read queue information cached from a previous \-\-freeze run .IP "\-\-sort [,...]" 4 .IX Item "--sort [,...]" Display matching messages sorted according to .IP "\-\-unsorted" 4 .IX Item "--unsorted" Do not apply any sorting to output .IP "\-\-version" 4 .IX Item "--version" Display the version of this command .IP "\-x" 4 .IX Item "-x" Same as '!$deliver_freeze' (exiqgrep) .IP "\-y" 4 .IX Item "-y" Same as '$message_age < ' (exiqgrep) .IP "\-z" 4 .IX Item "-z" Same as '$deliver_freeze' (exiqgrep) .SH "CRITERIA" .IX Header "CRITERIA" Exipick decides which messages to display by applying a test against each message. The rules take the general form of '\s-1VARIABLE OPERATOR VALUE\s0'. For example, '$message_age > 60'. When exipick is deciding which messages to display, it checks the \f(CW$message_age\fR variable for each message. If a message's age is greater than 60, the message will be displayed. If the message's age is 60 or less seconds, it will not be displayed. .PP Multiple criteria can be used. The order they are specified does not matter. By default all criteria must evaluate to true for a message to be displayed. If the \-\-or option is used, a message is displayed as long as any of the criteria evaluate to true. .PP See the \s-1VARIABLES\s0 and \s-1OPERATORS\s0 sections below for more details .SH "OPERATORS" .IX Header "OPERATORS" .IP "\s-1BOOLEAN\s0" 4 .IX Item "BOOLEAN" Boolean variables are checked simply by being true or false. There is no real operator except negation. Examples of valid boolean tests: '$deliver_freeze' '!$deliver_freeze' .IP "\s-1NUMERIC\s0" 4 .IX Item "NUMERIC" Valid comparisons are <, <=, >, >=, ==, and !=. Numbers can be integers or floats. Any number in a test suffixed with d, h, m, s, M, K, or B will be multiplied by 86400, 3600, 60, 1, 1048576, 1024, or 1 respectively. Examples of valid numeric tests: '$message_age >= 3d' '$local_interface == 587' '$message_size < 30K' .IP "\s-1STRING\s0" 4 .IX Item "STRING" The string operators are =, eq, ne, =~, and !~. With the exception of '=', the operators all match the functionality of the like-named perl operators. eq and ne match a string exactly. !~, =~, and = apply a perl regular expression to a string. The '=' operator behaves just like =~ but you are not required to place // around the regular expression. Examples of valid string tests: '$received_protocol eq esmtp' '$sender_address = example.com' '$each_recipients =~ /^a[a\-z]{2,3}@example.com$/' .IP "\s-1NEGATION\s0" 4 .IX Item "NEGATION" There are many ways to negate tests, each having a reason for existing. Many tests can be negated using native operators. For instance, >1 is the opposite of <=1 and eq and ne are opposites. In addition, each individual test can be negated by adding a ! at the beginning of the test. For instance, '!$acl_m1 =~ /^DENY$/' is the same as '$acl_m1 !~ /^DENY$/'. Finally, every test can be specified by using the command line argument \-\-not. This is functionally equivalent to adding a ! to the beginning of every test. .SH "VARIABLES" .IX Header "VARIABLES" With a few exceptions the available variables match Exim's internal expansion variables in both name and exact contents. There are a few notable additions and format deviations which are noted below. Although a brief explanation is offered below, Exim's spec.txt should be consulted for full details. It is important to remember that not every variable will be defined for every message. For example, \f(CW$sender_host_port\fR is not defined for messages not received from a remote host. .PP Internally, all variables are represented as strings, meaning any operator will work on any variable. This means that '$sender_host_name > 4' is a legal criterion, even if it does not produce meaningful results. Variables in the list below are marked with a 'type' to help in choosing which types of operators make sense to use. .PP .Vb 7 \& Identifiers \& B \- Boolean variables \& S \- String variables \& N \- Numeric variables \& . \- Standard variable matching Exim\*(Aqs content definition \& # \- Standard variable, contents differ from Exim\*(Aqs definition \& + \- Non\-standard variable .Ve .ie n .IP "S . $acl_c0\-$acl_c9, $acl_m0\-$acl_m9" 4 .el .IP "S . \f(CW$acl_c0\fR\-$acl_c9, \f(CW$acl_m0\fR\-$acl_m9" 4 .IX Item "S . $acl_c0-$acl_c9, $acl_m0-$acl_m9" User definable variables. .ie n .IP "B + $allow_unqualified_recipient" 4 .el .IP "B + \f(CW$allow_unqualified_recipient\fR" 4 .IX Item "B + $allow_unqualified_recipient" \&\s-1TRUE\s0 if unqualified recipient addresses are permitted in header lines. .ie n .IP "B + $allow_unqualified_sender" 4 .el .IP "B + \f(CW$allow_unqualified_sender\fR" 4 .IX Item "B + $allow_unqualified_sender" \&\s-1TRUE\s0 if unqualified sender addresses are permitted in header lines. .ie n .IP "S . $authenticated_id" 4 .el .IP "S . \f(CW$authenticated_id\fR" 4 .IX Item "S . $authenticated_id" Optional saved information from authenticators, or the login name of the calling process for locally submitted messages. .ie n .IP "S . $authenticated_sender" 4 .el .IP "S . \f(CW$authenticated_sender\fR" 4 .IX Item "S . $authenticated_sender" The value of AUTH= param for smtp messages, or a generated value from the calling processes login and qualify domain for locally submitted messages. .ie n .IP "S . $bheader_*, $bh_*" 4 .el .IP "S . \f(CW$bheader_\fR*, \f(CW$bh_\fR*" 4 .IX Item "S . $bheader_*, $bh_*" Value of the header(s) with the same name with any \s-1RFC2047\s0 words decoded if present. See section 11.5 of Exim's spec.txt for full details. .ie n .IP "S + $bmi_verdicts" 4 .el .IP "S + \f(CW$bmi_verdicts\fR" 4 .IX Item "S + $bmi_verdicts" The verdict string provided by a Brightmail content scan .ie n .IP "N . $body_linecount" 4 .el .IP "N . \f(CW$body_linecount\fR" 4 .IX Item "N . $body_linecount" The number of lines in the message's body. .ie n .IP "N . $body_zerocount" 4 .el .IP "N . \f(CW$body_zerocount\fR" 4 .IX Item "N . $body_zerocount" The number of binary zero bytes in the message's body. .ie n .IP "S + $data_path" 4 .el .IP "S + \f(CW$data_path\fR" 4 .IX Item "S + $data_path" The path to the body file's location in the filesystem. .ie n .IP "B + $deliver_freeze" 4 .el .IP "B + \f(CW$deliver_freeze\fR" 4 .IX Item "B + $deliver_freeze" \&\s-1TRUE\s0 if the message is currently frozen. .ie n .IP "N + $deliver_frozen_at" 4 .el .IP "N + \f(CW$deliver_frozen_at\fR" 4 .IX Item "N + $deliver_frozen_at" The epoch time at which message was frozen. .ie n .IP "B + $dont_deliver" 4 .el .IP "B + \f(CW$dont_deliver\fR" 4 .IX Item "B + $dont_deliver" \&\s-1TRUE\s0 if, under normal circumstances, Exim will not try to deliver the message. .ie n .IP "S + $each_recipients" 4 .el .IP "S + \f(CW$each_recipients\fR" 4 .IX Item "S + $each_recipients" This is a pseudo variable which allows you to apply a test against each address in \f(CW$recipients\fR individually. Whereas '$recipients =~ /@aol.com/' will match if any recipient address contains aol.com, '$each_recipients =~ /@aol.com$/' will only be true if every recipient matches that pattern. Note that this obeys \-\-and or \-\-or being set. Using it with \-\-or is very similar to just matching against \f(CW$recipients\fR, but with the added benefit of being able to use anchors at the beginning and end of each recipient address. .ie n .IP "S + $each_recipients_del" 4 .el .IP "S + \f(CW$each_recipients_del\fR" 4 .IX Item "S + $each_recipients_del" Like \f(CW$each_recipients\fR, but for \f(CW$recipients_del\fR .ie n .IP "S + $each_recipients_undel" 4 .el .IP "S + \f(CW$each_recipients_undel\fR" 4 .IX Item "S + $each_recipients_undel" Like \f(CW$each_recipients\fR, but for \f(CW$recipients_undel\fR .ie n .IP "B . $first_delivery" 4 .el .IP "B . \f(CW$first_delivery\fR" 4 .IX Item "B . $first_delivery" \&\s-1TRUE\s0 if the message has never been deferred. .ie n .IP "S . $header_*, $h_*" 4 .el .IP "S . \f(CW$header_\fR*, \f(CW$h_\fR*" 4 .IX Item "S . $header_*, $h_*" This will always match the contents of the corresponding \f(CW$bheader_\fR* variable currently (the same behaviour Exim displays when iconv is not installed). .ie n .IP "S + $header_path" 4 .el .IP "S + \f(CW$header_path\fR" 4 .IX Item "S + $header_path" The path to the header file's location in the filesystem. .ie n .IP "B . $host_lookup_deferred" 4 .el .IP "B . \f(CW$host_lookup_deferred\fR" 4 .IX Item "B . $host_lookup_deferred" \&\s-1TRUE\s0 if there was an attempt to look up the host's name from its \s-1IP\s0 address, but an error occurred that during the attempt. .ie n .IP "B . $host_lookup_failed" 4 .el .IP "B . \f(CW$host_lookup_failed\fR" 4 .IX Item "B . $host_lookup_failed" \&\s-1TRUE\s0 if there was an attempt to look up the host's name from its \s-1IP\s0 address, but the attempt returned a negative result. .ie n .IP "B + $local_error_message" 4 .el .IP "B + \f(CW$local_error_message\fR" 4 .IX Item "B + $local_error_message" \&\s-1TRUE\s0 if the message is a locally-generated error message. .ie n .IP "S . $local_scan_data" 4 .el .IP "S . \f(CW$local_scan_data\fR" 4 .IX Item "S . $local_scan_data" The text returned by the \fBlocal_scan()\fR function when a message is received. .ie n .IP "B . $manually_thawed" 4 .el .IP "B . \f(CW$manually_thawed\fR" 4 .IX Item "B . $manually_thawed" \&\s-1TRUE\s0 when the message has been manually thawed. .ie n .IP "N . $max_received_linelength" 4 .el .IP "N . \f(CW$max_received_linelength\fR" 4 .IX Item "N . $max_received_linelength" The number of bytes in the longest line that was received as part of the message, not counting line termination characters. .ie n .IP "N . $message_age" 4 .el .IP "N . \f(CW$message_age\fR" 4 .IX Item "N . $message_age" The number of seconds since the message was received. .ie n .IP "S # $message_body" 4 .el .IP "S # \f(CW$message_body\fR" 4 .IX Item "S # $message_body" The message's body. Unlike Exim's variable of the same name, this variable contains the entire message body. Newlines and nulls are replaced by spaces. .ie n .IP "B + $message_body_missing" 4 .el .IP "B + \f(CW$message_body_missing\fR" 4 .IX Item "B + $message_body_missing" \&\s-1TRUE\s0 is a message's spool data file (\-D file) is missing or unreadable. .ie n .IP "N . $message_body_size" 4 .el .IP "N . \f(CW$message_body_size\fR" 4 .IX Item "N . $message_body_size" The size of the body in bytes. .ie n .IP "S . $message_exim_id, $message_id" 4 .el .IP "S . \f(CW$message_exim_id\fR, \f(CW$message_id\fR" 4 .IX Item "S . $message_exim_id, $message_id" The unique message id that is used by Exim to identify the message. \f(CW$message_id\fR is deprecated as of Exim 4.53. .ie n .IP "S . $message_headers" 4 .el .IP "S . \f(CW$message_headers\fR" 4 .IX Item "S . $message_headers" A concatenation of all the header lines except for lines added by routers or transports. \s-1RFC2047\s0 decoding is performed .ie n .IP "S . $message_headers_raw" 4 .el .IP "S . \f(CW$message_headers_raw\fR" 4 .IX Item "S . $message_headers_raw" A concatenation of all the header lines except for lines added by routers or transports. No decoding or translation is performed. .ie n .IP "N . $message_linecount" 4 .el .IP "N . \f(CW$message_linecount\fR" 4 .IX Item "N . $message_linecount" The number of lines in the entire message (body and headers). .ie n .IP "N . $message_size" 4 .el .IP "N . \f(CW$message_size\fR" 4 .IX Item "N . $message_size" The size of the message in bytes. .ie n .IP "N . $originator_gid" 4 .el .IP "N . \f(CW$originator_gid\fR" 4 .IX Item "N . $originator_gid" The group id under which the process that called Exim was running as when the message was received. .ie n .IP "S + $originator_login" 4 .el .IP "S + \f(CW$originator_login\fR" 4 .IX Item "S + $originator_login" The login of the process which called Exim. .ie n .IP "N . $originator_uid" 4 .el .IP "N . \f(CW$originator_uid\fR" 4 .IX Item "N . $originator_uid" The user id under which the process that called Exim was running as when the message was received. .ie n .IP "S . $received_ip_address, $interface_address" 4 .el .IP "S . \f(CW$received_ip_address\fR, \f(CW$interface_address\fR" 4 .IX Item "S . $received_ip_address, $interface_address" The address of the local \s-1IP\s0 interface for network-originated messages. \f(CW$interface_address\fR is deprecated as of Exim 4.64 .ie n .IP "N . $received_port, $interface_port" 4 .el .IP "N . \f(CW$received_port\fR, \f(CW$interface_port\fR" 4 .IX Item "N . $received_port, $interface_port" The local port number if network-originated messages. \f(CW$interface_port\fR is deprecated as of Exim 4.64 .ie n .IP "N . $received_count" 4 .el .IP "N . \f(CW$received_count\fR" 4 .IX Item "N . $received_count" The number of Received: header lines in the message. .ie n .IP "S . $received_protocol" 4 .el .IP "S . \f(CW$received_protocol\fR" 4 .IX Item "S . $received_protocol" The name of the protocol by which the message was received. .ie n .IP "N . $received_time" 4 .el .IP "N . \f(CW$received_time\fR" 4 .IX Item "N . $received_time" The epoch time at which the message was received. .ie n .IP "S # $recipients" 4 .el .IP "S # \f(CW$recipients\fR" 4 .IX Item "S # $recipients" The list of envelope recipients for a message. Unlike Exim's version, this variable always contains every recipient of the message. The recipients are separated by a comma and a space. See also \f(CW$each_recipients\fR. .ie n .IP "N . $recipients_count" 4 .el .IP "N . \f(CW$recipients_count\fR" 4 .IX Item "N . $recipients_count" The number of envelope recipients for the message. .ie n .IP "S + $recipients_del" 4 .el .IP "S + \f(CW$recipients_del\fR" 4 .IX Item "S + $recipients_del" The list of delivered envelope recipients for a message. This non-standard variable is in the same format as \f(CW$recipients\fR and contains the list of already-delivered recipients including any generated addresses. See also \f(CW$each_recipients_del\fR. .ie n .IP "N + $recipients_del_count" 4 .el .IP "N + \f(CW$recipients_del_count\fR" 4 .IX Item "N + $recipients_del_count" The number of envelope recipients for the message which have already been delivered. Note that this is the count of original recipients to which the message has been delivered. It does not include generated addresses so it is possible that this number will be less than the number of addresses in the \f(CW$recipients_del\fR string. .ie n .IP "S + $recipients_undel" 4 .el .IP "S + \f(CW$recipients_undel\fR" 4 .IX Item "S + $recipients_undel" The list of undelivered envelope recipients for a message. This non-standard variable is in the same format as \f(CW$recipients\fR and contains the list of undelivered recipients. See also \f(CW$each_recipients_undel\fR. .ie n .IP "N + $recipients_undel_count" 4 .el .IP "N + \f(CW$recipients_undel_count\fR" 4 .IX Item "N + $recipients_undel_count" The number of envelope recipients for the message which have not yet been delivered. .ie n .IP "S . $reply_address" 4 .el .IP "S . \f(CW$reply_address\fR" 4 .IX Item "S . $reply_address" The contents of the Reply-To: header line if one exists and it is not empty, or otherwise the contents of the From: header line. .ie n .IP "S . $rheader_*, $rh_*" 4 .el .IP "S . \f(CW$rheader_\fR*, \f(CW$rh_\fR*" 4 .IX Item "S . $rheader_*, $rh_*" The value of the message's header(s) with the same name. See section 11.5 of Exim's spec.txt for full description. .ie n .IP "S . $sender_address" 4 .el .IP "S . \f(CW$sender_address\fR" 4 .IX Item "S . $sender_address" The sender's address that was received in the message's envelope. For bounce messages, the value of this variable is the empty string. .ie n .IP "S . $sender_address_domain" 4 .el .IP "S . \f(CW$sender_address_domain\fR" 4 .IX Item "S . $sender_address_domain" The domain part of \f(CW$sender_address\fR. .ie n .IP "S . $sender_address_local_part" 4 .el .IP "S . \f(CW$sender_address_local_part\fR" 4 .IX Item "S . $sender_address_local_part" The local part of \f(CW$sender_address\fR. .ie n .IP "S . $sender_helo_name" 4 .el .IP "S . \f(CW$sender_helo_name\fR" 4 .IX Item "S . $sender_helo_name" The \s-1HELO\s0 or \s-1EHLO\s0 value supplied for smtp or bsmtp messages. .ie n .IP "S . $sender_host_address" 4 .el .IP "S . \f(CW$sender_host_address\fR" 4 .IX Item "S . $sender_host_address" The remote host's \s-1IP\s0 address. .ie n .IP "S . $sender_host_authenticated" 4 .el .IP "S . \f(CW$sender_host_authenticated\fR" 4 .IX Item "S . $sender_host_authenticated" The name of the authenticator driver which successfully authenticated the client from which the message was received. .ie n .IP "S . $sender_host_name" 4 .el .IP "S . \f(CW$sender_host_name\fR" 4 .IX Item "S . $sender_host_name" The remote host's name as obtained by looking up its \s-1IP\s0 address. .ie n .IP "N . $sender_host_port" 4 .el .IP "N . \f(CW$sender_host_port\fR" 4 .IX Item "N . $sender_host_port" The port number that was used on the remote host for network-originated messages. .ie n .IP "S . $sender_ident" 4 .el .IP "S . \f(CW$sender_ident\fR" 4 .IX Item "S . $sender_ident" The identification received in response to an \s-1RFC 1413\s0 request for remote messages, the login name of the user that called Exim for locally generated messages. .ie n .IP "B + $sender_local" 4 .el .IP "B + \f(CW$sender_local\fR" 4 .IX Item "B + $sender_local" \&\s-1TRUE\s0 if the message was locally generated. .ie n .IP "B + $sender_set_untrusted" 4 .el .IP "B + \f(CW$sender_set_untrusted\fR" 4 .IX Item "B + $sender_set_untrusted" \&\s-1TRUE\s0 if the envelope sender of this message was set by an untrusted local caller. .ie n .IP "S + $shown_message_size" 4 .el .IP "S + \f(CW$shown_message_size\fR" 4 .IX Item "S + $shown_message_size" This non-standard variable contains the formatted size string. That is, for a message whose \f(CW$message_size\fR is 66566 bytes, \f(CW$shown_message_size\fR is 65K. .ie n .IP "S . $smtp_active_hostname" 4 .el .IP "S . \f(CW$smtp_active_hostname\fR" 4 .IX Item "S . $smtp_active_hostname" The value of the active host name when the message was received, as specified by the \*(L"smtp_active_hostname\*(R" option. .ie n .IP "S . $spam_score" 4 .el .IP "S . \f(CW$spam_score\fR" 4 .IX Item "S . $spam_score" The spam score of the message, for example '3.4' or '30.5'. (Requires exiscan or \s-1WITH_CONTENT_SCAN\s0) .ie n .IP "S . $spam_score_int" 4 .el .IP "S . \f(CW$spam_score_int\fR" 4 .IX Item "S . $spam_score_int" The spam score of the message, multiplied by ten, as an integer value. For instance '34' or '305'. (Requires exiscan or \s-1WITH_CONTENT_SCAN\s0) .ie n .IP "B . $tls_certificate_verified" 4 .el .IP "B . \f(CW$tls_certificate_verified\fR" 4 .IX Item "B . $tls_certificate_verified" \&\s-1TRUE\s0 if a \s-1TLS\s0 certificate was verified when the message was received. .ie n .IP "S . $tls_cipher" 4 .el .IP "S . \f(CW$tls_cipher\fR" 4 .IX Item "S . $tls_cipher" The cipher suite that was negotiated for encrypted \s-1SMTP\s0 connections. .ie n .IP "S . $tls_peerdn" 4 .el .IP "S . \f(CW$tls_peerdn\fR" 4 .IX Item "S . $tls_peerdn" The value of the Distinguished Name of the certificate if Exim is configured to request one .ie n .IP "S . $tls_sni" 4 .el .IP "S . \f(CW$tls_sni\fR" 4 .IX Item "S . $tls_sni" The value of the Server Name Indication \s-1TLS\s0 extension sent by a client, if one was sent. .ie n .IP "N + $warning_count" 4 .el .IP "N + \f(CW$warning_count\fR" 4 .IX Item "N + $warning_count" The number of delay warnings which have been sent for this message. .SH "CONTACT" .IX Header "CONTACT" .IP "\s-1EMAIL:\s0 proj\-exipick@jetmore.net" 4 .IX Item "EMAIL: proj-exipick@jetmore.net" .PD 0 .IP "\s-1HOME:\s0 jetmore.org/john/code/#exipick" 4 .IX Item "HOME: jetmore.org/john/code/#exipick"