Dear List, I'm trying to use the black-list functionality for Kannel, but I'm having some problemas:
1. If I use the black-list directive on the core group, it works as expected (I mean: it REJECTS messages) but I cannot use the black-list group to send a custom message to the rejected addressess. 2. If I use the black-list directive on the sms-service or smsbox group, it just gets ignored and the messages pass as if there's not black-list directive. My kannel.conf "highlights": group = core admin-port = 13010 smsbox-port = 13011 wapbox-port = 13012 wdp-interface-name = "*" admin-password = 12345 status-password = 54321 dlr-storage = internal admin-allow-ip = "127.0.0.1;" box-deny-ip = "*.*.*.*" box-allow-ip = "127.0.0.1;" access-log = "/var/log/kannel/access.log" log-file = "/var/log/kannel/kannel.log" log-level = 2 store-file = "/home/kannel/kannel.store" #If I put the black-list here it DISCARDS messages but no notification is being sent to the client #black-list = http://my.url.com/bl/blacklist.txt ... group = sqlbox id = mydlr smsbox-id = sqlbox bearerbox-host = "127.0.0.1" smsbox-port = 13015 smsbox-port-ssl = false sql-log-table = sent_sms sql-insert-table = send_sms log-file = "/var/log/kannel/sqlbox.log" log-level = 2 ... group = smsbox bearerbox-host = localhost sendsms-port = 13013 log-file = "/var/log/kannel/smsbox.log" access-log = "/var/log/kannel/access.log" log-level = 2 http-request-retry = 5 #If I put the black-list directive here it gets ignored #black-list = http://my.url.com/bl/blacklist.txt ... group = sms-service keyword = default post-url = "http://my.url.com/inbound.php?from=%p&to=%P&msg=lm%20%a&date=%t&smsc=%i" accepted-smsc = "smsc1;smsc2;" #If I put the black-list directive here it gets ignored #black-list = http://my.url.com/bl/blacklist.txt max-messages = 0 group = sms-service keyword = black-list text = "You are denied, go away!" accepted-smsc = "smsc1;smsc2;" max-messages = 1 BTW, I'm using Kannel 1.4.0 patched with SQLBox on CentOS 3.3. Thank you in advance, -- Alejandro Guerrieri Magicom http://www.magicom-bcn.net/