Subject: Re: Plaintext password authentication for sendmail and cyrus SASL2?
To: Louis Guillaume <lguillaume@berklee.edu>
From: Gilles Gravier <Gilles@Gravier.org>
List: netbsd-users
Date: 05/12/2005 16:36:26
This is a multi-part message in MIME format.
--------------090602070404070709030401
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Ahem... I'd forgotten to install cy2-plain and cy2-login

I'm really dumb... I need a coffee...

And some serious PvP time in WoW.

Gilles.

Louis Guillaume wrote:

> Hmm. I'm not sure what's happening there. Could you possibly have a 
> typo or issue with your .mc file?
>
> Look for this in the sendmail.cf...
>
> O AuthMechanisms=PLAIN LOGIN
>
> ... to make sure. Also have a look at "pkg_info -B sendmail" and look 
> for "REQUIRES=/usr/pkg/lib/libsasl2.so.2" (or whatever the current 
> version is) just to make sure it got compiled in.
>
>
> Louis
>
>
>
> Gilles Gravier wrote:
>
>> Ok... Done all that... still doesn't work (I'm currently configured 
>> to send mail through another machine with Sendmail)...
>>
>> I get this in my sendmail log:
>> *
>> AUTH warning: no mechanisms
>> *
>> I suspect it means that sendmail isn't linked properly with sasl2 
>> libraries. I've done a make clean and make update in the sendmail and 
>> sasl2 directories... no help.
>>
>> Any ideas?
>>
>> Gilles.
>>
>> Louis Guillaume wrote:
>>
>>> Gilles Gravier wrote:
>>>
>>>> And, in my /etc/mk.conf file :
>>>>
>>>> PKG_OPTIONS.sendmail=starttls sasl
>>>>
>>>
>>> Try "sasl2" here...
>>>
>>> PKG_OPTIONS.sendmail=starttls sasl2
>>>
>>>> Then I have in /usr/pkg/lib/sasl/Sendmail.conf :
>>>>
>>>> pwcheck_method: passwd
>>>
>>>
>>>
>>> and this, in /usr/pkg/lib/sasl2/Sendmail.conf ...
>>>
>>> pwcheck_method: saslauthd
>>>
>>> .. and you'll have to start saslauthd too. This, at least is my 
>>> current working configuration.
>>>
>>>
>>> -- 
>>> Louis
>>
>>
>>
>> -- 
>> /*Gilles Gravier*/ *=* *Gilles@Gravier.org* 
>> <mailto:Gilles@Gravier.org> *=* *http://www.gravier.org/*
>> ICQ : *77488526* 
>> <http://www.icq.com/whitepages/about_me.php?Uin=77488526> * || *MSN 
>> Messenger : Gilles@Gravier.org 
>> <http://members.msn.com/?mpp=4263%7E5AAAZAAAACcw%210A83PFlYeq0R%21ZPO39GW63sr8Zaat9nB6dTdi0id9FQ$$%7E5AAAaAAAAEDTTl7j2*1w8Gd7%21LdWZmJumAmJe3E2lA97s$>* 
>>
>> *Skype : ggravier <callto://ggravier>* || *Y! : ggravier 
>> <http://profiles.yahoo.com/ggravier> || AOL : gillesgravier 
>> <aim:goim?screenname=gillesgravier>
>> PGP Key ID : *0x8DE6D026* 
>> <http://pgp.mit.edu:11371/pks/lookup?search=0x8DE6D026&op=index>
>> "Chastity is its own punishment." (/Solomon Short/) [/David Gerrold/]
>>
>>

-- 
/*Gilles Gravier*/ *=* *Gilles@Gravier.org* <mailto:Gilles@Gravier.org> 
*=* *http://www.gravier.org/*
ICQ : *77488526* 
<http://www.icq.com/whitepages/about_me.php?Uin=77488526> * || *MSN 
Messenger : Gilles@Gravier.org 
<http://members.msn.com/?mpp=4263%7E5AAAZAAAACcw%210A83PFlYeq0R%21ZPO39GW63sr8Zaat9nB6dTdi0id9FQ$$%7E5AAAaAAAAEDTTl7j2*1w8Gd7%21LdWZmJumAmJe3E2lA97s$>*
*Skype : ggravier <callto://ggravier>* || *Y! : ggravier 
<http://profiles.yahoo.com/ggravier> || AOL : gillesgravier 
<aim:goim?screenname=gillesgravier>
PGP Key ID : *0x8DE6D026* 
<http://pgp.mit.edu:11371/pks/lookup?search=0x8DE6D026&op=index>
"Chastity is its own punishment." (/Solomon Short/) [/David Gerrold/]



