procmail
[Top] [All Lists]

Re: trouble printing PS attached

2000-11-30 20:03:45
Well, I am kinda new to the list, so I am going to throw what little
knowledge I have into this...Feel free to correct me if you know better...

The From line looks okay, though I usually keep my From lines like:

* ^From: .*fax-server

Also, the attachments are usually encoded before they are sent out. Thus
the body of the message will have to be decoded first. If you assume that
all mail from fax-server is the postscript, you can remove the second 
B ?? line. (BTW are you sure that works? The B variable is the body of the
message?). You can then pipe the message to a perl script which determines
the attachement name, decodes the document, then prints and deletes the
file.

I hope this helps. I am pretty new to this...
Scott

On Tue, 28 Nov 2000, Carlos Eduardo R. L. de Miranda wrote:

I receive email with postscript files attached to it. I would like to print
those emails and to do so, i am using the recipe:

        :0 b
        * ^From[ :].*fax-server
        * B ?? ^^%!
        | lpr

It is not working as expected. The postscript mail is not detected and it is
sent to  /var/spool/mail/user-name file. Anyone to help me?

Thank you in advance,
Carlos

P.S. If you like, I can forward a sample email to you, to see if you can
figure out what the problem is.

_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail


_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>
  • Re: trouble printing PS attached, Scott Savarese <=