I get the following error when I try to activate sieve from the SnappyMail admin panel:
stream_socket_client(): Unable to connect to tcp://localhost:4190 (Connection refused)
This port is allowed by the firewall, but I don’t know why this is happening and I need to set up filters to redirect spam to the spam folder.
Troop
April 2, 2025, 3:47pm
2
When you run “netstat -tunlp | grep :4190” , what is the output? The output should resemble step 3 in the instructions for setting up sieve found here: Filtering Spam in RainLoop, AutoReply and Email Filters with Sieve
Troop
April 2, 2025, 5:06pm
4
Since it’s not returning anything, that tells me your server does not have any services listening on that port. I would go through the steps in the page I referenced earlier to ensure you have everything configured properly if it’s applicable to your setup environment.
I did it! I forgot to add the following line:
protocols = imap pop3 lmtp sieve
Now it’s working, I’ll continue configuring.
Troop
April 2, 2025, 5:09pm
6
Awesome! Glad you figured it out!
Only now has a new error occurred. When I go to filter to add the script. An error appears:
ERROR 352
Do you know how to solve it?
Troop
April 2, 2025, 5:21pm
8
I’m afraid I’m not familiar with that error. A search revealed the following post on GitHub: Error 352 when getting Filters · Issue #1455 · the-djmaze/snappymail · GitHub
Not sure if it will help you or not.
1 Like
system
Closed
April 2, 2025, 8:21pm
9
This topic was automatically closed 3 hours after the last reply. New replies are no longer allowed.