[asterisk-users] email notification to external email address

Tzafrir Cohen tzafrir.cohen at xorcom.com
Wed Aug 6 00:14:55 CDT 2008


On Tue, Aug 05, 2008 at 07:41:05PM -0400, Andres wrote:
> Brian Simpson wrote:
> 
> >All,
> >
> >I have a problem. The company I work for has been bought out by a bigger 
> >company. The employees are in the process of changing all their email 
> >addresses to the new company name. I have my voicemail.conf file setup 
> >to email users when they have a voicemail message. The mail server that 
> >was used to notify everybody is on the same network as the Asterisk PBX. 
> >Now I have to change all the emails in the voicemail.conf file to the 
> >new company's email addresses. The email server for them are external of 
> >the network that the Asterisk sits on. I have change a couple to test 
> >but the email notification is not happening. Any idea what is going on 
> >and how to resolve. Is there something else that I need to do to get the 
> >emails to work? I am new to the Asterisk and have been forced to take 
> >over for someone that has left the company. I do have telephony 
> >experience with Legacy systems.
> >
> >Any help is appreciated.
> >
> >  
> >
> Your 1st step should be to test smtp funtionality to the outside world.  
> I usually do that from the command line by typing 'mail 
> someemail at somehost', for example:
> # mail asterisk at hotmail.com

You're confusing mail/mailx and sendmail. mail/mailx generates the
Subject and such headers on its own. I think the intended command here
was sendmail.

> Subject: Test Email
> Body of Test
> .
> Cc:
> #
> 
> You should do that while you have another console open doing a capture 
> on port 25 (I use 'ngrep port 25').
> 
> That should give you a clue as to what is happening.

Or better: the logs of the mail server.

-- 
               Tzafrir Cohen
icq#16849755              jabber:tzafrir.cohen at xorcom.com
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir



More information about the asterisk-users mailing list