|
From: Lionel B. <lio...@bo...> - 2005-06-14 14:04:32
|
Gianpaolo Del Matto wrote: > >-----BEGIN PGP SIGNED MESSAGE----- >Hash: SHA1 > >Hello Lionel > >I'm implementing SQLGrey into our mail setup. >Whilst doing so, I came across two missing features. > >My proposal is to include the following in sqlgrey.conf: > >#1 change the default PREPEND header value, eg. > > prepend_header = "X-Greylist: " (default) > prepend_header = "X-MyOwn-Header: " (changed) > >Changing the header would allow to show its origin >simply by its name and include it with site local filter >sets. > > >#2 change the default smpt reject reply, eg. > > reject_reply = "Greylisted for %s seconds" (default) > reject_reply = "My own reject message; try again in %s seconds" >(changed) > >These come through the need for custom smtp replies, e.g. >to include a custom URL pointing to our website for further >information. > > >I have not yet started in changing the source code as you >may want to implement this by yourself. >I may, however, supply you with an appropriate patch code >for sqlgrey-1.5.9 if you find this feature valuable and want me to >write it. > > There is an entry in my TODO losely related to this : - make header content user configurable with some predefined macros. _DELAY_ for example. As latest 1.5.x releases are pretty stable, as soon as I find some time, I'll clean up the log parsing tool and release 1.6.0 (I feel a need for a stable version with a database setup adapted to high-throughput servers). Then I'll start the 1.7.x devel branch right away with some features waiting in the pipe. reject_reply and prepend_header configuration would make it into 1.7.x too. Cheers, Lionel. |