[smsdaemon] # Option transceiver # which transceiver should be used: # possible values: # * internal # * smstools # * debug transceiver = smstools #Which user / group should the daemon run as # user = smsd group = smsd # Where should logmessages go # options: # logfile : logs to /var/log/smsdaemon.log) # syslog : use the system logger log = logfile # Option plugin # Specify which plugin(s) should be loaded # Several plugin statements are allowed # syntax # plugin = [arguments] plugin = echo plugin = spam plugin = status plugin = hoststatus plugin = tog plugin = weather plugin = list plugin = urltrigger trigger=tou; url=http://t-hoerup.dk/test.php plugin = shellexec trigger=wake; cmd=/usr/local/bin/wake; allowparms=0; returnoutput=0 plugin = shellexec trigger=ping; cmd=nmap -sP 192.168.10.1-255 | grep appears | awk '{print $2}'; allowparms=0; returnoutput=1 plugin = shellexec trigger=fortune; cmd=/usr/games/fortune -s -n 300 ; allowparms=0; returnoutput=1 # Option task # Specify which tasks should be loaded task = spool # Enforce Country Code # if this is set, all outgoing messages must go to phone numbers # starting with this countrycode = 45 # Option blacklist # A comma seperated list of phone numbers that should be ignored # regarding both incomming and outgoing messages # Note: it is a good idea to put the servers own phonenumber in this list blacklist = 4542407617, # Option privileged # A comma seperated list of privileged phonenumbers privileged = 4522337617 #config section for internal gsm modem transceiver [gsmmodem] # Option serialport # Specifies which serial port the modem is attached to serialport = /dev/ttyUSB0 # Option pin # PIN code for the SIM card pin = 0067 #this is the config section if the smstools transceiver is chosen [smstools] # Option inboxdir # where should the files be read from inboxdir = /var/spool/sms/inbox # Option outgoingdir # where should the outgoing messages be written outgoingdir = /var/spool/sms/outgoing