greylist_delay configurable

strehi

Member
Jan 7, 2021
21
3
8
Karlsruhe
Hi,

is it possible to make $greylist_delay in pmgpolicy configurable? I think 3 min is too short.
So it would be nice, to configure that.

TIA
Bernd
 
Currently this is hardcoded - and currently I don't see a situation where making this configurable would help:
* Greylisting is meant to catch spam, that is sent by a one-shot script instead of being queued on a SMTP server for delivery - these scripts try to send the mail only once, and don't bother retrying on seeing a 4xx temp-fail code
* Greylisting will not help to catch spam, which somehow was queued on a smtp-server (if for example the spammers are using postfix/exim/exchange for sending spam)
* Do you have an example of a spam-mail, which got retried after a few minutes, but would not have been retried after say 1h?
 
Currently this is hardcoded - and currently I don't see a situation where making this configurable would help:
* Greylisting is meant to catch spam, that is sent by a one-shot script instead of being queued on a SMTP server for delivery - these scripts try to send the mail only once, and don't bother retrying on seeing a 4xx temp-fail code
* Greylisting will not help to catch spam, which somehow was queued on a smtp-server (if for example the spammers are using postfix/exim/exchange for sending spam)
* Do you have an example of a spam-mail, which got retried after a few minutes, but would not have been retried after say 1h?

In my old setup I was at 10 min for the greylist delay. Over the last month there:

[....]
Of 144060 items that were initially greylisted:
- 40160 ( 27.9%) became whitelisted
- 103900 ( 72.1%) expired from the greylist

With three min on the pmg it is down to 25% not passed and 75% passed. Not sure
why, but I'm starting to investigate. Next I'll try with hardcoded 10 min.

Bye
Bernd
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!