<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Hi,</p>
<p>Just found out that Postfix does not implement/support the
AUTH=sender parameter.</p>
<p>So, back to Dovecot, can we use variables in the <br>
</p>
<p>submission_relay_user =<br>
submission_relay_password =<br>
</p>
<p>then Dovecot will forward the username and password information
of the current user to the Postfix submission service for
authentication?</p>
<p>Best regards,</p>
<p>Jacky<br>
</p>
<p><br>
<br>
</p>
<div class="moz-cite-prefix">On 10/1/2019 10:46 AM, Jacky wrote:<br>
</div>
<blockquote type="cite"
cite="mid:b79ba902-e3f9-ec1c-abed-0bc433674ae8@jesstech.com">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<p>Hi Gerald and Odhiambo Washington,</p>
<p>Thank you for your suggestions and will try them out.</p>
<p>Best regards,<br>
</p>
<p>Jacky<br>
</p>
<div class="moz-cite-prefix">On 9/1/2019 6:38 PM, Odhiambo
Washington wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAAdA2WOQ_Uc9ZLMsoBEt2RAxJviQjojoeLZE79LsyQZBG4iN0w@mail.gmail.com">
<meta http-equiv="content-type" content="text/html;
charset=UTF-8">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr"><br>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr">On Wed, 9 Jan 2019 at 13:09, Jacky <<a
href="mailto:jacky@jesstech.com"
moz-do-not-send="true">jacky@jesstech.com</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px
0px 0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">Hi Gerald,<br>
<br>
in my postfix/<a href="http://main.cf"
rel="noreferrer" target="_blank"
moz-do-not-send="true">main.cf</a><br>
<br>
smtpd_sasl_authenticated_header = yes<br>
smtpd_sasl_security_options = noanonymous<br>
smtpd_sasl_local_domain = $myhostname<br>
smtpd_sasl_type = dovecot<br>
smtpd_sasl_path = /var/run/dovecot/auth-client<br>
broken_sasl_auth_clients = yes<br>
<br>
I am already using dovecot for SASL<br>
<br>
The dovecot submission service authenticates users and
already added the <br>
AUTH= parameter in the MAIL FROM<br>
<br>
MAIL FROM:<<a href="mailto:jacky@xxx.com"
target="_blank" moz-do-not-send="true">jacky@xxx.com</a>>
AUTH=<a href="mailto:jacky@xxx.com" target="_blank"
moz-do-not-send="true">jacky@xxx.com</a> SIZE=1430<br>
<br>
But, it seems that postfix does not accept the AUTH=
parameter and <br>
reject the sender as no logged in.<br>
<br>
<br>
Best regards,<br>
<br>
Jacky<br>
<br>
</blockquote>
</div>
<div><br>
</div>
<div>Hi Jacky,</div>
<div><br>
</div>
<div>Your question belongs to postfix mailinng list.</div>
<div><br>
</div>
<div>Anyway, the last time I was playing with postfix (I
am an Exim user normally), I had to check that:</div>
<div>smtpd_sasl_path = /var/run/dovecot/auth-client <br>
</div>
<div><br>
</div>
<div>..the socket is readable by the postfix user:</div>
<div><br>
</div>
<div>So, check 10-master.conf for the socket. Something
like:</div>
<div><br>
</div>
<div>
<div># Postfix smtp-auth</div>
<div> unix_listener var/run/dovecot/auth-client {</div>
<div> mode = 0666</div>
<div> }</div>
</div>
<div><br>
</div>
<div>Restart dovecot and see...</div>
<div><br>
</div>
<div>You can read the <a
href="https://wiki.dovecot.org/HowTo/PostfixAndDovecotSASL"
moz-do-not-send="true">https://wiki.dovecot.org/HowTo/PostfixAndDovecotSASL</a></div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
-- <br>
<div dir="ltr" class="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div>Best regards,<br>
Odhiambo WASHINGTON,<br>
Nairobi,KE<br>
+254 7 3200 0004/+254 7 2274 3223<br>
"<span style="font-size:12.8px">Oh, the cruft.</span><span
style="font-size:12.8px">", </span><span
style="font-size:12.8px">grep ^[^#] :-)</span></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</blockquote>
</body>
</html>