<div dir="ltr"><div class="gmail_default" style="font-family:monospace,monospace">Hi N<span style="font-family:Arial,Helvetica,sans-serif">iels</span></div><div class="gmail_default" style="font-family:monospace,monospace"><span style="font-family:Arial,Helvetica,sans-serif"><br></span></div><div class="gmail_default" style="font-family:monospace,monospace"><span style="font-family:Arial,Helvetica,sans-serif">Thank you very much for looking into this. </span></div><div class="gmail_default" style="font-family:monospace,monospace"><span style="font-family:Arial,Helvetica,sans-serif"><br></span></div><div class="gmail_default" style="font-family:monospace,monospace"><span style="font-family:Arial,Helvetica,sans-serif">Initially, I would like to get this working like I got in a real CentOS 8. I have here a virtual machine where I did the same steps I did in Dockerfile. But in VM I start services "<b>systemctl start cyrus-imapd</b>" and "<b>systemctl start saslauthd</b>" and basic login works out of the box. I could telnet on port 143 and "<b>. login cyrus cyrus</b>". That is not happening on Docker.</span></div><div class="gmail_default" style="font-family:monospace,monospace"><span style="font-family:Arial,Helvetica,sans-serif"><br></span></div><div class="gmail_default" style="">I hope other people using the image can write their own config and mount inside the container to achieve their needs. The plan is to have some kubernetes recipes I can repeat whenever we get a new client wondering to have an email service. Actually I'm testing it on DO, but using kubernetes should be simple to move to AWS, Linode or any other kubernetes hosting.</div><div class="gmail_default" style=""><br></div><div class="gmail_default" style="">Thank you</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Em qua., 15 de jan. de 2020 às 06:22, Niels Dettenbach via Info-cyrus <<a href="mailto:info-cyrus@lists.andrew.cmu.edu">info-cyrus@lists.andrew.cmu.edu</a>> escreveu:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Am Dienstag, 14. Januar 2020, 16:47:52 CET schrieb Fabio Montefuscolo:<br>
> I'm trying to build a simple docker image based on CentOS 8, which brings<br>
> cyrus-imapd 3.0.7. I'm having troubles to authenticate on cyrus imap<br>
> service for unknown reasons. There is no syslog facility working inside<br>
> the centos image, so I don't have logs. The final idea is deploy this<br>
> image in a kubernetes cluster. The Dockerfile I'm using is<br>
> <a href="https://github.com/fabiomontefuscolo/docker-cyrusimapd" rel="noreferrer" target="_blank">https://github.com/fabiomontefuscolo/docker-cyrusimapd</a><br>
> <br>
> When I jump into console and try to use cyradm, I get 2 password fields to<br>
> fulfill and at the ent, that doesn't work<br>
<br>
<br>
as far as i can read in that dockerfile on a first view, it does only install <br>
dependencies and "activating" SSL/TLS, but lacks any kind of further required <br>
configuration for cyrus auth etc.<br>
<br>
the flexibility and complexity of cyrus installations are not easy to <br>
"capsule" into a docker file or reciept for a "common usage".<br>
<br>
depending on what kind of authentication subsystem (i.e. mysql, pam, ldap, <br>
pam_mysql, sasl, saslauthd (with pam or other "backend") you want to use or <br>
even active AD or others you have to configure that by hand (or extend that <br>
docker file).<br>
<br>
a typical "easy" way is using saslauthd with -s pam to "simply" use pam <br>
authentication.<br>
<br>
<br>
hth,<br>
<br>
<br>
<br>
niels.<br>
<br>
<br>
-- <br>
---<br>
Niels Dettenbach<br>
Syndicat IT & Internet<br>
<a href="http://www.syndicat.com" rel="noreferrer" target="_blank">http://www.syndicat.com</a><br>
PGP: <a href="https://syndicat.com/pub_key.asc" rel="noreferrer" target="_blank">https://syndicat.com/pub_key.asc</a><br>
---<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
----<br>
Cyrus Home Page: <a href="http://www.cyrusimap.org/" rel="noreferrer" target="_blank">http://www.cyrusimap.org/</a><br>
List Archives/Info: <a href="http://lists.andrew.cmu.edu/pipermail/info-cyrus/" rel="noreferrer" target="_blank">http://lists.andrew.cmu.edu/pipermail/info-cyrus/</a><br>
To Unsubscribe:<br>
<a href="https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus" rel="noreferrer" target="_blank">https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus</a><br>
</blockquote></div>