Niels Przybilla schrieb:
Hi,

is there any current development for a script that parses mails and sends them with kannel via sms ?

none that is in the contri/ directory AFAIK.

There are different approaches IMO to handle a mail2sms bridge for Kannel:

The simple way:
- use procmail, and pass the corresponding sections to a shell or php script passing the fields to the sendsms HTTP interface.

The state-of-the-art way:
- implement a module for your favorite MTA, i.e. exim, to handle the mail and passing it via a persistent socket connection to the bearerbox. This is not easy, since exim (like apache) is a pre-forked model architecture, where each incoming mail is hand over to a spawned exim process and after the processing is done, the process is stopped. So it's tricky to handle the "persistence connection" towards bearerbox.

Here again 2 options:
- make the exim module call the sendsms HTTP interface of smsbox, i.e. using cURL calls in the exim module. - use a stub "smsbox connection daemon", let's call it udpbox, which connects to bearerbox and listens on the other side for UDP datagrams. Each exim process that handles the inbound email would then issue a simple (and fast acting) UDP datagram to the udpbox ensuring the information is passed fast the line towards bearerbox.

Stipe ;)

-------------------------------------------------------------------
Kölner Landstrasse 419
40589 Düsseldorf, NRW, Germany

tolj.org system architecture      Kannel Software Foundation (KSF)
http://www.tolj.org/              http://www.kannel.org/

mailto:st_{at}_tolj.org           mailto:stolj_{at}_kannel.org
-------------------------------------------------------------------

Reply via email to