fre, 30,.09.2005 kl. 10.50 -0500, skrev John Jetmore:
> On Fri, 30 Sep 2005, Stian Jordet wrote:
>
> > I'm looking for a way go use $recipients in an acl, without the optional
> > local part suffix. So, if $recipients = [EMAIL PROTECTED] I only
> > want [EMAIL PROTECTED] Is this possible with ${sg}?
>
> [EMAIL PROTECTED]@[EMAIL PROTECTED]
>
> your mileage may vary, but seems to work in testing. If fed [EMAIL
> PROTECTED], it
> returns [EMAIL PROTECTED] I dunno how exim handles double suffixes like
> that, so
> this behaviour may not match it.
Thank you :) As I found out, Exim strip off the longest suffix, so I
needed something to match that. I found it out myself, but only because
of your kind help. This seems to work:
${sg{$recipients}{\N(\+.*?\@)[EMAIL PROTECTED]
Thank you again :)
Best regards,
Stian
--
## List details at http://www.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/