Brett Randall writes:
> Hi one and all
>
> I have been asked to supply an additional function to qmail...to receive an
> e-mail to [EMAIL PROTECTED] (eg [EMAIL PROTECTED]),
> and put it into the queue for a fax program (which dials using an attached
> fax modem). Now, my guess would be to have a local concurrency of 1, and
> pipe each message (via .qmail-default) through a fax spooler...but has
> anyone actually done this, and what do you guys reckon is the best package
> to send faxes with? Alternately, is there a utility I can stick on qmail to
> do this? I know there is for sendmail somewhere...and if need be I will
> *try* and adapt it if all else fails, but any ideas? Thanks!
Use mgetty's faxspool and it's a no-brainer:
|perl -ne 'if (1../^$/) { s/nelson-fax-(.*)\@crynwr\.com/$1/ if /^To:/;print if
|/^(Date|From|To|Subject):/ or /^$/;} else { print }' | PATH=/usr/local/bin:$PATH
|/usr/local/bin/faxspool $EXT2 -
--
-russ nelson <[EMAIL PROTECTED]> http://russnelson.com | A hate crime makes
Crynwr sells support for free software | PGPok | it illegal to think certain
521 Pleasant Valley Rd. | +1 315 268 1925 voice | thoughts. The crime is
Potsdam, NY 13676-3213 | +1 315 268 9201 FAX | itself already a crime.