<!doctype html>
<html>
<head>
<meta charset="UTF-8">
</head>
<body>
<div>
<br>
</div>
<blockquote type="cite">
<div>
On 30/03/2020 19:39 Roy Lemmon <roy@roylemmon.com> wrote:
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div dir="ltr">
<div>
Hi,
</div>
<div>
<br>
</div>
<div>
I am trying to setup a dovecot server on my laptop to serve my emails to emacs gnus. The emails are pulled from the mail server using isync into particular directories. I am using a Guix system.
</div>
<div>
<br>
</div>
<div>
The dovecot service is running. I can telnet into it with:
</div>
<div>
<br>
</div>
<div>
telnet localhost 143
</div>
<div>
Trying 127.0.0.1...
<br>Connected to localhost.
<br>Escape character is '^]'.
<br>* OK [CAPABILITY IMAP4rev1 SASL-IR LOGIN-REFERRALS ID ENABLE IDLE LITERAL+ STARTTLS AUTH=PLAIN] Dovecot ready.
</div>
<div>
<br>
</div>
<div>
However if I then do:
</div>
<div>
<br>
</div>
<div>
b select inbox
</div>
<div>
b BAD Error in IMAP command received by server
</div>
<div>
<br>
</div>
<div>
I have not logged in as I have not set any username or password. I assumed that access was open on localhost. Is this not correct ?
</div>
<div>
<br>
</div>
<div>
I am not sure how to check further. I have checked the configuration and it is pointing to my email directories, imap is enabled etc.
</div>
<div>
<br>
</div>
<div>
Thanks
</div>
<div>
Roy.
<br>
</div>
<div>
<br>
</div>
</div>
</blockquote>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
Hi!
</div>
<div>
<br>
</div>
<div>
You can use ANONYMOUS mechanism if you want to allow public access. Clients might get confused with no authentication at all.
</div>
<div>
<br>
</div>
<div>
But even then you need some user to access as
</div>
<div>
<br>
</div>
<div>
See
<a href="https://doc.dovecot.org/configuration_manual/authentication/authentication_mechanisms/">https://doc.dovecot.org/configuration_manual/authentication/authentication_mechanisms/ </a>
</div>
<div>
<br>
</div>
<div>
and
</div>
<div>
<br>
</div>
<div>
<a href="https://doc.dovecot.org/settings/core/#auth-anonymous-username">https://doc.dovecot.org/settings/core/#auth-anonymous-username</a>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div class="io-ox-signature">
<pre>---
Aki Tuomi</pre>
</div>
</body>
</html>