<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /></head><body style='font-size: 10pt; font-family: Verdana,Geneva,sans-serif'>
<p>Howdy,</p>
<p>I'm going back to this matter, to finish the replacement os cyrus SASL per dovecot-SASL.<br />I want to have the same functionality that i had before, that is, SASL check's AUTH agains a different table than the users one.</p>
<p><br />I was looking in the dovecot-SASL docs, and i see nothing related. (<a href="https://wiki.dovecot.org/HowTo/PostfixAndDovecotSASL">https://wiki.dovecot.org/HowTo/PostfixAndDovecotSASL</a>)<br />Does someone have an ideia on how to achieve it or how it could be done?<br />I mean, how could i check this different table to be checked in the auth?</p>
<pre>service auth {
<span id="line-2" class="anchor"></span>...
<span id="line-3" class="anchor"></span> unix_listener /var/spool/postfix/private/auth {
<span id="line-4" class="anchor"></span> mode = 0660
<span id="line-5" class="anchor"></span> # Assuming the default Postfix user and group
<span id="line-6" class="anchor"></span> user = postfix
<span id="line-7" class="anchor"></span> group = postfix
<span id="line-8" class="anchor"></span> }
<span id="line-9" class="anchor"></span> ...
<span id="line-10" class="anchor"></span>}<br /><br />Thanks in advanced,</pre>
<p id="reply-intro">On 2019-12-10 20:57, Jorge Bastos via dovecot wrote:</p>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">
<div id="replybody1">
<style type="text/css">@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4}
#replybody1 p.v1MsoNormal, #replybody1 li.v1MsoNormal, #replybody1 div.v1MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif}
#replybody1 a:link, #replybody1 span.v1MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline}
#replybody1 a:visited, #replybody1 span.v1MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline}
#replybody1 span.v1EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext}
#replybody1 .v1MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 3.0cm 70.85pt 3.0cm}
#replybody1 div.v1WordSection1
{page:WordSection1}</style>
<div lang="EN-US">
<div class="v1WordSection1">
<p class="v1MsoNormal">Howdy,</p>
<p class="v1MsoNormal"> </p>
<p class="v1MsoNormal">I know i’ve asked this before, but i think i got really no answer.</p>
<p class="v1MsoNormal"> </p>
<p class="v1MsoNormal">I’d like to have dovecot SASL, to check AUTH against an SQL table, instead of dovecot SASL use the AUTH MECH for imap/pop3.</p>
<p class="v1MsoNormal">I want this, to have the same behavior as I have now, where i use postfix with cyrus SASL on a different table (with the same login details), and when i have an user that his accounts was hacked for sending spam, i just block the send and allow the user to keep receiving emails, for example to warn him.</p>
<p class="v1MsoNormal"> </p>
<p class="v1MsoNormal">Would this be possible? Dovecot SASL against a SQL table? Havent found much info about it,</p>
<p class="v1MsoNormal">Thanks in advanced,</p>
</div>
</div>
</div>
</blockquote>
<p><br /></p>
</body></html>