<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>15 nov 2012 kl. 16:53 skrev Krishna Kurapati &lt;<a href="mailto:kkurapat@gmail.com">kkurapat@gmail.com</a>&gt;:</div><br class="Apple-interchange-newline"><blockquote type="cite">Hi,<div><br></div><div>Can Kamailio act as SMTP server to receive emails and forward those to SIP users as MESSAGEs?</div><div><br></div><div>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.</div>
</blockquote><br></div><div>Hi!</div><div><br></div><div>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.&nbsp;</div><div><br></div><div>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.</div><div><br></div><div>Cheers,</div><div>/O</div><div><br></div><br><div apple-content-edited="true">
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>--</div><div><div style="font-size: medium; ">* Olle E. Johansson - <a href="mailto:oej@edvina.net">oej@edvina.net</a><br>* Kamailio &amp; SIP Masterclass Miami FL December 2012</div><div style="font-size: medium; ">* <a href="http://edvina.net/training/">http://edvina.net/training/</a></div></div><div><br class="khtml-block-placeholder"></div></div></div></div></span><br class="Apple-interchange-newline"><br class="Apple-interchange-newline">
</div>

<br></body></html>