Thank you very much!

On Fri, Jun 27, 2014 at 8:20 PM, Wietse Venema <wie...@porcupine.org> wrote:

> Robert Fantini:
> > Hello
> >
> > Thank you for the response...   And now I know about not editing the
> queue
> > .
> >
> > We did try using the virtual_aliases_maps  at the start of  trying to
> solve
> > the issue.   However I could not figure out how to add this address [ I
> > tried many ways using '\' before many of the spaces and other
> characters...
> > ]  :
> >
> > (host smtp.fantinibakery.com[10.1.10.14] said: 550 5.1.1 <CDR =${
> > FROM_DID}@fantinibakery.com>: Recipient address
>
> You would need to use a regexp: or pcre: table, escape the
> $, {, }, and . characters, and anchor the pattern with ^ and $
> just to be safe.
>
> /etc/postfix/main.cf:
>     virtual_alias_maps = pcre:/etc/postfix/virtual.pcre
>
> /etc/postfix/virtual.pcre:
>     /^CDR =\$\{FROM_DID\}@fantinibakery\.com$/  u...@example.com
>
> You can't use address with spaces in Postfix lookup tables that are
> created with the postmap command, because that command always splits
> on the first whitespace character (you could have gotten away with
> using the postalias command instead, but I won't go there).
>
>         Wietse
>

Reply via email to