On 28/04/2021 08:42, Dan Egli wrote:
Hi folks. I'm VERY new to Dovecot and Sieve. But I'm having an issue
that I need help with. For some reason my sieve daemon won't allow
people to log on. I have dovecot set to read information from a MySQL
table, and that works fine. I can login to dovecot's imap server just
fine. But I have SOGo for the webmail and it won't login to the sieve
daemon. Here's what I see in the log files when I, for example, try to
save my preferences in SOGo:
==> info.log <==
Apr 28 00:33:14 lmtp(5938): Info: Connect from 127.0.0.1
==> /var/log/sogo/sogod.log <==
Apr 28 00:33:14 sogod [24168]: <0x0x557cfa9083c0[SOGoSieveManager]>
failure. Attempting with a renewed password (no authname supported)
Apr 28 00:33:14 sogod [24168]: <0x0x557cfa9083c0[SOGoSieveManager]>
Could not login 'd...@newideatest.site' on Sieve server:
<0x0x557cfaa03a70[NGSieveClient]:
socket=<NGActiveSocket[0x0x557cfa89d540]: mode=rw
address=<0x0x557cfa89d5d0[NGInternetSocketAddress]: host=localhost
port=45456> connectedTo=<0x0x557cfa837c00[NGInternetSocketAddress]:
host=127.0.0.1 port=4190>>>: {RawResponse = "{}"; result = 0; }
==> info.log <==
Apr 28 00:33:14 lmtp(5938): Info: Disconnect from 127.0.0.1: Remote
closed connection unexpectedly (state=READY)
==> /var/log/sogo/sogod.log <==
Apr 28 00:33:14 sogod [24168]: 2600:387:8:7::70 "POST
/SOGo/so/d...@newideatest.site/Preferences/save HTTP/1.1" 503 46/3676
0.024 - - 0 - 17
I've read a lot of pages about getting sieve running, but they show
things I don't get. For example, from
https://rtcamp.com/tutorials/mail/server/sieve-filtering/ I see that
telnet localhost 4190 should give this:
Escape character is '^]'.
*"IMPLEMENTATION" "Dovecot Pigeonhole" "SIEVE" "fileinto reject
envelope encoded-character vacation subaddress
comparator-i;ascii-numeric relational regex imap4flags copy include
variables body enotify environment mailbox date ihave" *"NOTIFY" "mailto"
"SASL" "PLAIN LOGIN"
"STARTTLS"
"VERSION" "1.0"
OK "Dovecot ready."
But I don't see any of that.
Escape character is '^]'.
220 jupiter.newideatest.site Dovecot ready.
That is not ManageSieve. That is LMTP or Submission. Your logs tell me
it is lmtp.
https://wiki.dovecot.org/Pigeonhole/ManageSieve/Configuration
I've gotten to the point where I'm pulling my hair out. I don't understand
dovecot well enough to even begin to guess what's going on. So I could REALLY
use some pointers.
It would help if you could show us your config (output from `dovecot -n`).
Regards,
Stephan.