[users] postgrey configuration file
hvdkooij at vanderkooij.org
hvdkooij at vanderkooij.org
Tue Oct 16 12:42:41 CEST 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Tomáš Lašťovička wrote:
> Hello,
> I have installed postgrey and I have realized that there is no config file,
> variable $OPTIONS in /etc/init.d/postgrey is used instead.
>
> I think that much cleaner way to do this is to add /etc/sysconfig/postgrey and
> include it from /etc/init.d/postgrey via
> [ -r /etc/sysconfig/postgrey ] && . /etc/sysconfig/postgrey
>
> Variable $OPTIONS can then be included from /etc/sysconfig/postgrey which is -
> at least for me - much more convenient solution. Is it possible to change
> this behavior in future builds of postgrey in RPMForge?
Well. Many init scripts just use the $OPTIONS. It works for them.
I would recommend to check if a config file exists. If there is no
/etc/sysconfig/postgrey file then use the default options.
I think that would allow for usable default options and still allow one
to thinker with the options at one's leisure.
Hugo.
- --
hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/
Don't meddle in the affairs of sysadmins,
for they are subtle and quick to anger.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
iD8DBQFHFJWfBvzDRVjxmYERAmKpAJ0aNnUGxYyUee9Zoi2ijwgCHBn/rACgoTMr
516qMKNNlgAMxoH6EDavNsM=
=q9L2
-----END PGP SIGNATURE-----
More information about the users
mailing list