1 (edited by Shnoulle 2021-01-18 23:40:53)

Topic: [fixed] managesieve : allow external connexion

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.3.2 OPENLDAP edition
- Deployed with iRedMail Easy or the downloadable installer? downloadable
- Linux/BSD distribution name and version: deboian buster (10)
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? iRedAdmin-Pro
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue. No way to connect to managesieve
====

Sieve is great, allowing to edit via roundcube is great,
But i want to use this thunderbid extension (source code on github : https://github.com/thsmi/sieve/)

But i didn't find the good way, unsure i make the good update

1st step : add 4190 in nftables

        # manage sieve
        tcp dport 4190 accept

Try to log : nothing happen, wait wiat …

Then : i update

/etc/dovecot/conf.d/20-managesieve.conf 
protocols = $protocols sieve


service managesieve-login {
  inet_listener sieve {
    port = 4190
  }
}

service managesieve {

}


protocol sieve {

}

I remove the comments lines here,
I try different combination …
Nothing work
On the server log /var/log/dovecot/sieve.log : no action shown


In the client log

[17:38:22.883 account56] Connecting to mail.example.net:4190 ...
[17:38:22.883 account56] Using Proxy: Direct
[17:38:22.883 account56] Connected to mail.example.net:4190 ...
[17:38:22.884 account56] Disconnected from  mail.example.net:4190 with status 2152398861
[17:38:22.884 account56] Checking for certificate errors..

And i have one question : why not enable managesieve by external tool by default ?

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: [fixed] managesieve : allow external connexion

Got it !

/etc/dovecot/conf.d/*.conf  are not used.

Then edit
/etc/dovecot/dovecot.conf and

service managesieve-login {
    inet_listener sieve {
        # Listen on localhost (ipv4)
        # address = 127.0.0.1 # Update from iredmail core
        port = 4190
    }
}

Thank you !