<!DOCTYPE html>
<html>
<head>
<title></title>
<style type="text/css">p.MsoNormal,p.MsoNoSpacing{margin:0}</style>
</head>
<body><div>Looks like "postman" from a skim of the source, and I believe this is the same user as when connecting via a UNIX socket:<br></div>
<div><br></div>
<div><a href="https://github.com/cyrusimap/cyrus-imapd/blob/15c812df6a020414a2e8863fe1afdfa3273a7bad/imap/lmtpengine.c#L993-L1005">https://github.com/cyrusimap/cyrus-imapd/blob/15c812df6a020414a2e8863fe1afdfa3273a7bad/imap/lmtpengine.c#L993-L1005</a><br></div>
<div><br></div>
<div>But I would welcome correction from someone who knows, I'm just looking at the code.<br></div>
<div><br></div>
<div>Cheers,<br></div>
<div><br></div>
<div>ellie</div>
<div><br></div>
<div>On Fri, May 11, 2018, at 3:20 PM, Anatoli wrote:<br></div>
<blockquote type="cite"><div><div style="font-size:10pt;font-family:Verdana, Arial;"><div>Hi Ellie,<br></div>
<div> <br></div>
<div> Chen's question made me recheck the docs and now I have a doubt.
        Could you please clarify under what user the LMTP-delivered
        mails enters Cyrus when "<span class="font" style="font-family:"Courier New"">-a</span>"
        option is used over TCP with lmtpd (i.e. <span style="">lmtp cmd="lmtpd -a" listen="127.0.0.1:2004"</span>)?<br></div>
<div> <br></div>
<div> The documentation
(<a href="https://cyrusimap.org/imap/concepts/overview_and_concepts.html#local-mail-transfer-protocol-lmtp">https://cyrusimap.org/imap/concepts/overview_and_concepts.html#local-mail-transfer-protocol-lmtp</a>)
        says:<br></div>
<div> <br></div>
<div> <br></div>
<blockquote><div>For final delivery via <i>LMTP over a TCP socket,
            it is necessary to use LMTP AUTH</i>. This is accomplished
          using SASL to authenticate the delivering user. If your mail
          server is performing delivery via LMTP AUTH (that is, using a
          SASL mechanism), you will want their authentication id to be
          an LMTP admins (either via the admins imapd.conf option or via
          the <service>_admins option, typically lmtp_admins).<br></div>
<div> <br></div>
<div> Alternatively you may deliver via <i>LMTP to a unix domain
            socket</i>, and <i>the connection will be preauthenticated
            as an administrative user</i> (and access control is
          accomplished by controlling access to the socket).<br></div>
</blockquote><div><br></div>
<div>But it doesn't say anything about the "-a:<i>Preauthorize
          connections initiated on an internet socket</i>, instead of
        requiring LMTP AUTH."
(<a href="https://www.cyrusimap.org/imap/reference/manpages/systemcommands/lmtpd.html#cmdoption-lmtpd-a">https://www.cyrusimap.org/imap/reference/manpages/systemcommands/lmtpd.html#cmdoption-lmtpd-a</a>).<br></div>
<div> <br></div>
<div> Thanks,<br></div>
<div> Anatoli<br></div>
<div> <br></div>
</div>
<div style="border-right-width:initial;border-bottom-width:initial;border-left-width:initial;border-right-style:none;border-bottom-style:none;border-left-style:none;border-right-color:initial;border-bottom-color:initial;border-left-color:initial;border-image-source:initial;border-image-slice:initial;border-image-width:initial;border-image-outset:initial;border-image-repeat:initial;border-top-width:1pt;border-top-style:solid;border-top-color:rgb(181, 196, 223);padding-top:3pt;padding-right:0cm;padding-bottom:0cm;padding-left:0cm;font-size:10pt;font-family:Tahoma, sans-serif;"><div><b>From:</b> Ellie Timoney<br></div>
<div> <b>Sent:</b> Friday, May 11, 2018 00:46<br></div>
<div> <b>To:</b> Info-cyrus<br></div>
<div> <b>Subject:</b> Re: setting acl on autocreate folders<br></div>
</div>
<div><br></div>
</div>
<div><span type="cite" style="display:block;word-break:break-all;margin-top:7px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;line-height:0;"></span><br></div>
<pre>Hi Chen,

<br></pre><blockquote type="cite"><pre>So, the question : is it possible to set specific ACLs on autocreated 
folders ? (i.e., ACLs, different from those defined by defaultacl in 
imapd.conf).
<br></pre></blockquote><pre>I believe the autocreate mechanism has no particular knowledge of ACLs all all. It just uses the standard Cyrus policy for assigning them, with no way to override it.

Cheers,

ellie

On Wed, May 9, 2018, at 6:37 PM, Chentao Credungtao via Info-cyrus wrote:
<br></pre><blockquote type="cite"><pre>Hello,

This question has been asked twice before by different users, but no 
answer has ever be given.

In 2012 : <a href="https://www.spinics.net/lists/info-cyrus/msg14612.html">https://www.spinics.net/lists/info-cyrus/msg14612.html</a>

In 2016 : <a href="https://www.spinics.net/lists/info-cyrus/msg17385.html">https://www.spinics.net/lists/info-cyrus/msg17385.html</a>

I guess the answer is NO, but just the same I thought i'd asked again to 
be sure.

So, the question : is it possible to set specific ACLs on autocreated 
folders ? (i.e., ACLs, different from those defined by defaultacl in 
imapd.conf).

Thanks,

Chen

----
Cyrus Home Page: <a href="http://www.cyrusimap.org/">http://www.cyrusimap.org/</a>
List Archives/Info: <a href="http://lists.andrew.cmu.edu/pipermail/info-cyrus/">http://lists.andrew.cmu.edu/pipermail/info-cyrus/</a>
To Unsubscribe:
<a href="https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus">https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus</a>
<br></pre></blockquote><pre>----
Cyrus Home Page: <a href="http://www.cyrusimap.org/">http://www.cyrusimap.org/</a>
List Archives/Info: <a href="http://lists.andrew.cmu.edu/pipermail/info-cyrus/">http://lists.andrew.cmu.edu/pipermail/info-cyrus/</a>
To Unsubscribe:
<a href="https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus">https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus</a>


<br></pre><div><br></div>
<div>----<br></div>
<div>Cyrus Home Page: <a href="http://www.cyrusimap.org/">http://www.cyrusimap.org/</a><br></div>
<div>List Archives/Info: <a href="http://lists.andrew.cmu.edu/pipermail/info-cyrus/">http://lists.andrew.cmu.edu/pipermail/info-cyrus/</a><br></div>
<div>To Unsubscribe:<br></div>
<div><a href="https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus">https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus</a><br></div>
</blockquote><div><br></div>
</body>
</html>