1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133
|
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<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">
BODY {
BACKGROUND: #ffffff; MARGIN: 5px 5px 10px; FONT: 10pt verdana, geneva, lucida, arial, helvetica, sans-serif; COLOR: #000000
}
td {
FONT: 10pt verdana, geneva, lucida, arial, helvetica, sans-serif;
}
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><a href="http://smstools3.kekekasvi.com">SMS Server Tools 3</a></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 to
disable. 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">
<br>
491721234567 # Michael Testman <br>
44 # Do not allow any number in UK <br>
s # Disallow all short numbers <br>
<br>
</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 to
do 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">
<br>
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 <br>
<br>
</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 the
blacklist. 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">
<br>
491721234567 # Stefan Frings <br>
491721111111 # Test <br>
44 # Allow any destination in UK <br>
s8 # Allow all short numbers that start with an 8 <br>
<br>
</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">
<br>
# Messages to Stefan and Test are queued normally, <br>
# because any queue is not yet defined. <br>
491721234567 # Stefan Frings <br>
491721111111 # Test <br>
<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>
<br>
# Other short numbers will use another queue: <br>
[QUEUE2] <br>
s <br>
<br>
[] # Setting can be cleared with empty brackets. <br>
491722222222 # Another Test, queue not defined. <br>
<br>
</font>
</TD></TR></table>
</p>
<p>
Note: You can edit these files without restarting the program.
</p>
<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>
<hr>
</body>
</html>
|