Koozali.org: home of the SME Server

Email Whitelist-Blacklist Control

Offline Fumetto

  • *
  • 874
  • +1/-0
Email Whitelist-Blacklist Control
« on: November 04, 2021, 06:20:39 PM »
In relation to the contrib in question, have some doubts. Can it be used in production?
It is not in the list of supported contrib on 10 (and not even on 9) ...
But there is the page on the wiki ... but with a open bug (actually on 10rc) that talks about MULTIPLE_RPM_OWNERS.

Now ... if I understand correctly, the contrib may "interfere" with the normal functioning of the SME.

I would like to use it to block, from a panel manager (Black Lists: REJECT), the arrival of "persistent" spam from certain IPs ...

At what point is it? It can be used? If still "buggy" Can I help out? Like?

Offline ReetP

  • *
  • 3,722
  • +5/-0
Re: Email Whitelist-Blacklist Control
« Reply #1 on: November 04, 2021, 06:34:48 PM »
Now ... if I understand correctly, the contrib may "interfere" with the normal functioning of the SME.
At what point is it? It can be used? If still "buggy" Can I help out? Like?

Nope it is released. The instructions do not mention dev or test.

Quote
The latest version of smeserver-wbl is available in the SME repository, click on the version number(s) for more information.

However, like any software there may be bugs or other issues. It is the nature of the beast.

As a member of the community it is *your* software and *your* problem as just much as anyone else. So please, get a test machine and test the software and look at the bugs. Help us confirm/verify them. Satisfy yourself that you can use it on your server.

Talk to the devs and see how you can help - you do NOT have to be a coder to help us.

Thanks.
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline Fumetto

  • *
  • 874
  • +1/-0
Re: Email Whitelist-Blacklist Control
« Reply #2 on: November 04, 2021, 06:48:43 PM »
Ok. So I have to "just" make sure it works and to do that I have to check /var/log/qpsmtpd/current until I find a line with the offending IP and "see" if it is correctly "trashed" (dispatching EHLO ....). Correct?

Offline ReetP

  • *
  • 3,722
  • +5/-0
Re: Email Whitelist-Blacklist Control
« Reply #3 on: November 04, 2021, 07:09:53 PM »
Ok. So I have to "just" make sure it works and to do that I have to check /var/log/qpsmtpd/current until I find a line with the offending IP and "see" if it is correctly "trashed" (dispatching EHLO ....). Correct?

Yes I would keep a watch on the mail logs and see what comes and goes.

Check the bugs.
11678 is not a blocker - a RPM annoyance we need to fix
10472 - a NFR
10117 - a NFR
9276 - might be part done - worth a look and comment - may want moving to v10 but not sure where it is at.
9275 - might be fixed? Please test/check
4664 - move to future.....

You can see all related bugs here - needs a bit of search wrangling to do this sort of thing. Practice.....

https://bugs.koozali.org/buglist.cgi?bug_status=UNCONFIRMED&bug_status=CONFIRMED&bug_status=NEEDINFO&bug_status=IN_PROGRESS&bug_status=RESOLVED&bug_status=VERIFIED&bug_status=CLOSED&component=smeserver-wbl&list_id=96012&product=SME%20Contribs&query_format=advanced

Ask me for a Rocket account and come and talk to us if you want to test. We can help.
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline TerryF

  • grumpy old man
  • *
  • 1,821
  • +6/-0
Re: Email Whitelist-Blacklist Control
« Reply #4 on: November 04, 2021, 09:43:58 PM »
This bug https://bugs.koozali.org/show_bug.cgi?id=11687 was the main issue, James Walsh doing some dirty work to help it through :-)
--
qui scribit bis legit

Offline Fumetto

  • *
  • 874
  • +1/-0
Re: Email Whitelist-Blacklist Control
« Reply #5 on: November 05, 2021, 12:55:13 PM »
Think I can help for 11687 and the others, i will do a couple of tests this weekend and update the bugs.

Offline ReetP

  • *
  • 3,722
  • +5/-0
Re: Email Whitelist-Blacklist Control
« Reply #6 on: November 05, 2021, 02:50:00 PM »
Think I can help for 11687 and the others, i will do a couple of tests this weekend and update the bugs.

Fab. Ask if you need help.
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline Fumetto

  • *
  • 874
  • +1/-0
Re: Email Whitelist-Blacklist Control
« Reply #7 on: November 05, 2021, 10:54:49 PM »
I did some testing. And I think I did some "bullshit", because I gave a useless "signal-event email-update" since bug 11687 is "Status: CLOSED FIXED".

But ... I discovered that if I blacklist the server IP it doesn't work, if I put the host name the mail is correctly "trashed".

