This should work on all RHEL 8 clones.

Does you manage sieve work? :

# telnet localhost 4190
Trying ::1...
Connected to localhost.
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 index ihave duplicate mime foreverypart extracttext"
"NOTIFY" "mailto"
"SASL" "PLAIN LOGIN"
"STARTTLS"
"VERSION" "1.0"
OK "Dovecot toaster ready."


Eric

On 5/24/2021 10:30 AM, Remo Mattei wrote:
Thanks Eric,
I will check Springdale Linux and see.



On May 24, 2021, at 9:23 AM, Eric Broch <[email protected] <mailto:[email protected]>> wrote:

Hi Remo,

I followed the instructions on the site and all worked well on Springdale Linux 8, here's my log (1 email):

# cat  /var/log/dovecot-lda/dovecot-lda.log
May 24 10:17:26 lda([email protected])<219234><TFD3D5bRq2BiWAMAcPXZbw>: Info: sieve: From:<[email protected]>-<MAILER-DAEMON> :: Subject:<test Mon, 24 May 2021 10:17:23 -0600> :: Status:<stored mail into mailbox 'INBOX'> :: MsgID:<<[email protected]>> :: Size<1831> :: vSize<1880>

Eric

On 5/22/2021 10:13 PM, Eric Broch wrote:

I'll try it on my test machine tomorrow or monday.

On 5/22/2021 8:41 PM, Remo Mattei wrote:
Hi all,
So just wanted to check, I have installed CentOS 8 and I have the same issues. If anyone else has installed it can they share the config options?

Thanks
Remo

On May 19, 2021, at 12:57 PM, Remo Mattei <[email protected] <mailto:[email protected]>> wrote:

Hi Eric,
Here is my local

mail_location = maildir:~/Maildir
protocols = $protocols sieve
plugin {
      sieve = ~/.dovecot.sieve
      sieve_dir = ~/.sieve
}
service managesieve-login {
      inet_listener sieve {
      port = 4190
      }
}
protocol lda {
      deliver_log_format = From:<%f>-<%e> :: Subject:<%s> :: Status:<%$> :: MsgID:<%m> :: Size<%p> :: vSize<%w>
      log_path = /var/log/dovecot-lda/dovecot-lda-errors.log
      info_log_path = /var/log/dovecot-lda/dovecot-lda.log
      mail_debug = yes
      mail_plugins = "sieve"
     }

And yes tried diff options, and firewall is good but still nothing very strange.

Thanks

On May 19, 2021, at 12:53 PM, Eric Broch <[email protected] <mailto:[email protected]>> wrote:

Remo,

You got all this? :

 1. mail_location = maildir:~/Maildir
 2. protocols = $protocols sieve
3.
    plugin {
           sieve = ~/.dovecot.sieve
           sieve_dir = ~/.sieve
    }
4.
    service managesieve-login {
           inet_listener sieve {
           port = 4190
           }
    }
5.
    protocol lda {
           mail_plugins = $mail_plugins sieve
           .
           .
           .
    }

systemctl restart dovecot

firewall-cmd --permanent --add-port=4190/tcp

firewall-cmd --reload

Eric

On 5/19/2021 11:01 AM, Remo Mattei wrote:
Hi guys, I am building this on Rocky but I wonder if anyone has tried this on CentOS 8.

http://www.qmailtoaster.net/dovecot-lda-sieve.html <http://www.qmailtoaster.net/dovecot-lda-sieve.html>

I tried, and I have not debug it yet but the 4190 port does not listen even after the config applied.

[root@rocky rm]# ss -natp
State   Recv-Q  Send-Q     Local Address:Port       Peer Address:Port LISTEN  0   20 0.0.0.0:465 0.0.0.0:* users:(("tcpserver",pid=875,fd=3)) LISTEN  0   10 127.0.0.1:53  0.0.0.0:* users:(("named",pid=998,fd=21))
LISTEN  0   128  0.0.0.0:22  0.0.0.0:* users:(("sshd",pid=961,fd=5))
LISTEN  0   128  127.0.0.1:953 0.0.0.0:* users:(("named",pid=998,fd=23)) LISTEN  0   20 0.0.0.0:25  0.0.0.0:* users:(("tcpserver",pid=874,fd=3)) LISTEN  0   100  0.0.0.0:993 0.0.0.0:* users:(("dovecot",pid=25194,fd=42)) LISTEN  0   100  0.0.0.0:995 0.0.0.0:* users:(("dovecot",pid=25194,fd=25)) LISTEN  0   20 0.0.0.0:587 0.0.0.0:* users:(("tcpserver",pid=871,fd=3)) LISTEN  0   100  0.0.0.0:110 0.0.0.0:* users:(("dovecot",pid=25194,fd=23)) LISTEN  0   100  0.0.0.0:143 0.0.0.0:* users:(("dovecot",pid=25194,fd=40)) LISTEN  0   128  127.0.0.1:783 0.0.0.0:* users:(("spamd child",pid=1733,fd=6),("spamd child",pid=1731,fd=6),("spamd",pid=960,fd=6)) ESTAB   0   0  208.53.44.250:22 172.10.163.251:57058 users:(("sshd",pid=25091,fd=5),("sshd",pid=25076,fd=5))
LISTEN  0   10 [::1]:53 [::]:* users:(("named",pid=998,fd=22))
LISTEN  0   128 [::]:22 [::]:* users:(("sshd",pid=961,fd=7))
LISTEN  0   128  [::1]:953  [::]:* users:(("named",pid=998,fd=24))
LISTEN  0   128  *:443 *:* users:(("httpd",pid=2573,fd=8),("httpd",pid=1145,fd=8),("httpd",pid=1142,fd=8),("httpd",pid=1139,fd=8),("httpd",pid=1081,fd=8))
LISTEN  0   100 [::]:993  [::]:* users:(("dovecot",pid=25194,fd=43))
LISTEN  0   100 [::]:995  [::]:* users:(("dovecot",pid=25194,fd=26))
LISTEN  0   80 *:3306  *:* users:(("mysqld",pid=1078,fd=40))
LISTEN  0   100 [::]:110  [::]:* users:(("dovecot",pid=25194,fd=24))
LISTEN  0   100 [::]:143  [::]:* users:(("dovecot",pid=25194,fd=41))
LISTEN  0   128  [::1]:783  [::]:* users:(("spamd child",pid=1733,fd=5),("spamd child",pid=1731,fd=5),("spamd",pid=960,fd=5)) LISTEN  0   128  *:80  *:* users:(("httpd",pid=2573,fd=4),("httpd",pid=1145,fd=4),("httpd",pid=1142,fd=4),("httpd",pid=1139,fd=4),("httpd",pid=1081,fd=4))
[root@rocky rm]#

Any suggestions are welcomed.

Thanks



Reply via email to