Voicemail Email

nunya

Member
Joined
Oct 1, 2010
Messages
44
Reaction score
3
Hi. I'm new to PBXIAF, longtime Trixbox user. I just cut over to PBXIAX. I did a fresh install on a completely separate server to avoid any issues.
I've followed the tutorial here: http://nerdvittles.com/index.php?p=201#fix-email

I tried this: http://nerdvittles.com/index.php?m=20060607#email

And I tried this (for gmail): http://pbxinaflash.com/community/th...-sendmail-smtp-gateway-on-port-587.570/?t=570

None of which have been successful. I'm certainly not a guru, but I do follow directions well. I even went back to my old trixbox for guidance, but it uses postfix.
I tried switching to postfix, but hitappoint needs sendmail. (I couldn't get postfix to work either.)

I'm sure there has to be a way to make this work. Here is what I have:
I have a domain hosted elsewhere: mydomain.net
The PBX is at my house which has a dynamic IP: mydomain.dlinkddns.com
I can't send a message though "mail".
hitappoint is able to send mail messages out (not sure how it works).
Since the server can't email, I'm assuming I need to fix that before worrying about PBXIAF? I've been fighting this for a while and feel like I've hit a wall.
 
Last edited by a moderator:
Welcome here :) Postfix can be a drop-in replacement for sendmail, as it has a wrapper called sendmail, so I would be surprised if hitappoint won't work that way. What should be trivial is to uninstall sendmail and install postfix. If you have an account externally which you use to send email, you would want to use that. In the postfix config file /etc/postfix/main.cf you want to set the variable 'relayhost' to something like this 'relayhost = myemailhost.com' or whatever the outbound host is you connect to. Almost certainly you need some kind of authentication - if you can post what your email user requires (obviously not real user/password stuff), I can follow up.
 
Mail settings

This is from my site host:
Outgoing Mail Server: mail.mydomain.net (server requires authentication) port 26
 
okay, this should be easy. add the relayhost parameter like this:

relayhost = [MAILHOST]:26

(the square brackets may or may not be needed - but safest to use them)

Add the following (if the lines are there but blank, just edit them):

#Outbound SMTP authentication
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sasl_auth_enable = yes
smtp_sasl_security_options =

then edit the (previously non-existent?) file /etc/postfix/sasl_passwd and add this:

MAILHOST:26 USER:PASSWORD

save the file and create the hash db by:

postmap /etc/postfix/sasl_passwd

then:

postfix reload

and try a test email...
 
The good news - postfix re-installed. Hitappoint can mail out just fine. However PBXIAF still cannot. The outgoing messages are stuck in postfix queue.
 
Hot damn. It was a grammatical error. sasl_passwd | sasl_password

I feel stupid, in a way. But, it should be so difficult. I think every * distro I've dealt with has had a mail issue.
Thanks for your help!
 
Sweet! Glad it's working. I've used postfix for years - it is WAY easier than sendmail, IMO :)
 
Just an FYI for anyone else who may encounter this issue. I beat my head against the wall for days trying to get Sendmail to work with a provider that requires SMTP authentication.
Postfix most likely would have worked much sooner if it weren't for my typing error. The directions posted by dswartz are the proper solution for a Postfix install.
 
the instructions for gmail also work the 1st time too. it even has a section in there on seting up the auth part of the system.
 

Members online

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