Force SA on local delivery

Use this forum if you have installed hMailServer and want to ask a question related to a production release of hMailServer. Before posting, please read the troubleshooting guide. A large part of all reported issues are already described in detail here.
Post Reply
estradis
Normal user
Normal user
Posts: 154
Joined: 2014-09-09 10:47

Force SA on local delivery

Post by estradis » 2018-12-11 13:15

For testing purposes, I want hms to forward any mail to SA, even if only in local delivery.
(Example: john.doe@example.com => jane.doe@example.com, etc.)

Although I have set antispam checking for each IP range, hms does not initiate SA checking for local delivery. Is there a way to force this?

User avatar
mattg
Moderator
Moderator
Posts: 20460
Joined: 2007-06-14 05:12
Location: 'The Outback' Australia

Re: Force SA on local delivery

Post by mattg » 2018-12-11 13:34

don't authenticate

If you authenticate it won't send to SpamAssassin

of course that opens you up to spammers abusing your system too, so be careful

But why do you want to do this? Your spamassassin scores are different to mine, so a pass for your mail, may not pass on my setup?

Or do you really have local users that send spam to other local users?
Just 'cause I link to a page and say little else doesn't mean I am not being nice.
https://www.hmailserver.com/documentation

estradis
Normal user
Normal user
Posts: 154
Joined: 2014-09-09 10:47

Re: Force SA on local delivery

Post by estradis » 2018-12-11 13:42

mattg wrote:
2018-12-11 13:34
don't authenticate

If you authenticate it won't send to SpamAssassin
Uh, didn't expect this. Good to know!
mattg wrote:
2018-12-11 13:34
of course that opens you up to spammers abusing your system too, so be careful

But why do you want to do this? Your spamassassin scores are different to mine, so a pass for your mail, may not pass on my setup?

Or do you really have local users that send spam to other local users?
It's only about developing own SA modules in our testlab, nothing special to hms. No public traffic will ever arrive, so no problem with spammers, except our own of course. :lol:

estradis
Normal user
Normal user
Posts: 154
Joined: 2014-09-09 10:47

Re: Force SA on local delivery

Post by estradis » 2018-12-11 14:09

It works! Thank you!

Now we can start to spam each other ... :twisted:
(in our testlab of course)

Explanation:

We receive a lot of spam, which overlaps thematically with our business. Therefore, we can use some SA rules only for detection purposes, but we had to lower their scores so much that they had become ineffective for spam filtering now. Our goal is to develop a module that allows a much more effective filtering. This module is especially for us and will never be published.

Post Reply