[exim-dev] [Bug 618] String expansions don`t work in local_p…

Top Page
Delete this message
Reply to this message
Author: Andrew Shirrayev
Date:  
To: exim-dev
Subject: [exim-dev] [Bug 618] String expansions don`t work in local_part_suffix/prefix
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=618

Andrew Shirrayev <andrews@???> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|wishlist                    |bug
         OS/Version|Windows                     |All





--- Comment #2 from Andrew Shirrayev <andrews@???> 2007-10-17 14:14:48 ---
Hi, Peter Bowyer.

http://www.exim.org/exim-html-current/doc/html/spec_html/ch15.html
Chapter 15:
#===============================================================
local_part_prefix Use: routers Type: string list Default: unset

If this option is set, the router is skipped unless the local part starts with
one of the given strings, or local_part_prefix_optional is true. See section
3.12 for a list of the order in which preconditions are evaluated.

The list is scanned from left to right, and the first prefix that matches is
used. A limited form of wildcard is available; if the prefix begins with an
asterisk, it matches the longest possible sequence of arbitrary characters at
the start of the local part. An asterisk should therefore always be followed by
some character that does not occur in normal local parts. Wildcarding can be
used to set up multiple user mailboxes, as described in section 47.8.

During the testing of the local_parts option, and while the router is running,
the prefix is removed from the local part, and is available in the expansion
variable $local_part_prefix. When a message is being delivered, if the router
accepts the address, this remains true during subsequent delivery by a
transport. In particular, the local part that is transmitted in the RCPT
command for LMTP, SMTP, and BSMTP deliveries has the prefix removed by default.
This behaviour can be overridden by setting rcpt_include_affixes true on the
relevant transport.

When an address is being verified, local_part_prefix affects only the behaviour
of the router. If the callout feature of verification is in use, this means
that the full address, including the prefix, will be used during the callout.
#=================================================================

Where?


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email