HylaFAX The world's
most advanced open source fax server
|
|
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
Re: Printing outgoing faxes
Hi,
I was thinking along the lines of:
Assuming you haven't changed the default behaviour of notifying the fax
sender, create a .forward file in the sender's home directory containing
the single line
|/usr/bin/procmail
Likewise, create a .procmailrc containing
MSGNO=`formail -xSubject: |cut -f4`
PSFILE=/var/spool/fax/docq/doc$MSGNO.ps
PRINTED=`lpr $PSFILE`
Both of these should be owned by the sender, mode 600. You may need to
chmod go-w the home directory.
Best Regards,
Mark Wilson
P. Kay Associates Ltd.
On Sat, 29 Apr 2000, Paul van der Vlis wrote:
> Hello Mark,
>
> > How about using procmail to intercept fax notifications, grab the docq
> > file name and pipe it into lpr?
>
No. But you can use the option -d to keep the archive in check.
>
> BTW: Would it be a problem to remove the faxqclean program from Cron? I
> don't think so. Then the docq-directory becomes automatically an archive..
>
>