📄 blacklist.html
字号:
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <META NAME="Title" CONTENT="SMS Server Tools 3"> <META NAME="Robots" CONTENT="INDEX,FOLLOW"> <META NAME="Language" CONTENT="English"> <title>SMS Server Tools 3</title><STYLE type="text/css">h3 { background-color: #DCDCFE;}blockquote { background-color: #FFD; font-size: 90%; padding:5pt; padding-top:1pt; margin-bottom:5pt; border-style: outset; border-color: #aaaa99; border-width: 0.05pt 2pt 2pt 0.05pt;}blockquote p:first-letter { font-size: 110%; font-weight: bold; color: red;}</STYLE> </head><body><h2><font color=blue>SMS Server Tools 3</font></h2><a href="index.html">Home</a><h3>Blacklist and Whitelist</h3><!-- START --><p>If you need to disable some receivers to get messages you can create a blacklist file.<p>This is a simple text file that contains the phone numbers of the receivers that you want todisable. You can add comments that start with an # character.</p><p>Example:</p><p><table border=1 bgcolor=lightgrey><TR><TD><font face="Courier New, Courier, monospace">491721234567 # Michael Testman<br>44 # Do not allow any number in UK<br>s # Disallow all short numbers</font></TD></TR></table></p><p><b>Important note:</b><br>When you send a message, the destination number may be either in international format or in any format starting with an s. When somebody shall not receive messages, then you need todo either<ul> <li>Disallow all short numbers</li> <li>Blacklist regular international format <u>and</u> blacklist any alternative number formats. Start the alternative formats with an s. </li></ul>Example:</p><p><table border=1 bgcolor=lightgrey><TR><TD><font face="Courier New, Courier, monospace">491721234567 # Michael Testman normal international format<br>s00491721234567 # Michael Testman alternative international format<br>s01721234567 # Michael Testman local format<br>s1234567 # Michael Testman alternative local format</font></TD></TR></table></p><h3>Whitelist</h3><p>If you need to enable only a specified list of receivers, then you can create a whitelist file.Normally you do not have a whitelist - everybody can receive SM except those who are in theblacklist. If a recipient phone number is in both files it will not get a SM. The blacklist is more important.</p><p>Example:</p><p><table border=1 bgcolor=lightgrey><TR><TD><font face="Courier New, Courier, monospace">491721234567 # Stefan Frings<br>491721111111 # Test<br>44 # Allow any destination in UK<br>s8 # Allow all short numbers that start with an 8</font></TD></TR></table></p><p>With the smsd version >= 3.1 whitelist can also specify a queue to be used.<br>This overrides automatic number based selection and can be overridden by the queue setting in the message file.</p><p>Example:</p><p><table border=1 bgcolor=lightgrey><TR><TD><font face="Courier New, Courier, monospace"># Messages to Stefan and Test are queued normally,<br># because any queue is not yet defined.<br>491721234567 # Stefan Frings<br>491721111111 # Test<br># Messages to UK and s8 numbers will use a queue specified:<br>[QUEUE1]<br> 44 # Allow any destination in UK<br>s8 # Allow all short numbers that start with an 8<br># Other short numbers will use another queue:<br>[QUEUE2]<br>s<br>[] # Setting can be cleared with empty brackets.<br>491722222222 # Another Test, queue not defined.</font></TD></TR></table></p><p>Note: You can edit these files without restarting the program.</p><p>Keep these lists as short as possible because the program is not optimized for good performance inthis function. If you need large lists you should better use SQL tables. </p><blockquote><p>The <a href="book.html" target="_blank">book</a>describes how to allow or disallow sending of messages by criteria that are stored in a mysql database.</p></blockquote><p>With the smsd version >= 3.1 you can also make a provider sorting using SQL tables, because message headers are read <b>after</b> the checkhandler is processed.</p></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -