Can anyone guide me in setting up a sendmail rule or configuration that sends 
numeric addresses like phone numbers to a particular user or process?

I would like to have sendmail accept mail from a copier and route it to the 
fax send process if and only if the userid looks like a fax number.
e.g.  6121231234 at faxserver.company.com

It must be built off of the regexp map like this but I don't understand what 
to put in the last line to actually get it to deliver to someone else.

#LOCAL_CONFIG
  Kallnumbers regex -a at MATCH ^[0-9]+$
  LOCAL_RULESETS
  SLocal_check_mail          # check address against\
                              various regex checks
  R$*                        $:  $>Parse0 $>3 $1
  R$+ < @ bigisp.com.  >48   $:  $(allnumbers $1 $)
  R at MATCH                    $#error $:553 Header Error


But even if I figure that out, what am I supposed to put in an mc file (as 
opposed to the cf file) ?

I'm running Redhat 9 and sendmail-8.12.

Displaying my ignorance,
Gerry





-- 
Gerry Skerbitz
gsker at comcast.net