[ .. ]
MailAndFax is used by dot-qmail to send a mail via efax. You must have qmail and efax running to use MailAndFax.
Set up a mailuser for MailAndFax p.e. fax and change the dot-qmail-default-file ".qmail-default" to "|/path/of/mailandfax.pl". Read qmail manpages for further instructions. Create a world readable dir "tmp" in the users home directory. Change local ID, dev, header and the path to qmail-inject mailandfax.pl.
Send a mail to "faxuser-2283455@your.domain" where 2283455 is the number your fax should be send to. Do not use special chars in the number only "/" and "-" are allowed. The "-" behind the username is needed to parse the number correctly.## configuration part. Change these! # qmail-inject path $qmailinject = "/var/qmail/bin/qmail-inject"; # modem device $device = "/dev/cuaa1"; # Language. Set this to "en" for english error messages $lang = "en"; # Local ID set on top of every page p.e. +49 221 456777 $localid = ""; # Sender only on first page p.e. C0re GmbH . Bonner Talweg 54 . 53113 Bonn . Germany $header = ""; ## end of configuration part
After your fax has tried to be send, you get an email where error or success are confirmed. The confirmation mail goes to the envelope-sender of the original mail.
MailAndFax is Version 1.0 and I don't think I'm going to develop it further.
edf0ca926b7baf993a1433509a2271ea mailandfax.pl
Hacked by nik, hackers@c0re.23.nu
Created: Fri 01 18 18:03:29 CET 2002
Last Modified: Fri 01 18 18:03:29 CET 2002