Quote from: With IP in Blacklist qpsmtpd badhelo
2021-11-05 22:23:02.552956500 17480 dispatching EHLO hostingweb67-116.smarthostingprovider.net
2021-11-05 22:23:02.609705500 17480 (ehlo) helo: pass
2021-11-05 22:23:02.610746500 17480 250-my_sme.it Hi hostingweb67-116.smarthostingprovider.net [89.xx.xx.116]
Quote from: =With hostname in Blacklist qpsmtpd badhelo
2021-11-05 22:25:50.878341500 17647 dispatching EHLO hostingweb67-116.smarthostingprovider.net
2021-11-05 22:25:50.879624500 17647 (ehlo) helo: karma -1 (-1)
2021-11-05 22:25:50.879650500 17647 (ehlo) helo: fail, NAUGHTY, in badhelo
2021-11-05 22:25:50.880641500 17647 250-my_sme.it Hi hostingweb67-116.smarthostingprovider.net [89.xx.xx.116]
...
2021-11-05 22:25:51.245320500 17647 550 (helo) I do not believe you are hostingweb67-116.smarthostingprovider.net.
2021-11-05 22:25:51.245604500 17647 click, disconnecting

So the wording in the wiki page  "Alternatively you may use the ip address." is wrong. Need hostname (or I found another bug).

...and an email was received by the sending server...
Quote from: Mail delivery failed: returning message to sender
This message was created automatically by mail delivery software.

A message that you sent could not be delivered to one or more of its recipients. This is a permanent error. The following address(es) failed:

  admin@sending_sme.it
    host server.sending_sme.it [79.xx.xx.129]
    SMTP error from remote mail server after pipelined MAIL FROM:<admin@sending_sme.it> SIZE=4939:
    550-(helo) I do not believe you are hostingweb67-116.smarthostingprovider.net.
    550 (helo) I do not believe you are hostingweb67-116.smarthostingprovider.net.
« Last Edit: November 05, 2021, 11:17:00 PM by Fumetto »

Offline TerryF

  • grumpy old man
  • *
  • 1,821
  • +6/-0
Re: Email Whitelist-Blacklist Control
« Reply #8 on: November 05, 2021, 11:41:59 PM »
I did some testing. And I think I did some "bullshit", because I gave a useless "signal-event email-update" since bug 11687 is "Status: CLOSED FIXED".

But ... I discovered that if I blacklist the server IP it doesn't work, if I put the host name the mail is correctly "trashed".

So the wording in the wiki page  "Alternatively you may use the ip address." is wrong. Need hostname (or I found another bug).

...and an email was received by the sending server...

Lodge a new bug, better to document something than have it slip into the mist and be forgotton about..good work
--
qui scribit bis legit

Offline Fumetto

  • *
  • 874
  • +1/-0
Re: Email Whitelist-Blacklist Control
« Reply #9 on: November 05, 2021, 11:50:21 PM »
This is the second time since the release of SME10 that I start "playing" with SME as I did when I started (from version 7.4 if I remember correctly) and it is the second "bug" that I find (not a major bug in my opinion, actually wrong documentation) ... I guess I have to "play" more often ... and I think need an account on Rocketchat ... I'm not a coder but, as a bug finder I have no rivals ... :-D .
« Last Edit: November 05, 2021, 11:54:01 PM by Fumetto »

Offline ReetP

  • *
  • 3,722
  • +5/-0
Re: Email Whitelist-Blacklist Control
« Reply #10 on: November 06, 2021, 12:28:24 AM »
First, document carefully exactly what you did to create the issue so others can try to duplicate & find it.

"I set IP address in box X
I ran email-update
I observed Y"

Then message me here your real name and an email adress for notifications and I'll set up an account for you.

It's my work test server so I don't allow general access to keep the spam down!
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline ReetP

  • *
  • 3,722
  • +5/-0
Re: Email Whitelist-Blacklist Control
« Reply #11 on: November 06, 2021, 12:28:51 AM »
PS well done and thanks for helping!!
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline Fumetto

  • *
  • 874
  • +1/-0
Re: Email Whitelist-Blacklist Control
« Reply #12 on: November 06, 2021, 12:59:02 AM »
First, document carefully exactly what you did to create the issue so others can try to duplicate & find it.
Done

Offline TerryF

  • grumpy old man
  • *
  • 1,821
  • +6/-0
Re: Email Whitelist-Blacklist Control
« Reply #13 on: November 06, 2021, 01:00:22 AM »
This is the second time since the release of SME10 that I start "playing" with SME as I did when I started (from version 7.4 if I remember correctly) and it is the second "bug" that I find (not a major bug in my opinion, actually wrong documentation) ... I guess I have to "play" more often ... and I think need an account on Rocketchat ... I'm not a coder but, as a bug finder I have no rivals ... :-D .

always fun, always learning, keep poking the dragon with the blunt stick :-)
--
qui scribit bis legit

Offline ReetP

  • *
  • 3,722
  • +5/-0
Re: Email Whitelist-Blacklist Control
« Reply #14 on: November 06, 2021, 12:56:18 PM »
Done

Just moved it to the correct section as it is a SME Contribs issue with the smeserver-wbl contribution :-)
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation