Yahoo Groups archive

Milter-greylist

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

Thread

Loosing last dump on RedHat based system when stopping mg

Loosing last dump on RedHat based system when stopping mg

2009-12-11 by attila.bruncsak@itu.int

Hello,

When I stop the mg with "/etc/init.d/milter-greylist stop" command
on my Centos system I never got clean greylist.db dump.
There is always greylist.db-XXXXXX temporary file left over,
and the actual dump is from a previous dump event.

It looks like that the mg requires on my system (actually quiet
performant)
more than the default 3 seconds to finish writing the dump.
(The killproc sends shortly after the TERM signal a KILL
signal to the process)

I wanted to make the delay for the hard stop to be customizable,
so please include the patch attached, may be useful for others.

I changed the default value of the delay to be 5 seconds,
but this can be changed as specifying different value
for the hardstopdelay variable in the /etc/sysconfig/milter-greylist
file.

Bests,
Attila

RE: [milter-greylist] Loosing last dump on RedHat based system when stopping mg

2009-12-11 by attila.bruncsak@itu.int

> > I wanted to make the delay for the hard stop to be customizable,
> > so please include the patch attached, may be useful for others.
> 
> yahoo now strips attachements. We really need to move somewhere else!
> 
> Please send it to manu@... directly.
> 

Yahoogroups does strip it, but it is replacing the attachment with a
URI.
Using this you should still be able to retrieve the attachment(s).

Even better looking, if you go to the mailing list web archive:

http://tech.groups.yahoo.com/group/milter-greylist/message/5392

I think it is quiet fair to do, no possible size limit problem
on the e-mail receiving end.

Bests,
Attila

Re: [milter-greylist] Loosing last dump on RedHat based system when stopping mg

2009-12-11 by Martin X. Moleski, SJ

manu@... wrote:

> yahoo now strips attachements. We really need to move somewhere else!

It is possible that the owner of the group can configure the
list to allow attachments.

If you visit the home page for the group, you will see that
there is a category for "Attachments."  Also one for "Files."

http://tech.groups.yahoo.com/group/milter-greylist/?yguid=1849176

When configured to accept attachments, the attachments go into
the attachments area and a link is placed at the bottom of the
message in question.

I'm not saying that there aren't better mailing list managers;
I'm just trying to point out that while the group is on Yahoo,
there may be a way to set it up to be more satisfactory.

					Marty

Re: [milter-greylist] Loosing last dump on RedHat based system when stopping mg

2009-12-11 by Ralf Gebhart

Hi,

On Fri, Dec 11, 2009 at 04:19:25PM +0100, manu@... wrote:
> <attila.bruncsak@...> wrote:
> 
> > I wanted to make the delay for the hard stop to be customizable,
> > so please include the patch attached, may be useful for others.
> 
> yahoo now strips attachements. We really need to move somewhere else!

I can provide a mailman managed mailinglist if you really want to move
the list.
It's quite comfortable .
There are already about a dozen lists running there, one more doesn't hurt.


-- 
Ralf 'Snake' Gebhart

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.