HylaFAX The world's most advanced open source fax server

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [hylafax-users] Spam Faxes, Does anyone have a valid TSI-string?



At 10:42 AM 2/28/01 +0100, Michael Stöckel wrote:
>Hi everyone,
>
>As I have read there is a special regex-grammar using
>the QualifyTSI. The string I made didn't work.
>
>Many thanks if someone would send an example.

QualifyTSI works for me here using RedHat 6.1 and HylaFAX 4.1beta3.

First off, I created an ASCII file called etc/tsi (/var/spool/fax/etc/tsi)
which is as follows:

!^RADIOSHACK CORP-FAXB$
!^TANDY CORP-FAXBACK$
^.*$

Then I add the line:

QualifyTSI:		etc/tsi

to my etc/config.<devid> (/var/spool/fax/etc/config.ttyS1)
Then you've got to restart faxgetty (usually 'killall faxgetty' will cause
it to respawn) to have it re-read the config file.  (If you edit etc/tsi, I
don't think that you need to restart faxgetty, so you can edit etc/tsi live.)

Now, any fax calls with TSIs of "RADIOSHACK CORP-FAXB" or "TANDY
CORP-FAXBACK" are rejected, and everything else is accepted.

Note that faxrcvd is *still* invoked when faxes are rejected, but that the
corresponding recvq file is empty.  So, if your faxrcvd script is not
checking for this, FaxMaster will still receive a notification of some
sort.  For the most part, you won't need to worry about the spammers
calling many more times, though.

Lee.



____________________ HylaFAX(tm) Users Mailing List _______________________
 To unsub: mail -s unsubscribe hylafax-users-request@hylafax.org < /dev/null




Project hosted by iFAX Solutions