<div dir="ltr"><br><br><div class="gmail_quote">On Tue, Sep 22, 2009 at 1:39 PM, doron <span dir="ltr"><<a href="mailto:doron@ofek.biz">doron@ofek.biz</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 style="direction: ltr;" bgcolor="#ffffff" text="#000000">
<p style="margin-bottom: 0cm; margin-top: 0pt;"><br>
</p>
<p style="margin-bottom: 0cm; margin-top: 0pt;">Hi Erez, </p>
<p style="margin-bottom: 0cm; margin-top: 0pt;"><br>
</p>
<p style="margin-bottom: 0cm; margin-top: 0pt;">This is my conf file (I
changed my user name and password): </p></div></blockquote><div>i assume you mean /etc/mail/access <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div style="direction: ltr;" bgcolor="#ffffff" text="#000000">
<p style="margin-bottom: 0cm; margin-top: 0pt;"><br>
</p>
<p style="margin-bottom: 0cm; margin-top: 0pt;">#<br>
AuthInfo:<a href="http://smile.net.il" target="_blank">smile.net.il</a> "U:smmsp" "I:doron" "P:abcd"<br>
# by default we allow relaying from localhost...<br>
localhost.localdomain RELAY<br>
localhost RELAY<br>
# by default we allow relaying from localhost...<br>
Connect:localhost.localdomain RELAY<br>
Connect:localhost RELAY<br>
Connect:127.0.0.1 RELAY<br>
Connect:10.50.0.2 RELAY</p>
<p style="margin-bottom: 0cm; margin-top: 0pt;"><br>
</p>
<p style="margin-bottom: 0cm; margin-top: 0pt;">After restarting the
sendmail , can you see way the relaying is denied in you'r log file
(maillog) ? </p>
<p style="margin-bottom: 0cm; margin-top: 0pt;"><br>
</p>
<p style="margin-bottom: 0cm; margin-top: 0pt;">- doron </p><div><div></div><div class="h5">
<p style="margin-bottom: 0cm; margin-top: 0pt;"><br></p></div></div></div></blockquote><div>i copied the file from you,<br>changed the Authinfo line to:<br>AuthInfo:<a href="http://out.bezeqint.net">out.bezeqint.net</a> "U:smmsp" "I:erez123" "P:1234"<br>
and added<br>connect: 192.168.0.23 (which is my laptop)<br><br>here is my log<br><br>erez@mylap:~$ echo test|sendmail -v -s test <a href="mailto:erez@gmail.com">erez@gmail.com</a><br><br>erez@gmail.com... Connecting to <a href="http://out.bezeqint.net">out.bezeqint.net</a>. via relay...<br>
220 <a href="http://out1.bezeqint.net">out1.bezeqint.net</a> ESMTP Postfix at your service - please...<br>>>> EHLO <a href="http://doron.com">doron.com</a><br><a href="http://250-out1.bezeqint.net">250-out1.bezeqint.net</a><br>
250-PIPELINING<br>250-SIZE 15240000<br>250-VRFY<br>250-ETRN<br>250-AUTH PLAIN LOGIN<br>250-AUTH=PLAIN LOGIN<br>250-ENHANCEDSTATUSCODES<br>250-8BITMIME<br>250 DSN<br>>>> MAIL From:<<a href="mailto:erez@doron.com">erez@doron.com</a>> SIZE=5 AUTH=<a href="mailto:erez@doron.com">erez@doron.com</a><br>
250 2.1.0 Ok<br>>>> RCPT To:<<a href="mailto:erez@gmail.com">erez@gmail.com</a>><br>>>> DATA<br>554 5.7.1 <<a href="mailto:erez@gmail.com">erez@gmail.com</a>>: Relay access denied<br>554 5.5.1 Error: no valid recipients<br>
>>> RSET<br>250 2.0.0 Ok<br>/home/erez/dead.letter... Saved message in /home/erez/dead.letter<br>Closing connection to <a href="http://out.bezeqint.net">out.bezeqint.net</a>.<br>>>> QUIT<br>221 2.0.0 Bye<br>
<br><br><br>as you can see, sendmail doesn't try to authenticate at all<br>it should have added a line like:<br>AUTH PLAIN askfhadskh35l4kjtlekr45jlektjg<br>which should be replied with:<br>235 2.7.0 Authentication successful<br>
<br>( i entered the line manually after telneting to port 25 of <a href="http://out.bezeqint.net">out.bezeqint.net</a> and it worked)<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div style="direction: ltr;" bgcolor="#ffffff" text="#000000"><div><div class="h5"><p style="margin-bottom: 0cm; margin-top: 0pt;">
</p>
<p style="margin-bottom: 0cm; margin-top: 0pt;"><br>
</p>
<p style="margin-bottom: 0cm; margin-top: 0pt;"><br>
</p>
<p style="margin-bottom: 0cm; margin-top: 0pt;">Erez D wrote:</p>
<blockquote type="cite">
<div dir="ltr"><br>
<br>
<div class="gmail_quote">On Tue, Sep 22, 2009 at 1:08 PM, doron <span dir="ltr"><<a href="mailto:doron@ofek.biz" target="_blank">doron@ofek.biz</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 style="direction: ltr;" bgcolor="#ffffff" text="#000000">
<p style="margin-bottom: 0cm; margin-top: 0pt;"><br>
</p>
<p style="margin-bottom: 0cm; margin-top: 0pt;">Hi , </p>
<p style="margin-bottom: 0cm; margin-top: 0pt;"><br>
</p>
<p style="margin-bottom: 0cm; margin-top: 0pt;">1. Add the line: </p>
<p style="margin-bottom: 0cm; margin-top: 0pt;">AuthInfo:YOUR_ISP
"U:smmsp" "I:USER_NAME" "P:PASSWORD"</p>
<p style="margin-bottom: 0cm; margin-top: 0pt;"><br>
</p>
<p style="margin-bottom: 0cm; margin-top: 0pt;">to your access file
(/etc/mail/access) </p>
<p style="margin-bottom: 0cm; margin-top: 0pt;"><br>
</p>
<p style="margin-bottom: 0cm; margin-top: 0pt;">2. run make or
makemap
. </p>
<p style="margin-bottom: 0cm; margin-top: 0pt;"><br>
</p>
<p style="margin-bottom: 0cm; margin-top: 0pt;">- doron </p>
<p style="margin-bottom: 0cm; margin-top: 0pt;"><br>
</p>
</div>
</blockquote>
<div><br>
I still get "Relaying Denied"<br>
<br>
<br>
thanks,<br>
erez. <br>
</div>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div style="direction: ltr;" bgcolor="#ffffff" text="#000000">
<p style="margin-bottom: 0cm; margin-top: 0pt;"></p>
<p style="margin-bottom: 0cm; margin-top: 0pt;"><br>
</p>
<p style="margin-bottom: 0cm; margin-top: 0pt;"><br>
</p>
<p style="margin-bottom: 0cm; margin-top: 0pt;">Erez D wrote:</p>
<blockquote type="cite">
<div>
<div>
<div dir="ltr">hi<br>
<br>
i am using bezeqint as my relay host.<br>
<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>
<br>
however i get "Relaying denied", so i need to add authentication.<br>
<br>
anybody knows how ?<br>
<br>
please do not reply "sendmail is bad, or switch to other MTA".<br>
<br>
thanks,<br>
erez.<br>
<br>
<br>
</div>
</div>
</div>
<pre><hr size="4" width="90%"><div>
_______________________________________________
Linux-il mailing list
<a href="mailto:Linux-il@cs.huji.ac.il" target="_blank">Linux-il@cs.huji.ac.il</a>
<a href="http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il" target="_blank">http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il</a></div></pre>
</blockquote>
<div>
<p style="margin-bottom: 0cm; margin-top: 0pt;"><font color="green" face="Verdana" size="1"><span dir="ltr" style="font-size: 7.5pt; font-family: Verdana; color: green;">Save a
tree...please don't
print this e-mail</span></font><i><font color="green" face="Verdana" size="1"><span dir="ltr" style="font-size: 7.5pt; font-family: Verdana; color: green; font-style: italic;">
</span></font></i></p>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
<br>
</div></div><div>-- <br>
<br>
<a href="http://ofek.biz/index.php?page=Training" target="_blank">קורסי לינוקס וקוד
פתוח - המסלולים החדשים</a>
<br>
<br>
Office +972-3-9533603
<br>
E-Mail <a href="mailto:doron@ofek.biz" target="_blank">doron@ofek.biz</a>
<br>
<a href="http://www.ofek.biz" target="_blank">http://www.ofek.biz</a>
<br>
<br>
Please don't send me Word or PowerPoint attachments. See
<a href="http://www.gnu.org/philosophy/no-word-attachments.html" target="_blank">http://www.gnu.org/philosophy/no-word-attachments.html</a>
<br>
<br>
<p style="margin-bottom: 0cm; margin-top: 0pt;"><font color="green" face="Webdings" size="5"><span dir="ltr" style="font-size: 18pt; font-family: Webdings; color: green;">P </span></font><font color="green" face="Verdana" size="1"><span dir="ltr" style="font-size: 7.5pt; font-family: Verdana; color: green;">Save a
tree...please don't
print this e-mail</span></font><i><font color="green" face="Verdana" size="1"><span dir="ltr" style="font-size: 7.5pt; font-family: Verdana; color: green; font-style: italic;">
</span></font></i></p>
</div>
</div>
</blockquote></div><br></div>