<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p><font face="Arial">Hi,</font></p>
<p><font face="Arial">So, I tried to change mbox to maildir.. that
sounds to be OK for the changes... I can create some folders and
subfolders. The problem is that I cannot see any emails arriving
into my mailbox <br>
</font></p>
<p><font face="Arial">I am using sendmail<br>
</font></p>
<p><font face="Arial">I choose the lmtp service for that and I have
into Dovecot<br>
</font></p>
<p><font face="Arial">Maildir : mail_location =
maildir:/var/spool3/mail/%u:LAYOUT=fs<br>
<br>
</font></p>
<blockquote>
<p><font face="Arial">service lmtp {<br>
unix_listener /var/spool/mail/dovecot-lmtp {<br>
mode = 0600<br>
user = mail<br>
group = mail<br>
}<br>
inet_listener lmtp {<br>
address = ::1, 127.0.0.1<br>
<br>
}<br>
}</font></p>
</blockquote>
<p><font face="Arial"><br>
</font></p>
<p><font face="Arial">into <b>sendmail.mc</b>.. I have : </font><font
face="Arial"><tt><br>
</tt></font></p>
<ul>
<li><font face="Arial"><tt>FEATURE(`local_lmtp',`[IPC]',`FILE
/var/spool/mail/dovecot-lmtp')dnl</tt></font></li>
</ul>
<p><tt><font face="Arial">But if I add : Feature(dovecot) or
Feature( local_lmtp) it doesn't compile..</font></tt></p>
<pre>m4:/etc/mail/sendmail.mc:154: cannot open `/usr/share/sendmail-cf/mailer/dovecot.m4': No such file or directory
</pre>
<p>So, how can explain that any emails coming into /var/spool/mail
has to be sent to Dovecot ??</p>
<p>Thanks and regards</p>
<p><br>
</p>
<div class="moz-cite-prefix">Le 16/07/2021 à 10:44, Aki Tuomi a
écrit :<br>
</div>
<blockquote type="cite"
cite="mid:64635199.2447.1626425076417@appsuite-dev-gw2.open-xchange.com">
<pre class="moz-quote-pre" wrap="">
</pre>
<blockquote type="cite">
<pre class="moz-quote-pre" wrap="">On 16/07/2021 11:41 Stephane Magnier <a class="moz-txt-link-rfc2396E" href="mailto:steph.mag220@netcourrier.com"><steph.mag220@netcourrier.com></a> wrote:
Hi,
Still looking for the way to create folders and sub folders..
Today, I am using "mbox", which apparently doesn't work for this ? correct ?
</pre>
</blockquote>
<pre class="moz-quote-pre" wrap="">
mbox has very limited support for folders.
</pre>
<blockquote type="cite">
<pre class="moz-quote-pre" wrap="">So, I would probably need to use maildir.. ( <a class="moz-txt-link-freetext" href="https://doc.dovecot.org/configuration_manual/mail_location/Maildir/">https://doc.dovecot.org/configuration_manual/mail_location/Maildir/</a> ]
Today, what I am using is :mbox,which is gather all the mailboxes of user 1, user 2 in one folder... like : mbox:/var/spool2/mail/%u
1) I suppose, that If I am using "mbox" with.. : LAYOUT=fs, I won't get these folders and subfolders ? - Correct ?
2) Instead of having : "maildir:~/Maildir " which, I suppose got eachuser folder into their own home directory .. correct ? Can I have : maildir:/var/spool2/mail/%u?
</pre>
</blockquote>
<pre class="moz-quote-pre" wrap="">
yes.
</pre>
<blockquote type="cite">
<pre class="moz-quote-pre" wrap="">( I would prefer to gather all users' mailbox into one folder like /var/spool2/mail/ )
3) if so, mbox:/var/spool2/mail/%u:INBOX=/var/spool/mail/%u => can become : maildir:/var/spool2/mail/%u:LAYOUT=fs:INBOX=/var/spool/mail/%u
</pre>
</blockquote>
<pre class="moz-quote-pre" wrap="">
yes. And while you're doing this, you might as well start using lda or lmtp and drop the INBOX parameter. There is no need to keep INBOX in /var/spool/mail/%u unless your users expect direct access?
</pre>
<blockquote type="cite">
<pre class="moz-quote-pre" wrap="">What do you think ?... before trying and breaking everything :-)... if so, I will be killed
Thanks and regards
</pre>
</blockquote>
<pre class="moz-quote-pre" wrap="">
Aki
</pre>
</blockquote>
</body>
</html>