<div dir="ltr">ok. after seeing all references to this are for mc and not cf. i decided to go with changing the mc file.<br><br>so here it is for posperity<br>i added the following lines to <a href="http://submit.mc">submit.mc</a>:<br>
======================<br>MASQUERADE_AS(<a href="http://doron.com">doron.com</a>)<br>FEATURE(`masquerade_envelope&#39;)dnl<br>define(`SMART_HOST&#39;,`<a href="http://out.bezeqint.net">out.bezeqint.net</a>&#39;)dnl<br>define(`confAUTH_MECHANISMS&#39;, `EXTERNAL GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN PLAIN&#39;)dnl<br>
FEATURE(`authinfo&#39;,`hash /etc/mail/auth/client-info&#39;)dnl<br>====================================<br>and did:<br>cd /etc/mail<br>mkdir auth<br>echo &#39;AuthInfo:<a href="http://out.bezeqint.net">out.bezeqint.net</a> &quot;I:username&quot; &quot;P:password&quot;&#39; &gt; auth/client-info<br>
cd auth<br>makemap hash client-info &lt; client-info<br>cd /etc/mail<br>m4 <a href="http://submit.mc">submit.mc</a> &gt; <a href="http://submit.cf">submit.cf</a><br><br>now it works.<br><br>thanks for your help.<br>erez.<br>
<br><br><br><div class="gmail_quote">On Wed, Sep 23, 2009 at 8:07 AM, Oron Peled <span dir="ltr">&lt;<a href="mailto:oron@actcom.co.il">oron@actcom.co.il</a>&gt;</span> 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 class="im">On Tuesday, 22 בSeptember 2009 12:35:50 Erez D wrote:<br>
&gt; i am using bezeqint as my relay host.<br>
</div>Me too.<br>
<div class="im"><br>
&gt; i edit my <a href="http://submit.cf" target="_blank">submit.cf</a> and added:<br>
&gt; <a href="http://DSout.bezeqint.net" target="_blank">DSout.bezeqint.net</a><br>
</div>1. In the last 12 years I never touched a .cf file directly, always<br>
   maintained the .mc files and generated the .cf files via m4.<br>
   The default config provided by most distros (Fedora in my case)<br>
   is pretty sane, so there is very little to change.<br>
<br>
2. I always customized <a href="http://sendmail.mc" target="_blank">sendmail.mc</a> and not <a href="http://submit.mc" target="_blank">submit.mc</a>, but maybe<br>
   it&#39;s because I&#39;m using full sendmail as my mail-hub for my<br>
   internal network. Maybe I should switch to ms-smp for my<br>
   laptop as well.<br>
<div class="im"><br>
&gt; however i get &quot;Relaying denied&quot;, so i need to add authentication.<br>
&gt; anybody knows how ?<br>
</div>Just did this last month (sorry, long url):<br>
 <a href="http://life-with-linux.blogspot.com/2009/08/howto-sendmail-authentication-%0Aagainst.html" target="_blank">http://life-with-linux.blogspot.com/2009/08/howto-sendmail-authentication-<br>
against.html</a><br>
<div class="im"><br>
&gt; please do not reply &quot;sendmail is bad, or switch to other MTA&quot;.<br>
</div>Sendmail is bad for some people. Switch the people ;-)<br>
<font color="#888888"><br>
--<br>
Oron Peled                                 Voice: +972-4-8228492<br>
<a href="mailto:oron@actcom.co.il">oron@actcom.co.il</a>                  <a href="http://users.actcom.co.il/%7Eoron" target="_blank">http://users.actcom.co.il/~oron</a><br>
&quot;Beware of bugs in the above code;<br>
 I have only proved it correct, not tried it.&quot;<br>
                              -- Donald E. Knuth<br>
</font></blockquote></div><br></div>