Noel Jones:
> On 9/26/2011 3:12 PM, Wietse Venema wrote:
> > Randy Ramsdell:
> >> /etc/postfix/virtual:
> >>       #f...@example.com  stays itself.
> >>       f...@example.com     f...@example.com
> >>
> >>       #b...@example.com  goes elsewhere.
> >>       b...@example.com     other@elsewhere
> >>
> >> /etc/postfix/virtual.pcre:
> >>       # Everything else goes to the mailsink.
> >>       /./                  mails...@example.net
> >>
> >> ?
> > 
> > Plus the portion of my example that you left out, and that lists
> > the PCRE file last in the virtual_alias_maps settings.
> > 
> >     Wietse
> 
> 
> But don't we need an identity 1-1 mapping in the hash file for
> other@elsewhere so the pcre /./ catchall doesn't rewrite it also?

I suppose it does. No 1-1 mapping is needed for mails...@example.net.
(I started from an example that wild-carded @example.com not /./).

        Wietse

        

Reply via email to