News & Reviews
More How-To's & Tips More News
More Reviews Device Configuration Tools
No account yet? Create one
Forgot your Username or Password?

Welcome to the Voxilla VoIP Forum.

Voxilla has been a trusted source for accurate, up-to-date information on the IP Communications industry since 2002. A dedicated staff of reporters and engineers produce feature articles and product reviews to keep industry watchers abreast of the people, companies, and trends driving a fast moving market.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.





Closed Thread
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old June 16th, 2005, 08:16 PM
armatura armatura is offline
Junior Member
 
Join Date: May 2005
Posts: 3
armatura
Default Asterisk and Email Notification

I have been racking my brain for the past few days trying to get the email notification for a voicemail to work correctly. I realized I had to configure sendmail to work correctly, but that in of itself is very puzzling to me.

I'm a relative newbie to asterisk but can certainly make my way around well enough by this point -- I was curious if anyone had some very simple instructions for configuring sendmail correctly (sendmail.org's instructions not really help, theres about 10,000 steps and I dont understand what half of them refer to, they assume too much for a newb like myself).

Or, alternatively, is there an option to use pine or some simpler program? I have pine configured correctly but dont know what command I should use in the voicemail.conf file as the overriding mail handler "mailcmd=?" that one.

Thanks for any help,

Arm
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #2 (permalink)  
Old June 17th, 2005, 01:15 AM
MustardMan MustardMan is offline
Member
 
Join Date: Jun 2004
Posts: 84
MustardMan
Default

I vaguely recall experiencing the same frustration as you. I eventually figured it out but for the life of me I can't remember the details. I don't think you need sendmail but I could be wrong

Here is what I recall checking/configuring
*Make sure the smtp server daemon (service) is running
*I believe you need to configure your HOST(S?) file to some domain name of your choosing other than the default "localhost". I think this is where my problem was or something related to the HOST(S?) file.

It is very simple how it works but you are correct in that it is hard to find instructions on how to change most Linux default configurations to get it working. Search for how to use the SMTP server that comes with your flavor of Linux. That is what you need to have working as I recall. Not sendmail.

Sorry I can't give you more details.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3 (permalink)  
Old June 17th, 2005, 06:14 AM
craig's Avatar
craig craig is offline
Senior Member
 
Join Date: Jan 2005
Posts: 109
craig
Default

I'm relatively new to asterisk but have been around the block a few times with Linux and the BSDs. There are a number of issues that could be affecting your setup. I personally dislike sendmail (it's configuration is rather compex) and changed it out for postfix. There are a number of how-tos for most OSs. Pine won't help you, since it's a mail client and not a mail server.

I would try to see if you can send mail to yourself first. Just open pine and send your own account an e-mail. If it doesn't work, check the logs to see what went wrong. Then try to send an e-mail to an external account and troubleshoot the same way. If you are on broadband, you'd be surprised at the number of ISPs that won't accept mail from a dynmaic ISP address (spam and all). To fix this you'll need to put in a mail relay entry into the configuration.

So, I'd start at the beginning and see how far you can get with e-mails in general. That will help narrow down why asterisk can't send. Odds are it's a general sendmail configuration problem.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4 (permalink)  
Old June 17th, 2005, 05:20 PM
isepic isepic is offline
Senior Member
 
Join Date: Dec 2004
Posts: 192
isepic
Default

Quote:
Originally Posted by craig
I'm relatively new to asterisk but have been around the block a few times with Linux and the BSDs. There are a number of issues that could be affecting your setup. I personally dislike sendmail (it's configuration is rather compex) and changed it out for postfix. There are a number of how-tos for most OSs. Pine won't help you, since it's a mail client and not a mail server.

I would try to see if you can send mail to yourself first. Just open pine and send your own account an e-mail. If it doesn't work, check the logs to see what went wrong. Then try to send an e-mail to an external account and troubleshoot the same way. If you are on broadband, you'd be surprised at the number of ISPs that won't accept mail from a dynmaic ISP address (spam and all). To fix this you'll need to put in a mail relay entry into the configuration.

