# Can't get asterisk voicemail notification through email

**URL:** <https://community.asterisk.org/t/cant-get-asterisk-voicemail-notification-through-email/35694>\
**Category:** Asterisk Support\
**Created:** [June 22, 2011, 6:41am UTC](https://community.asterisk.org/t/cant-get-asterisk-voicemail-notification-through-email/35694 "2011-06-22T06:41:45Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/asterisk/original/2X/4/475d0c889911cfb84ac4881ad6df8b523e3f9105.png) [@system](https://community.asterisk.org/u/system)\
**Post date:** [June 22, 2011, 6:41am UTC](https://community.asterisk.org/t/cant-get-asterisk-voicemail-notification-through-email/35694/1 "2011-06-22T06:41:45Z")

</div>

Hello. i am new to asterisk. i have configured voicmail.conf and have included email addresses of the users. i am using RHEL5 linux. i removed sendmail as it seems difficult to configure. now i have installed postfix but i don’t know how to configure it. i want to received email notifications for voicemails. kindly guide me step up step for setting up postfix with asterisk.

---

<div class="post-metadata">

**Author:** ![david55](https://avatars.discourse-cdn.com/v4/letter/d/e19adc/32.png) [@david55](https://community.asterisk.org/u/david55)\
**Post date:** [June 22, 2011, 7:19am UTC](https://community.asterisk.org/t/cant-get-asterisk-voicemail-notification-through-email/35694/2 "2011-06-22T07:19:58Z")

</div>

Firstly, never use forum private mail to ask questions (this also appeared in my PM in box).

I’ve never heard of postfix.

My advice would be to delete it and install sendmail. Configuring sendmail should not be difficult, and, in my case, it actually worked without any configuration at all (although the office email system is particularly well configured in terms of MX records).

If you want to use it, use its support channels. Don’t expect step by step instructions, unless you are prepared to pay commercial support rates.

---

<div class="post-metadata">

**Author:** ![dejanst](https://avatars.discourse-cdn.com/v4/letter/d/9fc348/32.png) [@dejanst](https://community.asterisk.org/u/dejanst)\
**Post date:** [June 22, 2011, 10:40am UTC](https://community.asterisk.org/t/cant-get-asterisk-voicemail-notification-through-email/35694/3 "2011-06-22T10:40:07Z")

</div>

I also find sendmail to be a bit of overkill to set up if you only want to use it for sending e-mail notifications. That is why I set up a simple SMTP client called SSMTP. It is small, simple and very eazy to set up.

[linux.com/archive/feature/132006](http://www.linux.com/archive/feature/132006)

CentOS does not have it in it’s repositorys, so you have to check out Fedora/RHEL repositrys to get the RPM 😉

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/asterisk/original/2X/4/475d0c889911cfb84ac4881ad6df8b523e3f9105.png) [@system](https://community.asterisk.org/u/system)\
**Post date:** [June 25, 2011, 9:48am UTC](https://community.asterisk.org/t/cant-get-asterisk-voicemail-notification-through-email/35694/4 "2011-06-25T09:48:32Z")

</div>

thanks a lot. i will do check it out. thanks for the support.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/asterisk/original/2X/4/475d0c889911cfb84ac4881ad6df8b523e3f9105.png) [@system](https://community.asterisk.org/u/system)\
**Post date:** [June 25, 2011, 10:39am UTC](https://community.asterisk.org/t/cant-get-asterisk-voicemail-notification-through-email/35694/5 "2011-06-25T10:39:38Z")

</div>

hi. i configured ssmtp using the following links

[nixtutor.com/linux/send-mail … and-ssmtp/](http://www.nixtutor.com/linux/send-mail-with-gmail-and-ssmtp/)

[linux.com/archive/feature/132006](http://www.linux.com/archive/feature/132006)

but when i try

sendmail [someemailadrs@gmail.com](mailto:someemailadrs@gmail.com) and then type the message it doesnot get back by pressing CTRL-D. i have to release it using ctrl-c. the mail is also not sent.

kindly let me know how to configure it for asterisk voicmail email notification as well.

---

<div class="post-metadata">

**Author:** ![david55](https://avatars.discourse-cdn.com/v4/letter/d/e19adc/32.png) [@david55](https://community.asterisk.org/u/david55)\
**Post date:** [June 25, 2011, 2:18pm UTC](https://community.asterisk.org/t/cant-get-asterisk-voicemail-notification-through-email/35694/6 "2011-06-25T14:18:41Z")

</div>

If this happened on sendmail itself, I’d assume you had a non-responding DNS server or mail relay (in the latter, particularly, an over-zealous fire wall might be involved) and you hadn’t waited for the attempt to time out and the mail to be queued for a later try.

---

<div class="post-metadata">

**Author:** ![riddlebox](https://avatars.discourse-cdn.com/v4/letter/r/dbc845/32.png) [@riddlebox](https://community.asterisk.org/u/riddlebox)\
**Post date:** [June 26, 2011, 1:49pm UTC](https://community.asterisk.org/t/cant-get-asterisk-voicemail-notification-through-email/35694/7 "2011-06-26T13:49:44Z")

</div>

I just wanted to add the link that I use to setup SSMTP  
[cyberciti.biz/tips/linux-use … thost.html](http://www.cyberciti.biz/tips/linux-use-gmail-as-a-smarthost.html)

it makes it real easy and works great!

---

<div class="post-metadata">

**Author:** ![dejanst](https://avatars.discourse-cdn.com/v4/letter/d/9fc348/32.png) [@dejanst](https://community.asterisk.org/u/dejanst)\
**Post date:** [June 27, 2011, 5:55pm UTC](https://community.asterisk.org/t/cant-get-asterisk-voicemail-notification-through-email/35694/8 "2011-06-27T17:55:07Z")

</div>

For sending voicemail-to-email, did you try setting this parameter in voicemail.conf ?

mailcmd = /usr/sbin/ssmtp -t

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/asterisk/original/2X/4/475d0c889911cfb84ac4881ad6df8b523e3f9105.png) [@system](https://community.asterisk.org/u/system)\
**Post date:** [July 1, 2011, 5:41am UTC](https://community.asterisk.org/t/cant-get-asterisk-voicemail-notification-through-email/35694/9 "2011-07-01T05:41:12Z")

</div>

no. i will try it. thanks.
