[SR-Users] Kamailio as SMTP server

Olle E. Johansson oej at edvina.net
Thu Nov 15 17:37:39 CET 2012


15 nov 2012 kl. 16:53 skrev Krishna Kurapati <kkurapat at gmail.com>:

> Hi,
> 
> Can Kamailio act as SMTP server to receive emails and forward those to SIP users as MESSAGEs?
> 
> It would be nice if postfix or some other rich SMTP server could function as module of kamailio using all the services provided by kamailio scripting.

Hi!

You can certainly do this. Kamailio doesn't act as a an SMTP server, so you will have to script based on incoming e-mails, which is easy. Then have your script use the HTTP interface or another interface, like MI or RPC, into kamailio to push the message and the address to send. There's also LUA integration and Daniel has been showing presentations on how to integrate Kamailio with Twitter using LUA. If it's possible to integrate with Twitter, it's certainly possible to integrate with good old mail. 

Having said that, the simplest way would be to use a tool like SIPSAK to send the MESSAGE to kamailio and let kamailio route it to the user.

Cheers,
/O


--
* Olle E. Johansson - oej at edvina.net
* Kamailio & SIP Masterclass Miami FL December 2012
* http://edvina.net/training/




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20121115/b67c3d21/attachment.htm>


More information about the sr-users mailing list