--- smsdaemon/smsdaemon.conf 2008/12/10 08:59:58 171 +++ smsdaemon/smsdaemon.conf 2008/12/23 12:09:08 216 @@ -15,6 +15,50 @@ 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] @@ -26,7 +70,8 @@ # Option pin # PIN code for the SIM card -pin = +pin = 0067 + #this is the config section if the smstools transceiver is chosen