How would you relay on Google Apps, as Google requires SSL or TLS authentication?
How can I configure sendmail to do this? Actually, sendmail is trying to send email directly, and I get the response below. I´ll now try Mike Hammett´s solution. Thanks, Felipe Trevisan *Message contents* The original message was received at Thu, 13 Mar 2008 23:49:31 -0300 from trixbox1.localdomain [127.0.0.1] ----- The following addresses had permanent fatal errors ----- <[EMAIL PROTECTED]> (reason: 550-5.7.1 [201.6.192.115] The IP you're using to send email is not authorized ) ----- Transcript of session follows ----- ... while talking to gmail-smtp-in.l.google.com.: >>> DATA <<< 550-5.7.1 [201.6.192.115] The IP you're using to send email is not authorized <<< 550-5.7.1 to send email directly to our servers. Please use <<< 550 5.7.1 the SMTP relay at your service provider instead. a44si4966479rne.2 554 5.0.0 Service unavailable *Failed delivery status* *Final recipient* [EMAIL PROTECTED] *Reason for failure* 550-5.7.1 [201.6.192.115] The IP you're using to send email is not authorized *Remote mail server* gmail-smtp-in.l.google.com *Reporting mail server* trixbox1.localdomain On Thu, Mar 13, 2008 at 7:13 PM, Mike Hammett <[EMAIL PROTECTED]> wrote: > Through help from people on the lists and then further investigation > based on those results, here is what I did. > > 1) I set the office to a statically assigned IP instead of from the pool. > 2) I made an A entry on one of my domains aiur.ics-il.net (where aiur is > the machine name). > 3) I added aiur.ics-il.net directly after 127.0.0.1 in the /etc/hosts > file (copied below). > 4) I set the from email address (serveremail) in > /etc/asterisk/voicemail.conf to something at the domain I created ( > [EMAIL PROTECTED]). > 5) Presto! > > [EMAIL PROTECTED] ~]# cat /etc/hosts > # Do not remove the following line, or various programs > # that require network functionality will fail. > 127.0.0.1 aiur.ics-il.net Aiur localhost.localdomain localhost > ::1 localhost6.localdomain6 localhost6 > > > ---------- > Mike Hammett > Intelligent Computing Solutions > http://www.ics-il.com > > > > ----- Original Message ----- > *From:* Mike Hammett <[EMAIL PROTECTED]> > *To:* Asterisk Users Mailing List - Non-Commercial > Discussion<asterisk-users@lists.digium.com> > *Sent:* Thursday, March 13, 2008 4:04 PM > *Subject:* [asterisk-users] Mail Server > > I need to setup a small mail server on a local network. It only needs > SMTP ability as it's just so Asterisk can send out emails. The machine has > sendmail installed. My primary mail server seems to be rejecting the > messages. Some research says something isn't configured properly. What do > I have to do so the outside world accepts emails from my Asterisk box? It > is behind a NAT. > > > ---------- > Mike Hammett > Intelligent Computing Solutions > http://www.ics-il.com > > > > ------------------------------ > > _______________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > > > _______________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >
_______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users