Thanks a bunch everyone, I did see how to print emails via outlook, etc. but needed something more unattended.
A lot of my medical clients are very HIPAA concerned and don’t want anything at all stored anywhere (or possibly stored anywhere).
What I came up with:
I installed procmail and enabled it in /etc/postfix/main.cf
I installed uudeview and have procmail dropping attachments in ~/attachments on the PBX server
procmail invokes a script I wrote to print *.pdf in the ~/attachments folder
~/attachments is wiped after LPR exits with a good status code.
Procmail dumps the email to /dev/null
It seems a bit complex, but overall I am not sure there is much to break. I’m revising my little printing script to do a bit more error checking (anything I can think of).
so far it’s working amazingly. If I get time i’ll try to post the scripts when I get all the kinks worked out!