Asterisk Voicemail to Email solved with Postfix

A while back I wrote an article for about routing loops occurring from misconfigured DNS(or lack there of). My article was about routing loops caused by Asterisk attempting to send mail outside the network when the mail server destination is internal. To correct this issue the Asterisk PBX needs to define a ‘mail relay'(mail relay) on the internal network. This post will discuss using Postfix as an alternative to Sendmail for this purpose.

The goals of this post:

– explain Asterisk voicemail to email routing loops

– LAB: Install Postfix and configure ‘smarthost’ for mail relay