--------------090602070404070709030401
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#336666">
Ahem... I'd forgotten to install cy2-plain and cy2-login<br>
<br>
I'm really dumb... I need a coffee...<br>
<br>
And some serious PvP time in WoW.<br>
<br>
Gilles.<br>
<br>
Louis Guillaume wrote:
<blockquote cite="mid42836547.4040108@berklee.edu" type="cite">Hmm. I'm
not sure what's happening there. Could you possibly have a typo or
issue with your .mc file?
  <br>
  <br>
Look for this in the sendmail.cf...
  <br>
  <br>
O AuthMechanisms=PLAIN LOGIN
  <br>
  <br>
.. to make sure. Also have a look at "pkg_info -B sendmail" and look
for "REQUIRES=/usr/pkg/lib/libsasl2.so.2" (or whatever the current
version is) just to make sure it got compiled in.
  <br>
  <br>
  <br>
Louis
  <br>
  <br>
  <br>
  <br>
Gilles Gravier wrote:
  <br>
  <blockquote type="cite">Ok... Done all that... still doesn't work
(I'm currently configured to send mail through another machine with
Sendmail)...
    <br>
    <br>
I get this in my sendmail log:
    <br>
*
    <br>
AUTH warning: no mechanisms
    <br>
*
    <br>
I suspect it means that sendmail isn't linked properly with sasl2
libraries. I've done a make clean and make update in the sendmail and
sasl2 directories... no help.
    <br>
    <br>
Any ideas?
    <br>
    <br>
Gilles.
    <br>
    <br>
Louis Guillaume wrote:
    <br>
    <br>
    <blockquote type="cite">Gilles Gravier wrote:
      <br>
      <br>
      <blockquote type="cite">And, in my /etc/mk.conf file :
        <br>
        <br>
PKG_OPTIONS.sendmail=starttls sasl
        <br>
        <br>
      </blockquote>
      <br>
Try "sasl2" here...
      <br>
      <br>
PKG_OPTIONS.sendmail=starttls sasl2
      <br>
      <br>
      <blockquote type="cite">Then I have in
/usr/pkg/lib/sasl/Sendmail.conf :
        <br>
        <br>
pwcheck_method: passwd
        <br>
      </blockquote>
      <br>
      <br>
and this, in /usr/pkg/lib/sasl2/Sendmail.conf ...
      <br>
      <br>
pwcheck_method: saslauthd
      <br>
      <br>
. and you'll have to start saslauthd too. This, at least is my current
working configuration.
      <br>
      <br>
      <br>
--&nbsp;<br>
Louis
      <br>
    </blockquote>
    <br>
    <br>
--&nbsp;<br>
/*Gilles Gravier*/ *=* *Gilles@Gravier.org*
<a class="moz-txt-link-rfc2396E" href="mailto:Gilles@Gravier.org">&lt;mailto:Gilles@Gravier.org&gt;</a> *=* *<a class="moz-txt-link-freetext" href="http://www.gravier.org/*">http://www.gravier.org/*</a>
    <br>
ICQ : *77488526*
<a class="moz-txt-link-rfc2396E" href="http://www.icq.com/whitepages/about_me.php?Uin=77488526">&lt;http://www.icq.com/whitepages/about_me.php?Uin=77488526&gt;</a> * ||
*MSN Messenger : <a class="moz-txt-link-abbreviated" href="mailto:Gilles@Gravier.org">Gilles@Gravier.org</a>
<a class="moz-txt-link-rfc2396E" href="http://members.msn.com/?mpp=4263%7E5AAAZAAAACcw%210A83PFlYeq0R%21ZPO39GW63sr8Zaat9nB6dTdi0id9FQ$$%7E5AAAaAAAAEDTTl7j2*1w8Gd7%21LdWZmJumAmJe3E2lA97s$">&lt;http://members.msn.com/?mpp=4263%7E5AAAZAAAACcw%210A83PFlYeq0R%21ZPO39GW63sr8Zaat9nB6dTdi0id9FQ$$%7E5AAAaAAAAEDTTl7j2*1w8Gd7%21LdWZmJumAmJe3E2lA97s$&gt;</a>*
    <br>
*Skype : ggravier <a class="moz-txt-link-rfc2396E" href="callto://ggravier">&lt;callto://ggravier&gt;</a>* || *Y! : ggravier
<a class="moz-txt-link-rfc2396E" href="http://profiles.yahoo.com/ggravier">&lt;http://profiles.yahoo.com/ggravier&gt;</a> || AOL : gillesgravier
<a class="moz-txt-link-rfc2396E" href="aim:goim?screenname=gillesgravier">&lt;aim:goim?screenname=gillesgravier&gt;</a>
    <br>
