How would you relay on Google Apps, as Google requires SSL or TLS authentication?<br><br>How can I configure sendmail to do this?<br><br><br>Actually, sendmail is trying to send email directly, and I get the response below. I´ll now try Mike Hammett´s solution.<br>
<br>Thanks,<br><br>Felipe Trevisan<br><br><br><br><table border="1" width="100%"><tbody><tr class="maintitle" bgcolor="#4ebf37"><td><table cellpadding="0" cellspacing="0" width="100%"><tbody><tr><td><b>Message contents</b></td>
<td align="right"><br></td> </tr></tbody></table></td> </tr>
<tr class="mainbody" bgcolor="#efefef"> <td>
<pre>The original message was received at Thu, 13 Mar 2008 23:49:31 -0300<br>from trixbox1.localdomain [<a href="http://127.0.0.1">127.0.0.1</a>]<br><br> ----- The following addresses had permanent fatal errors -----<br>
<<a href="mailto:fetrevisan@gmail.com">fetrevisan@gmail.com</a>><br> (reason: 550-5.7.1 [<a href="http://201.6.192.115">201.6.192.115</a>] The IP you're using to send email is not authorized<br>)<br><br> ----- Transcript of session follows -----<br>
... while talking to <a href="http://gmail-smtp-in.l.google.com">gmail-smtp-in.l.google.com</a>.:<br>>>> DATA<br><<< 550-5.7.1 [<a href="http://201.6.192.115">201.6.192.115</a>] The IP you're using to send email is not authorized<br>
<<< 550-5.7.1 to send email directly to our servers. Please use <br><<< 550 5.7.1 the SMTP relay at your service provider instead. a44si4966479rne.2<br>554 5.0.0 Service unavailable<br></pre></td></tr></tbody></table>
<table border="1" width="100%"><tbody><tr> <td class="maintitle" bgcolor="#4ebf37"><b>Failed delivery status</b></td> </tr>
<tr> <td class="mainbody" bgcolor="#efefef"><table>
<tbody><tr> <td nowrap valign="top"><b>Final recipient</b></td>
<td> <a href="mailto:fetrevisan@gmail.com">fetrevisan@gmail.com</a></td> </tr>
<tr> <td nowrap valign="top"><b>Reason for failure</b></td>
<td> 550-5.7.1 [<a href="http://201.6.192.115">201.6.192.115</a>] The IP you're using to send email is not authorized </td> </tr>
<tr> <td nowrap valign="top"><b>Remote mail server</b></td>
<td> <a href="http://gmail-smtp-in.l.google.com">gmail-smtp-in.l.google.com</a></td> </tr>
<tr> <td nowrap valign="top"><b>Reporting mail server</b></td>
<td> trixbox1.localdomain</td></tr></tbody></table></td></tr></tbody></table><br><br><br><div class="gmail_quote">On Thu, Mar 13, 2008 at 7:13 PM, Mike Hammett <<a href="mailto:asterisk-users@ics-il.net">asterisk-users@ics-il.net</a>> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div bgcolor="#ffffff">
<div>
<div>Through help from people on the lists and then further investigation based
on those results, here is what I did.</div>
<div> </div>
<div>1) I set the office to a statically assigned IP instead of from the
pool.</div>
<div>2) I made an A entry on one of my domains <a href="http://aiur.ics-il.net" target="_blank">aiur.ics-il.net</a> (where aiur
is the machine name).</div>
<div>3) I added <a href="http://aiur.ics-il.net" target="_blank">aiur.ics-il.net</a> directly after <a href="http://127.0.0.1" target="_blank">127.0.0.1</a> in the /etc/hosts
file (copied below).</div>
<div>4) I set the from email address (serveremail) in
/etc/asterisk/voicemail.conf to something at the domain I created (<a>voicemail@aiur.ics-il.net</a>).</div>
<div>5) Presto!</div>
<div> </div>
<div>[root@Aiur ~]# cat /etc/hosts<br># Do not remove the following line, or
various programs<br># that require network functionality will
fail.<br><a href="http://127.0.0.1" target="_blank">127.0.0.1</a> <a href="http://aiur.ics-il.net" target="_blank">aiur.ics-il.net</a>
Aiur localhost.localdomain
localhost<br>::1 localhost6.localdomain6
localhost6</div></div><div class="Ih2E3d">
<div> </div>
<div> </div>
<div>----------<br>Mike Hammett<br>Intelligent Computing Solutions<br><a href="http://www.ics-il.com" target="_blank">http://www.ics-il.com</a></div>
<div> </div>
<div> </div>
</div><blockquote style="border-left: 2px solid rgb(0, 0, 0); padding-right: 0px; padding-left: 5px; margin-left: 5px; margin-right: 0px;"><div class="Ih2E3d">
<div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">----- Original Message ----- </div>
<div style="background: rgb(228, 228, 228) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">
<b>From:</b>
<a title="asterisk-users@ics-il.net" href="mailto:asterisk-users@ics-il.net" target="_blank">Mike Hammett</a> </div>
<div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>To:</b> <a title="asterisk-users@lists.digium.com" href="mailto:asterisk-users@lists.digium.com" target="_blank">Asterisk Users Mailing List -
Non-Commercial Discussion</a> </div>
</div><div><div></div><div class="Wj3C7c"><div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">
<b>Sent:</b> Thursday, March 13, 2008 4:04
PM</div>
<div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>Subject:</b> [asterisk-users] Mail
Server</div>
<div><br></div>
<div><font face="Arial" size="2">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.</font></div>
<div><font face="Arial" size="2"></font> </div>
<div> </div>
<div><font face="Arial" size="2">----------<br>Mike Hammett<br>Intelligent
Computing Solutions<br><a href="http://www.ics-il.com" target="_blank">http://www.ics-il.com</a></font></div>
<div> </div>
<div><font face="Arial" size="2"></font> </div>
</div></div><p>
</p><hr><div class="Ih2E3d">
<p></p>_______________________________________________<br>-- Bandwidth and
Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br><br>asterisk-users
mailing list<br>To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a></div></blockquote></div>
<br>_______________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br>