Carlos Chavez
2008-Jul-22 16:57 UTC
[asterisk-users] Voicemail email to alternative ports...
The main DSL provider in Mexico is no blocking access to port 25 so the email notification for voicemail is stuck in the server. I suppose that I have to change the sendmail configuration so it can send email to an alternative port but I wanted to ckeck first if there is an option to do it from the voicemail.conf file. -- ?Telecomunicaciones Abiertas de M?xico S.A. de C.V. Carlos Ch?vez Prats Director de Tecnolog?a +52-55-91169161 ext 2001 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: This is a digitally signed message part Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20080722/a8f523e5/attachment.pgp
Gordon Henderson
2008-Jul-22 18:58 UTC
[asterisk-users] Voicemail email to alternative ports...
On Tue, 22 Jul 2008, Carlos Chavez wrote:> The main DSL provider in Mexico is no blocking access to port 25 so the > email notification for voicemail is stuck in the server. > > I suppose that I have to change the sendmail configuration so it can > send email to an alternative port but I wanted to ckeck first if there > is an option to do it from the voicemail.conf file.Asterisk seems to call a local sendmail running on the host that asterisk is running on, so you need to get that incanation of sendmail (or whatever sendmail look-a-like you're using) to relay the email using a different port. However, why don't you get the local sendmail to simply relay outgoing email via the ISPs mailservers than get it to send email directly? That's what you probably ought to be doing anyway. This is an m4 sendmail.mc template you might want to use: divert(-1) divert(0)dnl OSTYPE(linux) FEATURE(nullclient, RELAY_HOST) MASQUERADE_AS(MASQ_HOST) Substitute RELAY_HOST for your ISPs email server (smtp.telecomabmex.com ?) and MASQ_HOST for your local domain (maybe just telecomabmex.com) Gordon