Greylisting mystery

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
User avatar
ras07
Normal user
Normal user
Posts: 228
Joined: 2010-03-11 08:51

Greylisting mystery

Post by ras07 » 2017-01-07 20:41

Some (considerable) time ago, I was experimenting with greylisting. At the time I determined that it wasn't a good fit for my circumstances, and disabled it - or so I thought.

Today I was looking for something else and happened to click on Greylisting in the Admin console. Lo and behold, Greylisting is enabled. I thought, cool, it's working so transparently, I didn't even know it was on. But then I got to thinking, that can't be.

I searched over a year's worth of logs, and there' s not a single instance of "SENT: 451" in any of them. (I always have SMTP logging on.) I fired up MSSQL and issued

Code: Select all

select count(*) from hm_greylisting_triplets;
and it came up with zero.

Greylisting settings are:

Code: Select all

Minutes to defer delivery attempts: 4
Days before removing unused records: 2
Days before removing used records: 65
Bypass on SPF and Bypass on A or MX record are both checked (but I know I get plenty of incoming connects that fail SPF and don't have DNS records).

The greylist's whitelist appears to be the default config; there's not like a universal wildcard entry that would bypass everything.

I've checked the IP ranges, and they have the Anti-Spam check box checked.

Is there some other setting somewhere that overrides greylisting?

User avatar
jimimaseye
Moderator
Moderator
Posts: 8777
Joined: 2011-09-08 17:48

Re: Greylisting mystery

Post by jimimaseye » 2017-01-07 21:52

Yes. If you look in the DOMAIN-ADVANCED tab of your actual domain, you will see you also have to enable 'greylisting' against the individual domain. If it isnt enabled there then the greylisting function will not apply to that particular domain.

Mind you... if you have been living without greylisting (as it seems you have been), and it hasnt been a problem in doing so, then thats a result. :mrgreen:
5.7 on test.
SpamassassinForWindows 3.4.0 spamd service
AV: Clamwin + Clamd service + sanesecurity defs : https://www.hmailserver.com/forum/viewtopic.php?f=21&t=26829

User avatar
ras07
Normal user
Normal user
Posts: 228
Joined: 2010-03-11 08:51

Re: Greylisting mystery

Post by ras07 » 2017-01-08 06:47

A ha - Makes sense.

Might be worth a mention in the docs at https://www.hmailserver.com/documentati ... reylisting ... I was all over the docs trying to figure this out.

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

Re: Greylisting mystery

Post by mattg » 2017-01-08 10:46

ras07 wrote:Might be worth a mention in the docs at https://www.hmailserver.com/documentati ... reylisting ... I was all over the docs trying to figure this out.
That better?

If not please suggest some wording chnages
Just 'cause I link to a page and say little else doesn't mean I am not being nice.
https://www.hmailserver.com/documentation

User avatar
ras07
Normal user
Normal user
Posts: 228
Joined: 2010-03-11 08:51

Re: Greylisting mystery

Post by ras07 » 2017-01-09 10:09

mattg wrote:That better?
Perfect!

Post Reply