PGP Key ID : *0x8DE6D026*
<a class="moz-txt-link-rfc2396E" href="http://pgp.mit.edu:11371/pks/lookup?search=0x8DE6D026&op=index">&lt;http://pgp.mit.edu:11371/pks/lookup?search=0x8DE6D026&amp;op=index&gt;</a>
    <br>
"Chastity is its own punishment." (/Solomon Short/) [/David Gerrold/]
    <br>
    <br>
    <br>
  </blockquote>
</blockquote>
<br>
<div class="moz-signature">-- <br>
<title>Signature Perso Chastity</title>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
<div style="text-align: left;">
<table
 style="text-align: left; background-color: rgb(102, 102, 102); width: 500px; height: 73px;"
 border="1" cellpadding="3" cellspacing="3">
  <tbody>
    <tr>
      <td
 style="text-align: center; vertical-align: middle; background-color: rgb(204, 204, 204); white-space: nowrap;">
      <div
 style="text-align: center; background-color: rgb(204, 204, 204);"><tt><font
 color="#7d6eaf"><i><b>Gilles Gravier</b></i> <b>=</b> </font><a
 href="mailto:Gilles@Gravier.org"><font color="#000000"><b>Gilles@Gravier.org</b></font></a><font
 color="#7d6eaf"> <b>=</b> </font><a href="http://www.gravier.org/"><font
 color="#000000"><b>http://www.gravier.org/</b></font></a></tt><br>
      </div>
      <div
 style="text-align: center; background-color: rgb(204, 204, 204);"><tt><font
 color="#009900"><span
 style="font-family: monospace; color: rgb(0, 0, 0); font-weight: bold;"></span></font><font
 color="#000099">ICQ :</font> <a
 href="http://www.icq.com/whitepages/about_me.php?Uin=77488526"><font
 color="#009900"><b>77488526</b></font></a></tt>&nbsp;<tt><font
 color="#009900"><b><span
 style="font-family: monospace; color: rgb(0, 0, 0);"> || </span></b></font></tt><tt><font
 color="#000099">MSN Messenger : <a
 href="http://members.msn.com/?mpp=4263%7E5AAAZAAAACcw%210A83PFlYeq0R%21ZPO39GW63sr8Zaat9nB6dTdi0id9FQ$$%7E5AAAaAAAAEDTTl7j2*1w8Gd7%21LdWZmJumAmJe3E2lA97s$"><span
 style="color: rgb(0, 153, 0); font-weight: bold;">Gilles@Gravier.org</span></a></font></tt><tt><font
 color="#009900"><b><span
 style="font-family: monospace; color: rgb(0, 0, 0);"><br>
      </span></b></font></tt><span
 style="font-family: monospace; color: rgb(0, 0, 153);">Skype</span><tt><font
 color="#000099"><span style="color: rgb(0, 0, 153);"> :&nbsp;</span><a
 href="callto://ggravier"><span
 style="font-weight: bold; color: rgb(0, 153, 0);">ggravier</span></a></font></tt><tt><font
 color="#009900"><b><span
 style="font-family: monospace; color: rgb(0, 0, 0);"> || </span></b></font></tt><tt><font
 color="#000099"><span style="color: rgb(0, 153, 0);"></span><span
 style="font-weight: bold;"></span>Y! : <a
 href="http://profiles.yahoo.com/ggravier"><span
 style="color: rgb(0, 153, 0); font-weight: bold;">ggravier</span></a></font></tt><tt
 style="font-weight: bold;"><font color="#009900"><span
 style="font-family: monospace; color: rgb(0, 0, 0);"> || </span></font></tt><tt><font
 color="#000099">AOL : <a href="aim:goim?screenname=gillesgravier"><span
 style="color: rgb(0, 153, 0); font-weight: bold;">gillesgravier</span></a><br>
      </font></tt><tt><font color="#000099">PGP Key ID :</font> <a
 href="http://pgp.mit.edu:11371/pks/lookup?search=0x8DE6D026&amp;op=index"><font
 color="#009900"><b>0x8DE6D026</b></font></a></tt><br>
      </div>
      <div
 style="text-align: center; background-color: rgb(204, 204, 204);"><tt>"Chastity
is its own punishment." (<font color="#999999"><i>Solomon Short</i></font>)
[<font color="#666666"><i>David Gerrold</i></font>]</tt><br>
      </div>
      </td>
    </tr>
  </tbody>
</table>
<pre wrap="">
</pre>
</div>
<br>
</div>
</body>
</html>

--------------090602070404070709030401--