If you need to disable some receivers to get messages you can create a blacklist file. During installation an example file will be copied: /etc/smsd.black.
This is a simple text file that contains the phone numbers of the receivers that you want to disable. You can add comments that start with an # character.
Example:
491721234567 # Stefan Frings
491721111111 # Test
If you need to enable only a specified list of receivers you can create a whitelist file. Normally you do not have a whitelist - everybody can receive SM except those who are in the blacklist. If a recipient phone number is in both files it will not get a SM. During installation an example file will be copied: /etc/smsd.white.
This is a simple text file that contains the phone numbers of the receivers that you want to enable. You can add comments that start with an # character.
Example:
491721234567 # Stefan Frings
491721111111 # Test
Note: You can edit theses files without restarting the porgram.
Keep these lists as short as possible because the program is not optimized for good performance in this function. If you need large lists you should better use SQL tables. The book describes how to allow or disallow sending of messages by criteria that are stored in a mysql database.