Mailing List Archive

[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

Peter Bowyer <peter@bowyer.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |peter@bowyer.org
Severity|bug |wishlist




--- Comment #1 from Peter Bowyer <peter@bowyer.org> 2007-10-17 08:25:08 ---
These options are documented as not expanded - changed from 'bug' to
'wishlist'.


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

--
## List details at http://lists.exim.org/mailman/listinfo/exim-dev Exim details at http://www.exim.org/ ##
[Bug 618] String expansions don`t work in local_part_suffix/prefix [ In reply to ]
------- 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@gate.ort.spb.ru> changed:

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




--- Comment #2 from Andrew Shirrayev <andrews@gate.ort.spb.ru> 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

--
## List details at http://lists.exim.org/mailman/listinfo/exim-dev Exim details at http://www.exim.org/ ##
[Bug 618] String expansions don`t work in local_part_suffix/prefix [ In reply to ]
------- You are receiving this mail because: -------
You are on the CC list for the bug.

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

Peter Bowyer <peter@bowyer.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
Severity|bug |wishlist
Component|Routing |String expansion




--- Comment #3 from Peter Bowyer <peter@bowyer.org> 2007-10-17 19:57:17 ---
(In reply to comment #2)

> Where?

local_part_prefix Use: routers Type: string list Default: unset

cf

+----------------------------------------------------------------+
|local_parts|Use: routers**|Type: local part list*|Default: unset|
+----------------------------------------------------------------+

The * at the end of the Type indicates that the item is expanded. There's no *
against local_part_prefix and local_part_suffix.

Setting to 'wishlist' (again).


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

--
## List details at http://lists.exim.org/mailman/listinfo/exim-dev Exim details at http://www.exim.org/ ##