title: How to catch all mails addressed to different mail addresses containing same pattern in postfix
body: <p>I want to ask how i can catch all mails addressed to different mail addresses containing same pattern to one real mail address using postfix. </p>
  
  <p>E.g.:</p>
  
  <p>I want to catch:</p>
  
  <pre><code>john.smith.test1@domain.com
  
  john.smith.test2@domain.com 
  
  john.smith.test3@domain.com
  
  ...
  
  john.smith.test100@domain.com
  </code></pre>
  
  <p>And forward it to;</p>
  
  <pre><code>john.smith@domain.com
  </code></pre>
  
  <p>I use postfix and virtual aliases.</p>
  
  <pre><code># /etc/postfix/main.cf
  ...
  virtual_alias_maps = hash:/etc/postfix/virtual
  ...
  </code></pre>
  
  <p>It is possible to do somthing like code below?</p>
  
  <pre><code># /etc/postfix/virtual
  david.guest@domain.com david.guest@domain.com
  jack.wilder@domain.com jack.wilder@domain.com
  adam.stone@domain.com  adam.stone@domain.com
  john.smith@domain.com  john.smith@domain.com
  
  john.smith*@domain.com john.smith@domain.com
  </code></pre>
  
  <p>I need to catch all mails starting with <i>john.smith</i> and forward it to <i>john.smith@domain.com</i></p>
  
  <p>Thanks for help.</p>