/etc/sendpage/sendpage.cf is in sendpage-server 1.0.3-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 | ##############################################################################
# sendpage.cf #
##############################################################################
#
# There are four majors sections:
# - global Any global settings
# - "modem" Each modem's settings
# - "pc" Each Paging Central's settings
# - "recip" Each recipient name's settings
#
# Except for global, each section starts with the section name in
# []'s. So, to define a modem named "sportster", the section name
# would be "[modem:sportster]", and all of the sportster's settings
# would follow.
#
# section names cannot have "=", "@", or ":" in their text.
#
# For each major section, I go through all the default values
# and their variable names. If you don't like a default value,
# just comment in the variable name, and change the value to something
# else.
#
#############################
# global section
#############################
# queue & manager-level debugging. Default is "false"
#
#debug=true
# select-loop debugging. Default is "false"
# Leave this as it is unless you're digging around in the select
# loop code. It is VERY annoying. :)
#
#debug-select=true
# SNPP activity debugging. Default is "false"
#
#debug-snpp=true
# alias-expansion debugging. Default is "false"
#
#alias-debug=true
# Filename prefix for writing process ID files.
# Default is "/var/spool/sendpage/sendpage"
#
#pidfileprefix = /tmp/var/spool/sendpage/sendpage
# Filename prefix for writing UUCP-style device locks.
# Default is "/var/lock/LCK.."
#
#lockprefix = /tmp/var/lock/LCK..
# Directory to store Paging Central pager queues
# Default is "/var/spool/sendpage"
#
#queuedir = /tmp/var/spool/sendpage
# Database dbi type/connection info for large user lists
#
# Defaults are all ""
#
#dsn = dbi:Pg:Db:dbname=sendpage
#dsn = dbi:mysql:database=sendpage;host=db.mydomain.name;port=3306
#dbuser = sendpage
#dbpass = mekmitasdigoat
#dbtable = sendpage
# Username that sendpage should be running as.
# Default is "sendpage"
#user = nemesis
# Group sendpage needs to lock devices.
# Default is "tty"
#group-lock=uucp
# Group sendpage needs to read/write devices.
# Default is "dialout"
#group-tty=users
# Email address that page emails claims to be coming from.
# Default is "sendpage"
#
#page-daemon = sendpage@example.com
# Will page-daemon be Cc'd on email failures?
# Default is "true"
#cc-on-error = false
# By which mechanism should email be delivered? mail, sendmail, or SMTP?
# Default is "sendmail"
#mail-agent = mail
# Should page senders be notified about permanent failures?
# Default is "true"
#fail-notify = false
# Page senders should be notified every Xth temporary failure.
# (0 means 'never')
# Default is "5".
#tempfail-notify-after=10
# How many times does a page hit a temporary error before failing forever?
# Default is "20"
#max-tempfail=50
# Should syslog be used instead of STDERR for logging?
# Default is "true"
#syslog=false
# When using syslog, which syslog options should be used?
# (any of "pid", "ndelay", "cons", or "nowait")
# Default is "pid"
#syslog-opt= pid, cons
# Which syslog facility should be used? man syslog for more info
# Default is "daemon"
#syslog-facility=local6
# What port sendpage binds to for the SNPP server.
# Default is "444"
#snpp-port=3044
# What local address sendpage binds the SNPP server to.
# *NOTE*
# You should set this to "0.0.0.0" if you want to receive pages from
# the rest of the world.
#
# You can use this to limit which IP address SNPP is bound to.
# *NOTE*
#
# Default is "localhost"
#snpp-addr=0.0.0.0
# What to do about incoming SNPP requests (multiple entries allowed)
# *NOTE*
# You should set this to "0.0.0.0/0.0.0.0:ALLOW" if you want
# anyone to connect to your SNPP server.
# *NOTE*
#
# Format is "NET/MASK:WAY" where WAY is either "ALLOW" or "DENY"
#
# ACL processing is done top to bottom, and if no match occurs,
# the connection is rejected.
#
# Default is "127.0.0.1/255.255.255.255:ALLOW"
#snpp-acl="128.174.5.0/255.255.255.0:ALLOW"
#snpp-acl="128.23.1.10/255.255.255.255:DENY"
#snpp-acl="128.23.1.0/255.255.255.0:ALLOW"
# List of modems a PC should use if not told explicitly.
# Default is all available modems.
#
#modems = sportster
# Default domain for email-cc (not implemented yet)
#fallback-email-domain = @cpoint.net
# Command to run after each successful or failed page
# Default is unset
# Command gets contents of page on stdin, and 2 command line
# parameters:
# arg 1: status (0=page failed, 1=page succeeded)
# arg 2: page alias (who was paged)
#
#completion-cmd = "/usr/local/bin/page-sent"
######################
# modem configuration
# Each section should be called "modem". (e.g. "[modem:sportster]")
######################
# My first "modem" section.
#[modem:example]
# Should this modem's character-level debugging be turned on?
# Default is "false"
#debug = true
# This modem's transmission settings.
# Defaults are data=7, parity=even, stop=1, flow=rts,
# baud=9600, strict-parity=false
#data = 8
#parity = none
#stop = 1
#flow = soft
#baud = 38400
#strict-parity = true
# Which device this modem should use
# Default is "/dev/null", so you better specify one. :)
#dev = /dev/modem
# This modem's initialization string
# Default is "ATZ"
#init = ATE&1
# This modem's "okay" response string (this is a regexp)
# Default is "OK"
#initok = 0
# What to look for if something has gone wrong while init'ing (this is a regexp)
# Default is "ERROR"
#error=1
# How many seconds to wait for initok after init with this modem
# Default is "4"
#initwait=1
# How many times to try to initialize the modem
# Default is "2"
#initretries=1
# The dialing prefix for this modem
# Default is "ATDT"
#dial=ATDP
# The telephone prefix to get a dialtone out of the building (for PBXs, etc)
# Default is ""
#dialout="9,"
# The areacode this modem has (for figuring areacode matches with PCs)
# Default is unset
# If you never use area code, either make this "-" or don't use "areacode"
# options in the PC definitions.
#areacode="847"
# The dialing prefix for dialing long distance calls (some PBXs do weird stuff)
# Default is "1-"
#longdist="81"
# What to look for after connecting successfully (this is a regexp)
# Default is "CONNECT.*\r"
#dialok=0
# What to look for if something goes wrong while dialing (this is a regexp)
# Default is "ERROR|NO CARRIER|BUSY|NO DIAL|VOICE"
#no-carrier=ERROR
# How many seconds to wait for dialing to connect
# Default is "60"
#dialwait=30
# How many times to try and redial (unimplemented, actually...)
# Default is "3"
#dialretries=1
# How should "carrier detection" be done? "on", "off", "dsr"
# "DSR" can be used when a cable or OS doesn't correctly provide CD
# Default is "on"
#carrier-detect=dsr
# How many seconds should the DTR be held down during initialization?
# Default is "0.5"
#dtrtime=1.5
## As an example, this is what a regular external modem might look like,
## with no special settings:
##
#[modem:sportster]
#dev = /dev/modem
## As an example, this is what a directly attached paging terminal
## might look like:
##
#[modem:direct]
#carrier-detect=off
#dtrtime=0
#init=""
#initok=""
#dial=""
#dialok=""
#dev=/dev/serial
#########################
# Paging central section
# each section should be called "pc" (e.g. "[pc:ameritech]")
#########################
#[pc:example]
# Is this PC enabled? Set to false to stop processing a PC, for example
# Default is "true"
#enabled= false
# This PC's protocol-level debugging.
# Default is "false"
#debug = true
# Email address that page emails claims to be coming from.
# Default is unset, and will fall back to the global "page-daemon" setting
#
#page-daemon = someone@other.place
# Will page-daemon be Cc'd on email failures for this PC?
# Default is unset, and will fall back to global "cc-on-error" setting
#cc-on-error = true
# Should page senders be notified about permanent failures?
# Default is unset; will fall back to global option
#fail-notify = false
# Page senders should be notified every Xth temporary failure.
# (0 means 'never')
# Default is unset; will fall back to global option
#tempfail-notify-after=10
# How many times does a page hit a temporary error before failing forever?
# Default is unset; will fall back to global option
#max-tempfail=50
# Command to run after each successful or failed page, overrides global
# Default is unset
# Command gets contents of page on stdin, and 2 command line
# parameters:
# arg 1: status (0=page failed, 1=page succeeded)
# arg 2: page alias (who was paged)
#
#completion-cmd = "/usr/local/bin/page-sent"
# If for some reason you need to override the default list of modems,
# do it here.
# Default is all available modems.
#modems = sportster
# If you need specific communication settings for this PC, they go here.
# Defaults are data=7, parity=even, stop=1, flow=rts,
# baud=115200, strict-parity=false
#data = 8
#parity = none
#stop = 1
#flow = soft
#baud = 9600
#strict-parity = true
# What areacode is this PC in? If unset, the modem won't match areacodes
# Default is unset
#areacode= 312
# What phone number to reach this PC at.
# Default is "", so you better fill one in
#phonenum= 5149243
# How many pages can be sent in each session with this PC?
# Default is 0 (unlimited)
#maxpages=12
# How many blocks can be sent in each session with this PC?
# Default is 0 (unlimited)
#maxblocks=60
# How many characters can be sent in each page for this PC? (For UCP, not TAP)
# Default is 1024
#maxchars=300
# How many characters per block are allowed during TAP transmission?
# The protocol normally has this at "250" (due to the 256 limit, and
# encoding requires 6 chars). Making this higher than 250 isn't sensible,
# but some TAPs need it smaller.
# Default is "250"
#chars-per-block=230
# How many times are we allowed to split up a page that exceeds the
# max chars limit? (For example, if maxchars was "100" and maxsplits was
# "5" and someone sent a 2000 character page, sendpage would generate
# five 100-character pages before cutting off the page.)
# Default is "6"
#maxsplits=2
# Which TAP protocol to use. Should be one of "PG1", "PG3", or "UCP"
# Regular TAP PagingCentrals are "PG1".
# UCP PagingCentrals will need "UCP".
# If you had a "pet3" style PC before, this needs to be "PG3"
# Default is "PG1"
#proto=PG3
# How many fields does the PC expect to be getting during Block Transmission?
# If you had a "pet3" style PC before, this needs to be "3".
# Default is "2"
#fields=3
# What is the password for accessing this Paging Central?
# Default is "000000". Shouldn't be more than 6 characters.
#password=123456
# Should we assume strict TAP protocol, and require CR before each answer?
# If you can set this to true, do so, as it makes textual response codes
# easier to read. However, very few PCs use those codes, and very few
# PCs have correctly implemented strict TAP, so it's unlikely you want this.
# Default is "false"
#stricttap=true
# Characters less than 0x20 are allowed in a block's field?
# If you can set this, it makes pages prettier (can send tabs, newlines,
# etc), but some PCs really don't like this. See 'esc' and 'lfok' options.
# Default is "false"
#ctrl=true
# Can characters less than 0x20 be escaped, as in TAP spec 1.8?
# If you can't set "ctrl" to true, see if this one set to true works.
# Default is "false"
#esc=true
# Is LF explicitly allowed by this PC? (only useful if "ctrl=false")
# Default is "false"
#lfok=true
# Can fields be split across blocks?
# Default is "true"
#fieldsplits=false
# How many seconds to wait before sending CR when waiting for the ID= tag?
# Default is "2", from the T1 of the TAP protocol
#answerwait=10
# How many retries to allow before giving up waiting for the ID= tag?
# Default is "3", from the N3 of the TAP protocol
#answerretries=3
# How many seconds before we giving up trying to dial this PC?
# Default is whatever the modem's dialwait is
#dialwait=20
# How many seconds should this PC wait between queue scans?
# Default is "20"
#rundelay=10
## I have a skytel that only works in Illinois, and I've only called this
## number from chicago, but I think it's valid as a national TAP access
## number.
#[pc:skytel]
#areacode=800
#phonenum=7596366
#stricttap=true
## I have a nextel that should work Nationally, but I've only called this
## number from Chicago, while I was IN Chicago with the NexTel.
#[pc:nextel]
#areacode=312
#phonenum=9076683
#stricttap=true
## This is the BellSouth RIM pager
#[pc:rim-pager]
#areacode=800
#phonenum=868-2835
#stricttap=true
###################
# Recipients
# This section starts with "recip". (e.g. "[recip:cook]")
# Sorry this section is so clunky...
#
# 'email-cc' will get passed down to an expanding alias. For
# example, look at the "[recip:cook]" below. I have an email-cc,
# and it'll stick with the recip alias, even though it finally
# expands the "dest" to be "cook_ameritech". Did that make any sense?
#
# dest: Where to send the page. Either PIN@paging-central, or
# another recip name.
# email-cc: Where to send an email CC of the page
#
###################
# My three pagers
#[recip:cook_ameritech]
#dest = 1234567@ameritech
#[recip:cook_nextel]
#dest = 1234567@nextel
#[recip:cook_skytel]
#dest = 1234567@skytel
#[recip:cook]
#dest = cook_ameritech
#email-cc= cook@cpoint.net
# Paul's nextel
#[recip:pholcomb]
#dest = 1234567@nextel
# A group alias for Paul and me
#[recip:oncall]
#dest = cook, pholcomb
#email-cc= qpoint@cpoint.net
|