<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')dnl<br>define(`SMART_HOST',`<a href="http://out.bezeqint.net">out.bezeqint.net</a>')dnl<br>define(`confAUTH_MECHANISMS', `EXTERNAL GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl<br>
FEATURE(`authinfo',`hash /etc/mail/auth/client-info')dnl<br>====================================<br>and did:<br>cd /etc/mail<br>mkdir auth<br>echo 'AuthInfo:<a href="http://out.bezeqint.net">out.bezeqint.net</a> "I:username" "P:password"' > auth/client-info<br>
cd auth<br>makemap hash client-info < client-info<br>cd /etc/mail<br>m4 <a href="http://submit.mc">submit.mc</a> > <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"><<a href="mailto:oron@actcom.co.il">oron@actcom.co.il</a>></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>
> i am using bezeqint as my relay host.<br>
</div>Me too.<br>
<div class="im"><br>
> i edit my <a href="http://submit.cf" target="_blank">submit.cf</a> and added:<br>
> <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's because I'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>
> however i get "Relaying denied", so i need to add authentication.<br>
> 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>
> please do not reply "sendmail is bad, or switch to other MTA".<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>
"Beware of bugs in the above code;<br>
I have only proved it correct, not tried it."<br>
-- Donald E. Knuth<br>
</font></blockquote></div><br></div>