Yahoo Groups archive

Milter-greylist

Index last updated: 2026-04-28 23:32 UTC

Thread

Reading config data or lists from a second file?

Reading config data or lists from a second file?

2019-02-14 by Jayson Smith

Hi,


What I'm wanting to do is to make Milter-Greylist whitelist anyone who 
has ever sent to a particular Email address, as long as those messages 
are legitimate (not spam). I keep a collection of all legitimate mail 
sent to this address so can easily extract the Email addresses using a 
Python script on the Maildir. However, in a quick read over the 
MilterGreylist configuration file manual, it doesn't look like there's a 
way to insert or include another file, or to construct a {list} from 
addresses in another file. What I was thinking of doing was to have the 
main config file refer to a second file, which would contain a list of 
these addresses to be always whitelisted, and that second file would be 
updated from time to time as new valid Email comes in. Is there a way of 
doing this?


Thanks,


Jayson

RE: [milter-greylist] Reading config data or lists from a second file?

2019-02-15 by Bruncsak, Attila

> Hi,
> 
> 
> What I'm wanting to do is to make Milter-Greylist whitelist anyone who
> has ever sent to a particular Email address, as long as those messages
> are legitimate (not spam). I keep a collection of all legitimate mail
> sent to this address so can easily extract the Email addresses using a
> Python script on the Maildir. However, in a quick read over the
> MilterGreylist configuration file manual, it doesn't look like there's a
> way to insert or include another file, or to construct a {list} from
> addresses in another file. What I was thinking of doing was to have the
> main config file refer to a second file, which would contain a list of
> these addresses to be always whitelisted, and that second file would be
> updated from time to time as new valid Email comes in. Is there a way of
> doing this?
> 
> 
> Thanks,
> 
> 
> Jayson
> 

Hello Jayson,

You can always write the main configuration
file using a script. That is what I am doing;
the current size of my greylist.conf is a bit
more than 57000 lines.

Best,
Attila

Re: [milter-greylist] Reading config data or lists from a second file?

2019-02-15 by manu@...

Jayson Smith jaybird@... [milter-greylist]
<milter-greylist@yahoogroups.com> wrote:

> What I was thinking of doing was to have the 
> main config file refer to a second file, which would contain a list of
> these addresses to be always whitelisted, and that second file would be
> updated from time to time as new valid Email comes in. Is there a way of
> doing this?

There is no include mechanism, but as Attila pointed, you can generate
the config file automatically.

There are also features to query a web service or a LDAP directory in
real time. 

-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu@...

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.