![]() |
I thought I knew how to do this, but the more I did, the less Iknew. So I threw everything out and started reading again.
It seems the practice is to use the rfc822 format of: user@xxxxxxxxxxxxxxxxx
The goal is to send the fax to phone number 'number' and have it identified as for 'user'.
This requires first using a DNS mx record with a wildcard. So you would have to two DNS records:
fax.domain. IN A 1.2.3.4 *.fax.domain. IN MX 10,fax.domain.
Then to your sendmail.mc add:
define(`FAX_MAILER_PATH',`/usr/bin/faxmail')dnl define(`FAX_MAILER_ARGS',`faxmail -d -n -p 12pt $u@$h $f')dnl MAILER(`fax')dnl
But there is no comment on where these are to be in the sendmail.mc file.
but is this right? You want to run a script for processing the mail? Is the above enough? what of the script at:
http://www.hylafax.org/site2//howto/clients/mailfax
And what of spamassassin? You want it to trash spam, not try to fax it. How do you get spamassassin to run first. Also some of the other spammer tools (if the from address is invalid reject, can't remember right now that tool).
____________________ HylaFAX(tm) Users Mailing List _______________________ To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi On UNIX: mail -s unsubscribe hylafax-users-request@xxxxxxxxxxx < /dev/null *To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx*