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 _______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- AstriCon 2008 - September 22 - 25 Phoenix, Arizona Register Now: http://www.astricon.net asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
