Hi,
With the rise of free-fax by email, I would like to have my clients be
able to email in to an autoresponder to get faxed back a text file.
[I don't know why they prefer it to email, dead trees don't dream]
One of the easiest services is
remote-printer(_dot_)senders_name(_at_)14157779999tpc(_dot_)int
where "14157779999" is the fax number and "senders_name" can be
anything.
Now it seems that if someone were to send to say,
info-fax(_at_)adreams(_dot_)org
and put in the subject the phone "14157779999"
that they could get a fax-back!
my recipie at this time can only send back via email to the sender:
:0
* ^X-Rcpt-To(_dot_)*info(_at_)asdreams\(_dot_)org
* !^X-Loop: webmaster(_at_)asdreams(_dot_)org
* !^FROM_DAEMON
| (formail -r ; cat ../infofiles/help_file) | $SENDMAIL -oi -t
How can I adust this to also
1. read the subject line for a phone number (and preferably strip any
parentheses, (404) lines 404-3333 or blanks 404 3333)
and then
2. put that number/string in the OUTGOING mailto:
3. A third option would take the name in the body of the email if
present and put it in sender_name or just substitute something like
"asd-fax" if not present
Thanks, and go easy on me, I be-newbie and need every little thing
explained with a sample/example.
Richard
rcwilk(_at_)dreamgate(_dot_)com