title: Attach file in Postfix filter
body: <p>I am sending mail in Postfix through a filter, where Altermime applies a signature. I'd like to attach an image to the mail, so i can use html (applied by Altermime) that displays the attached image, eg:
      <code>&lt;img src="cid:pic.jpg" /&gt;</code></p>
  
  <p>How can I attach a file to the email when using a bash filter?
  I have tried piping it with uuenview at the end of the filter to postfix, but it does nothing:
      <code>uuenview /path/to/pic.jpg | $SENDMAIL -i "$@" &lt;in.$$</code></p>
  
  <p>I'm using the filter method as described in: <a href="http://www.postfix.org/FILTER_README.html" rel="nofollow">http://www.postfix.org/FILTER_README.html</a></p>