So, I'd start at the beginning and see how far you can get with e-mails in general. That will help narrow down why asterisk can't send. Odds are it's a general sendmail configuration problem.
Craig, I think you're 100% right, I wanted to "second" the fact that A LOT of ISPs won't accept email from a dynamic IP address, and using a relay (even gmail) fixed my issues in the past.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #5 (permalink)  
Old June 17th, 2005, 07:14 PM
craig's Avatar
craig craig is offline
Senior Member
 
Join Date: Jan 2005
Posts: 109
craig
Default

For the longest time I could use my home mail server to send just about anywhere. AOL, ironically enough, was the first ISP I noticed that gave me grief and it went down hill from there. Now I use my ISP's mail server as a relay and my problems have gone away!

Just to clarify my original post, when I said to mail yourself, I meant your local account on the machine (i.e., NOT an external ISP). That should just prove that mail is accepted and delivered locally.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old June 17th, 2005, 07:14 PM
  #6 (permalink)  
Old December 19th, 2005, 05:54 AM
isepic isepic is offline
Senior Member
 
Join Date: Dec 2004
Posts: 192
isepic
Default

check out (as I forgot myself) super relay for sendmail the one I found was specifically for sbc-yahoo... so I have a yahoo account, I just replaced where it has sbcglobal.net with my ID and it relays the email through them, of course, after authenticating first with my yahoo email address..... works like a charm. sorry i dont have the direct link.
__________________
[iSEPIC]
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #7 (permalink)  
Old December 19th, 2005, 05:05 PM
greyhound4334 greyhound4334 is offline
Member
 
Join Date: Oct 2005
Posts: 49
greyhound4334
Default

Another alternative is to look at using ssmtp. It's a very simple smtp client, and as such a lot easier to configure. It works fine for me, and I'd beaten my head against the wall with sendmail for too long.

Check out this thread for more: http://forums.digium.com/viewtopic.p...ighlight=ssmtp

Cheers,
john
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #8 (permalink)  
Old December 19th, 2005, 06:06 PM
AlexanderBell AlexanderBell is offline
Senior Member
 
Join Date: Jul 2005
Posts: 269
AlexanderBell
Default

This Nerd Vittles tutorial will show you another approach that usually works.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #9 (permalink)  
Old December 20th, 2005, 06:42 PM
isepic isepic is offline
Senior Member
 
Join Date: Dec 2004
Posts: 192
isepic
Default

Hey Grehound4334 - I agree 100% sendmail sux0rs :-) I found the article I used to make mine work: http://www.urbanophile.com/arenn/hac...h-sbc-dsl.html

Hey AlexanderBell - I love your solution, but I dont want to have to change my hosts file everytime my IP changes with my ISP. So this one worked out better for me, I just relay using my sbc-yahoo account.
__________________
[iSEPIC]
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #10 (permalink)  
Old December 21st, 2005, 01:16 PM
dswartz dswartz is offline
Senior Member
 
Join Date: Oct 2005
Posts: 149
dswartz
Default

i had a different problem - when asterisk would try to send email it would get munged up and bounce back to my internal server due to some name resolution issue (i think?) i have a static dsl IP. i tweaked the sendmail.cf to make my internal postfix server the smart host and all was well.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old December 21st, 2005, 01:16 PM
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:



Similar Threads for: Asterisk and Email Notification
Thread Thread Starter Forum Replies Last Post
Voicemail notification rings phone every 5 minutes... travisbell Asterisk Support Forum 2 August 31st, 2006 04:37 AM
sending SMS from e-mail notification data dunn.hatani IPKall Support Forum 2 April 17th, 2006 01:31 PM
Grandstream Bug in MWI notification? smartgirl Grandstream Support Forum 0 November 2nd, 2005 10:54 PM
Message Notification? ldimegli BroadVoice Support Forum 3 January 4th, 2005 01:30 AM
Asterisk Vmail - Sending vmail via email and no local store? muppetmaster Asterisk Support Forum 4 August 10th, 2004 02:24 PM



All times are GMT. The time now is 01:25 PM.


vBulletin, Copyright ©2000 - 2009, Jelsoft Enterprises Ltd. SEO by vBSEO 3.0.0 ©2007, Crawlability, Inc. Logos and trademarks are the property of Voxilla or their respective owner. All other content © 2003-2007 by Voxilla, Inc.