<div dir="ltr"><br>On Wed, Sep 17, 2008 at 11:09 AM, Tony Berth <span dir="ltr"><<a href="mailto:tonyberth@googlemail.com">tonyberth@googlemail.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div dir="ltr"><div><div></div><div class="Wj3C7c">On Mon, Sep 15, 2008 at 11:48 AM, Tony Berth <span dir="ltr"><<a href="mailto:tonyberth@googlemail.com" target="_blank">tonyberth@googlemail.com</a>></span> wrote:<br>
<div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div dir="ltr"><div><div></div><div><br>On Fri, Sep 12, 2008 at 5:02 PM, Justin Krejci <span dir="ltr"><<a href="mailto:jus@krytosvirus.com" target="_blank">jus@krytosvirus.com</a>></span> wrote:<br><div class="gmail_quote">
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div link="blue" vlink="blue" lang="EN-US">
<div>
<p><font color="black" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: black;">I am not a sendmail admin and generally
try to avoid it where possible so I am not sure about the configuration file
needs but you should be able to connect to the mail server and issue the ehlo
command to see if it is active in your current running binary. After re-compiling
and installing you will of course have to restart sendmail so it loads the
newly made binary executable.</span></font></p>
<p><font color="black" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: black;"> </span></font></p>
<p><font color="black" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: black;">To check using telnet</span></font></p>
<p><font color="black" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: black;"> </span></font></p>
<p><b><font color="black" size="2" face="Courier New"><span style="font-size: 10pt; color: black; font-weight: bold;">telnet
IPADDRESS 25</span></font></b></p>
<p><font color="red" size="2" face="Courier New"><span style="font-size: 10pt; color: red;">220 your.hostname.here
ESMTP Sendmail</span></font></p>
<p><b><font color="black" size="2" face="Courier New"><span style="font-size: 10pt; color: black; font-weight: bold;">ehlo
f</span></font></b></p>
<p><font color="black" size="2" face="Courier New"><span style="font-size: 10pt; color: black;"> </span></font></p>
<p><font color="black" size="2" face="Courier New"><span style="font-size: 10pt; color: black;">Once you issue
the "ehlo" command it should give you the output similar to this</span></font></p>
<p><font color="black" size="2" face="Courier New"><span style="font-size: 10pt; color: black;"> </span></font></p>
<p><font color="black" size="2" face="Courier New"><span style="font-size: 10pt; color: black;"><a href="http://250-your.mailserver.name" target="_blank">250-your.mailserver.name</a>
Hello youraddress, pleased to meet you</span></font></p>
<p><font color="black" size="2" face="Courier New"><span style="font-size: 10pt; color: black;">250-ENHANCEDSTATUSCODES</span></font></p>
<p><font color="black" size="2" face="Courier New"><span style="font-size: 10pt; color: black;">250-PIPELINING</span></font></p>
<p><font color="black" size="2" face="Courier New"><span style="font-size: 10pt; color: black;">250-8BITMIME</span></font></p>
<p><font color="black" size="2" face="Courier New"><span style="font-size: 10pt; color: black;">250-SIZE</span></font></p>
<p><font color="black" size="2" face="Courier New"><span style="font-size: 10pt; color: black;">250-DSN</span></font></p>
<p><font color="black" size="2" face="Courier New"><span style="font-size: 10pt; color: black;">250-ETRN</span></font></p>
<p><font color="black" size="2" face="Courier New"><span style="font-size: 10pt; color: black;">250-AUTH LOGIN
PLAIN</span></font></p>
<p><font color="black" size="2" face="Courier New"><span style="font-size: 10pt; color: black;">250-DELIVERBY</span></font></p>
<p><font color="black" size="2" face="Courier New"><span style="font-size: 10pt; color: black;">250 HELP</span></font></p>
<p><font color="black" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: black;"> </span></font></p>
<p><font color="black" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: black;">There may be more or less stuff than this
but the key you are looking for is the <b><span style="font-weight: bold;">AUTH
LOGIN PLAIN</span></b>. It may show up with other things like CRAM-MD5 on the
same line.</span></font></p>
<p><font color="black" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: black;"> </span></font></p>
<div>
<div style="text-align: center;" align="center"><font size="3" face="Times New Roman"><span style="font-size: 12pt;">
<hr align="center" size="2" width="100%">
</span></font></div>
<p><b><font size="2" face="Tahoma"><span style="font-size: 10pt; font-family: Tahoma; font-weight: bold;">From:</span></font></b><font size="2" face="Tahoma"><span style="font-size: 10pt; font-family: Tahoma;">
<a href="mailto:openbsd-newbies-bounces@sfobug.org" target="_blank">openbsd-newbies-bounces@sfobug.org</a> [mailto:<a href="mailto:openbsd-newbies-bounces@sfobug.org" target="_blank">openbsd-newbies-bounces@sfobug.org</a>] <b><span style="font-weight: bold;">On Behalf Of </span></b>Tony Berth<br>
<b><span style="font-weight: bold;">Sent:</span></b> Friday, September 12, 2008
8:56 AM<br>
<b><span style="font-weight: bold;">To:</span></b> Woodchuck<br>
<b><span style="font-weight: bold;">Cc:</span></b> <a href="mailto:openbsd-newbies@sfobug.org" target="_blank">openbsd-newbies@sfobug.org</a><br>
<b><span style="font-weight: bold;">Subject:</span></b> Re: sendmail SMTP-AUTH</span></font></p>
</div><div><div></div><div>
<p><font size="3" face="Times New Roman"><span style="font-size: 12pt;"> </span></font></p>
<div>
<p><font size="3" face="Times New Roman"><span style="font-size: 12pt;">On Thu, Sep 11, 2008 at 8:20 PM, Woodchuck <<a href="mailto:marmot@pennswoods.net" target="_blank">marmot@pennswoods.net</a>> wrote:</span></font></p>
<div>
<blockquote style="border-style: none none none solid; border-color: -moz-use-text-color -moz-use-text-color -moz-use-text-color rgb(204, 204, 204); border-width: medium medium medium 1pt; padding: 0in 0in 0in 6pt; margin-left: 4.8pt; margin-right: 0in;">
<div>
<p style="margin-bottom: 12pt;"><font size="3" face="Times New Roman"><span style="font-size: 12pt;">On Thu, 11 Sep 2008, Tony
Berth wrote:</span></font></p>
</div>
<div>
<p><font size="3" face="Times New Roman"><span style="font-size: 12pt;">> > Re-compiling sendmail probably translates to<br>
> > # cd /usr/src/gnu/usr.sbin/sendmail<br>
> > # make clean<br>
> > # make obj<br>
> > # make<br>
> > # make install<br>
> ><br>
></span></font></p>
</div>
<div>
<p style="margin-bottom: 12pt;"><font size="3" face="Times New Roman"><span style="font-size: 12pt;">> I did create mk.conf
but sendmail is located in:<br>
><br>
> /usr/src/gnu/usr.sbin/sendmail</span></font></p>
</div>
<p><font size="3" face="Times New Roman"><span style="font-size: 12pt;">Yes. This is for the whole sendmail suite of pgms.<br>
<br>
As I suggested :-)</span></font></p>
<div>
<p style="margin-bottom: 12pt;"><font size="3" face="Times New Roman"><span style="font-size: 12pt;"><br>
> or<br>
> /usr/src/gnu/usr.sbin/sendmail/sendmail</span></font></p>
</div>
<p><font size="3" face="Times New Roman"><span style="font-size: 12pt;">No</span></font></p>
<div>
<p style="margin-bottom: 12pt;"><font size="3" face="Times New Roman"><span style="font-size: 12pt;"><br>
> or<br>
> /usr/src/usr.bin/file/magdir/sendmail</span></font></p>
</div>
<p><font size="3" face="Times New Roman"><span style="font-size: 12pt;">No.</span></font></p>
<div>
<p style="margin-bottom: 12pt;"><font size="3" face="Times New Roman"><span style="font-size: 12pt;"><br>
> The first is the correct one?</span></font></p>
</div>
<p><font size="3" face="Times New Roman"><span style="font-size: 12pt;">Yes.</span></font></p>
<div>
<div>
<p><font size="3" face="Times New Roman"><span style="font-size: 12pt;"><br>
Dave<br>
--<br>
Are there no natural enemies to limit the increase
of these<br>
creatures?
-- Sherlock Holmes<br>
_______________________________________________<br>
Openbsd-newbies mailing list<br>
<a href="mailto:Openbsd-newbies@sfobug.org" target="_blank">Openbsd-newbies@sfobug.org</a><br>
<a href="http://mailman.theapt.org/listinfo/openbsd-newbies" target="_blank">http://mailman.theapt.org/listinfo/openbsd-newbies</a></span></font></p>
</div>
</div>
</blockquote>
</div>
<p><font size="3" face="Times New Roman"><span style="font-size: 12pt;"><br>
up to now everything worked fine. I did recompile and no errors showed up!<br>
<br>
Now, how do I verify that SMTP-AUTH capability is included? Any conf file I
should look into?<br>
<br>
Thanks</span></font></p>
</div>
</div></div></div>
</div>
</blockquote></div><br><br></div></div>After applying the suggested steps, copying over my modified cf file (as it was with some customizations before recompiling sendmail!) and re-starting sendmail, my my telnet output displays:<div>
<br>
<br>250-ENHANCEDSTATUSCODES<br>250-PIPELINING<br>250-8BITMIME<br>250-SIZE<br>250-DSN<br>250-ETRN<br></div>250-AUTH GSSAPI DIGEST-MD5 CRAM-MD5<br>250-STARTTLS<br>250-DELIVERBY<br>250 HELP<br><br>I think the above shows that I'm on track?<br>
<br>Thanks<br><br></div>
</blockquote></div><br></div></div>some more questions now regarding how SMTP-AUTH works!<br><br>Currently I have dovecot as IMAP server installed and when retrieving e-mails from KMail everything works just fine. Now, after recompiling sendmail with SMTP-AUTH I did search for kind of a tutorial to make all that work with a MUA - in my case KMail but didn't find any!<br>
<br>When I did a test from KMail to check what auth options do I have from my server regarding SMTP, I got TLS and GSSAPI, DIGEST-MD5 and CRAM-MD5. So this part was OK. Now when entering the UNIX credentials of that user, I got in maillog:<br>
<br>-----------------------<br>Sep 17 00:12:30 <server> sm-mta[12694]: STARTTLS=server, relaay=<IP Address>, version=TLSv1/SSLv3, verify=NO, cipher=DHE-RSA-AES256-SHA, bits=256/256<br>Sep 17 00:12:30 <server> sm-mta[12694]: m8GMCTlh012694: <IP Address> did not issue MAIL/EXPN/VRFY/ETRN during connection to MTA<br>
-------------------------<br><br>Following the man pages, tried the following:<br><br>sasldblistusers2 produced: listusers failed<br>applied saslpasswd2 and entered an account but this didn't show up in sasldblistusers2 neither KMail was able to auth!<br>
realised that sasl2 demon was not running after installing the package! So I did start that as root manualy ( saslauthd -a rimap -O localhost) but this didn't help either! I still get the same error in maillog!<br><br>
Thanks for your help<br><br>Tony<br><br><br></div>
</blockquote></div><br>Any chance to to have some help on this?<br><br>Thanks for your support<br><br>Tony<br></div>