Yahoo Groups archive

Milter-greylist

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

Message

Re: [milter-greylist] [PATCH] support normal user 'make install'

2009-09-07 by manu@netbsd.org

Kouhei Sutou <kou@...> wrote:

> > Would it be worth looking for an existing
> > /etc/mail/greylist.conf file in the configuration run?
> > That way NEW installs would be 'a better practice'?
> 
> It seems good for me.
> 
> Emmanuel, what do you think about it?

You'd look for /etc/mail/greylist.conf, use it if found, or use
$(sysconfdir)/mail/greylist.conf otherwhise? It will break on setups
where you build on a different machine than the one you actually run the
software on (binary packages), but you can take care of that by a run
time test instead of a configure test

configure would use $(DESTDIR)$(sysconfdir)/mail/greylist.conf, and in
milter-geylist.c, we would check for a $(DESTDIR)/etc/mail/greylist.conf
and useit if found (with an annoying warning)

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

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.