I HAVE A DREAM Email to Voicemail

notaloafer

New Member
Joined
Jun 7, 2013
Messages
19
Reaction score
0
So I've spent the last hour or two trying to find someone in a similar situation as me in order to get some insight into how to configure sendmail, but have turned up empty-handed.

I have a dedicated Windows Exchange Server on the network running off of a static IP address (WAN) and fixed local IP address (192.168.230.10). PBX In A Flash is setup on a separate box and is on the same network. What I need to do is configure it so that when voicemails are left in PIAF, it emails it through my Exchange Server using the account "[email protected]" with a password (I am not an open relay). I've tried changing a bunch of settings in the resolution aspect of my PIAF box, but am still stuck at the following message:

Code:
The original message was received at Wed, 19 Jun 2013 16:27:10 -0700
from pbx.local [127.0.0.1]
 
  ----- The following addresses had permanent fatal errors -----
<[email protected]>
    (reason: 550 5.7.1 Sender ID (PRA) Domain Does Not Exist)
 
  ----- Transcript of session follows -----
... while talking to mail.mydomain.com.:
>>> DATA
<<< 550 5.7.1 Sender ID (PRA) Domain Does Not Exist
554 5.0.0 Service unavailable

Any insight as to what I can start working on would be much appreciated.

Thanks!
 
Sounds like a DNS issue. Have you tried to ping mail.mydomain.com from your PIAF server?
 
There's quite a bit to be done after installing PIAF. One of them can be setting up sendmail to send to an smtp-relay.


- Edit /etc/mail/sendmail.mc
- Edit the SMART_HOST line to look like
define (`SMART_HOST’, `my.exchangeserver.com’)dnl
- Save and exit, then run /etc/mail/make
Run service sendmail restart

That will send the mail directly to your Exchange box and lets it do the heavy lifting of email delivery, rather than having boxes delivering mail willy nilly on your network. I should add that you will need to set up Exchange to accept mail, and possibly relay, from PIAF.
 
Just set up Exchange/SMTP to accept mail from your PIAF install by LAN (internal) IP address. This is what we do for internal services. Anything else is rejected. Set-up your smarthost within sendmail as matthew has suggested.
 
Here is the guide I followed: http://www.voip-info.org/wiki/view/Asterisk+Voicemail+as+email+using+sendmail

Instead of doing a "open relay" SMTP Connector in Exchange 2010, I instead created a Voicemail account in Exchange / Active Directory. I followed the above guide to a T and instead of messages building up in the "asterisk" account, I see a backup in "Mail Queue" under "Sendmail" in the Webmin control panel.

The message reads as follows: Deferred: connection refused by mydomain.com (mydomain.com is correct, just masking it for support purposes)

Again, I followed the above guide word-for-word. Any ideas as to where I can troubleshoot from here? I am not sure why my server is refusing the connection when I try to authenticate using username/password.

Thanks, and I apologize for the delay.
 

Members online

No members online now.

Forum statistics

Threads
26,687
Messages
174,410
Members
20,257
Latest member
Dempan
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Back
Top