Yahoo Groups archive

Milter-greylist

Index last updated: 2026-04-13 23:57 UTC

Message

Re: syncing autowhitelisted entries between mx-hosts

2004-10-12 by Klas Heggemann

Emmanuel Dreyfus:

> On Mon, Oct 11, 2004 at 03:21:03PM +0200, Klas Heggemann wrote:
>> So far I've identified a few things that can be considered as small
>> glitches.
> (snip)
>
>> A config file that can be  shared between the mx-hosts, i e you
>> would be permitted to have a 'peer'-line that includes
>> the machine on which the milter is running. This would be detected
>> at startup and no sync information should be sent that way.
>
> Could you test the following patch?
> ftp://ftp.espci.fr/shadow/manu/local.patch

To which release is this? We run 1.5.3 and it does not seem to
apply to this version.


>
> It should mark a local peer as such and avoind sending sync information
> to it. I wrote it quickly from Mathias suggestion, but I have not 
> tested it
> at all.
>
> If it works, I'll commit it.
>

In order to get the database saved when the process gets killed, I've
added a few lines to catch SIGTERM (which the start/stop-script sends)
and call exit (which dumps the database via onexit()). You can take
a look at it here:

	ftp://ftp.nada.kth.se/Sysgr/milter.signal.patch

Only tested on Solaris 9....


>
>
> -- 
> Emmanuel Dreyfus
> manu@...
>


/klas

Attachments

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.